layout/style/test/css_properties_like_longhand.js

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 var gShorthandPropertiesLikeLonghand = [
     2 	{ name: "-moz-margin-end", prop: "MozMarginEnd"},
     3 	{ name: "margin-left", prop: "marginLeft"},
     4 	{ name: "margin-right", prop: "marginRight"},
     5 	{ name: "-moz-margin-start", prop: "MozMarginStart"},
     6 	{ name: "overflow", prop: "overflow"},
     7 	{ name: "-moz-padding-end", prop: "MozPaddingEnd"},
     8 	{ name: "padding-left", prop: "paddingLeft"},
     9 	{ name: "padding-right", prop: "paddingRight"},
    10 	{ name: "-moz-padding-start", prop: "MozPaddingStart"},
    11 ];

mercurial