Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam

This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
This commit is contained in:
L. David Baron
2016-05-14 00:00:18 -07:00
parent 139de4dc2a
commit 38d7232f8e
33 changed files with 84 additions and 84 deletions

View File

@@ -359,7 +359,7 @@
<grid> <grid>
<columns> <columns>
<column/> <column/>
<column flex="1" style="-moz-margin-end: 2px"/> <column flex="1" style="margin-inline-end: 2px"/>
</columns> </columns>
<rows> <rows>
<row align="center"> <row align="center">

View File

@@ -303,7 +303,7 @@
this.moveTabTo(aTab, this._numPinnedTabs - 1); this.moveTabTo(aTab, this._numPinnedTabs - 1);
aTab.removeAttribute("pinned"); aTab.removeAttribute("pinned");
aTab.style.MozMarginStart = ""; aTab.style.marginInlineStart = "";
this.tabContainer._unlockTabSizing(); this.tabContainer._unlockTabSizing();
this.tabContainer._positionPinnedTabs(); this.tabContainer._positionPinnedTabs();
this.tabContainer.adjustTabstrip(); this.tabContainer.adjustTabstrip();
@@ -5221,20 +5221,20 @@
for (let i = numPinned - 1; i >= 0; i--) { for (let i = numPinned - 1; i >= 0; i--) {
let tab = this.childNodes[i]; let tab = this.childNodes[i];
width += tab.getBoundingClientRect().width; width += tab.getBoundingClientRect().width;
tab.style.MozMarginStart = - (width + scrollButtonWidth + paddingStart) + "px"; tab.style.marginInlineStart = - (width + scrollButtonWidth + paddingStart) + "px";
} }
this.style.MozPaddingStart = width + paddingStart + "px"; this.style.paddingInlineStart = width + paddingStart + "px";
} else { } else {
this.removeAttribute("positionpinnedtabs"); this.removeAttribute("positionpinnedtabs");
for (let i = 0; i < numPinned; i++) { for (let i = 0; i < numPinned; i++) {
let tab = this.childNodes[i]; let tab = this.childNodes[i];
tab.style.MozMarginStart = ""; tab.style.marginInlineStart = "";
} }
this.style.MozPaddingStart = ""; this.style.paddingInlineStart = "";
} }
if (this._lastNumPinned != numPinned) { if (this._lastNumPinned != numPinned) {
@@ -5987,7 +5987,7 @@
newMargin *= -1; newMargin *= -1;
ind.style.transform = "translate(" + Math.round(newMargin) + "px)"; ind.style.transform = "translate(" + Math.round(newMargin) + "px)";
ind.style.MozMarginStart = (-ind.clientWidth) + "px"; ind.style.marginInlineStart = (-ind.clientWidth) + "px";
]]></handler> ]]></handler>
<handler event="drop"><![CDATA[ <handler event="drop"><![CDATA[

View File

@@ -1659,7 +1659,7 @@ PlacesToolbar.prototype = {
} }
ind.style.transform = "translate(" + Math.round(translateX) + "px)"; ind.style.transform = "translate(" + Math.round(translateX) + "px)";
ind.style.MozMarginStart = (-ind.clientWidth) + "px"; ind.style.marginInlineStart = (-ind.clientWidth) + "px";
ind.collapsed = false; ind.collapsed = false;
// Clear out old folder information. // Clear out old folder information.

View File

@@ -410,7 +410,7 @@ var CallsListView = Heritage.extend(WidgetMethods, {
let contents = document.createElement("hbox"); let contents = document.createElement("hbox");
contents.className = "call-item-stack-fn"; contents.className = "call-item-stack-fn";
contents.style.MozPaddingStart = (i * STACK_FUNC_INDENTATION) + "px"; contents.style.paddingInlineStart = (i * STACK_FUNC_INDENTATION) + "px";
let name = document.createElement("label"); let name = document.createElement("label");
name.className = "plain call-item-stack-fn-name"; name.className = "plain call-item-stack-fn-name";

View File

@@ -243,7 +243,7 @@ CallView.prototype = Heritage.extend(AbstractTreeItem.prototype, {
_createFunctionCell: function(doc, arrowNode, frameName, frameInfo, frameLevel) { _createFunctionCell: function(doc, arrowNode, frameName, frameInfo, frameLevel) {
let cell = doc.createElement("hbox"); let cell = doc.createElement("hbox");
cell.className = "call-tree-cell"; cell.className = "call-tree-cell";
cell.style.MozMarginStart = (frameLevel * CALL_TREE_INDENTATION) + "px"; cell.style.marginInlineStart = (frameLevel * CALL_TREE_INDENTATION) + "px";
cell.setAttribute("type", "function"); cell.setAttribute("type", "function");
cell.appendChild(arrowNode); cell.appendChild(arrowNode);

View File

@@ -38,7 +38,7 @@ add_task(function*() {
"The root node has the correct parent."); "The root node has the correct parent.");
is(treeRoot.level, 0, is(treeRoot.level, 0,
"The root node has the correct level."); "The root node has the correct level.");
is(treeRoot.target.MozMarginStart, "0px", is(treeRoot.target.marginInlineStart, "0px",
"The root node's indentation is correct."); "The root node's indentation is correct.");
is(treeRoot.target.textContent, "root", is(treeRoot.target.textContent, "root",
"The root node's text contents are correct."); "The root node's text contents are correct.");
@@ -77,7 +77,7 @@ add_task(function*() {
"The 'foo' node has the correct parent."); "The 'foo' node has the correct parent.");
is(fooItem.level, 1, is(fooItem.level, 1,
"The 'foo' node has the correct level."); "The 'foo' node has the correct level.");
is(fooItem.target.MozMarginStart, "10px", is(fooItem.target.marginInlineStart, "10px",
"The 'foo' node's indentation is correct."); "The 'foo' node's indentation is correct.");
is(fooItem.target.textContent, "foo", is(fooItem.target.textContent, "foo",
"The 'foo' node's text contents are correct."); "The 'foo' node's text contents are correct.");
@@ -90,7 +90,7 @@ add_task(function*() {
"The 'bar' node has the correct parent."); "The 'bar' node has the correct parent.");
is(barItem.level, 1, is(barItem.level, 1,
"The 'bar' node has the correct level."); "The 'bar' node has the correct level.");
is(barItem.target.MozMarginStart, "10px", is(barItem.target.marginInlineStart, "10px",
"The 'bar' node's indentation is correct."); "The 'bar' node's indentation is correct.");
is(barItem.target.textContent, "bar", is(barItem.target.textContent, "bar",
"The 'bar' node's text contents are correct."); "The 'bar' node's text contents are correct.");
@@ -143,7 +143,7 @@ add_task(function*() {
"The 'baz' node has the correct parent."); "The 'baz' node has the correct parent.");
is(bazItem.level, 2, is(bazItem.level, 2,
"The 'baz' node has the correct level."); "The 'baz' node has the correct level.");
is(bazItem.target.MozMarginStart, "20px", is(bazItem.target.marginInlineStart, "20px",
"The 'baz' node's indentation is correct."); "The 'baz' node's indentation is correct.");
is(bazItem.target.textContent, "baz", is(bazItem.target.textContent, "baz",
"The 'baz' node's text contents are correct."); "The 'baz' node's text contents are correct.");

View File

@@ -60,6 +60,6 @@ add_task(function() {
is(container.childNodes[0].childNodes[5].getAttribute("type"), "function", is(container.childNodes[0].childNodes[5].getAttribute("type"), "function",
"The root node in the tree has a function cell."); "The root node in the tree has a function cell.");
is(container.childNodes[0].childNodes[5].style.MozMarginStart, "0px", is(container.childNodes[0].childNodes[5].style.marginInlineStart, "0px",
"The root node in the tree has the correct indentation."); "The root node in the tree has the correct indentation.");
}); });

View File

@@ -31,19 +31,19 @@ add_task(function() {
is(Array.filter(container.childNodes, e => e.className != "call-tree-item").length, 0, is(Array.filter(container.childNodes, e => e.className != "call-tree-item").length, 0,
"All item nodes in the tree have the correct class name."); "All item nodes in the tree have the correct class name.");
is($$fun(0).style.MozMarginStart, "0px", is($$fun(0).style.marginInlineStart, "0px",
"The root node's function cell has the correct indentation."); "The root node's function cell has the correct indentation.");
is($$fun(1).style.MozMarginStart, "16px", is($$fun(1).style.marginInlineStart, "16px",
"The .A node's function cell has the correct indentation."); "The .A node's function cell has the correct indentation.");
is($$fun(2).style.MozMarginStart, "32px", is($$fun(2).style.marginInlineStart, "32px",
"The .A.B node's function cell has the correct indentation."); "The .A.B node's function cell has the correct indentation.");
is($$fun(3).style.MozMarginStart, "48px", is($$fun(3).style.marginInlineStart, "48px",
"The .A.B.D node's function cell has the correct indentation."); "The .A.B.D node's function cell has the correct indentation.");
is($$fun(4).style.MozMarginStart, "48px", is($$fun(4).style.marginInlineStart, "48px",
"The .A.B.C node's function cell has the correct indentation."); "The .A.B.C node's function cell has the correct indentation.");
is($$fun(5).style.MozMarginStart, "32px", is($$fun(5).style.marginInlineStart, "32px",
"The .A.E node's function cell has the correct indentation."); "The .A.E node's function cell has the correct indentation.");
is($$fun(6).style.MozMarginStart, "48px", is($$fun(6).style.marginInlineStart, "48px",
"The .A.E.F node's function cell has the correct indentation."); "The .A.E.F node's function cell has the correct indentation.");
is($$nam(0).textContent.trim(), "(root)", is($$nam(0).textContent.trim(), "(root)",

View File

@@ -65,7 +65,7 @@ exports.synthesizeCustomTreeClass = () => {
MyCustomTreeItem.prototype = Heritage.extend(AbstractTreeItem.prototype, { MyCustomTreeItem.prototype = Heritage.extend(AbstractTreeItem.prototype, {
_displaySelf: function(document, arrowNode) { _displaySelf: function(document, arrowNode) {
let node = document.createElement("hbox"); let node = document.createElement("hbox");
node.MozMarginStart = (this.level * 10) + "px"; node.marginInlineStart = (this.level * 10) + "px";
node.appendChild(arrowNode); node.appendChild(arrowNode);
node.appendChild(document.createTextNode(this.itemDataSrc.label)); node.appendChild(document.createTextNode(this.itemDataSrc.label));
return node; return node;

View File

@@ -705,7 +705,7 @@ const TreeNode = createFactory(createClass({
// XXX: Despite resetting all of the above properties (and margin), the // XXX: Despite resetting all of the above properties (and margin), the
// button still ends up with ~79px width, so we set a large negative // button still ends up with ~79px width, so we set a large negative
// margin to completely hide it. // margin to completely hide it.
MozMarginStart: "-1000px !important", marginInlineStart: "-1000px !important",
} }
} }
})); }));

View File

@@ -49,7 +49,7 @@ this.EXPORTED_SYMBOLS = ["AbstractTreeItem"];
* ... * ...
* // Use `this.itemDataSrc` to customize the tree item and * // Use `this.itemDataSrc` to customize the tree item and
* // `this.level` to calculate the indentation. * // `this.level` to calculate the indentation.
* node.MozMarginStart = (this.level * 10) + "px"; * node.marginInlineStart = (this.level * 10) + "px";
* node.appendChild(document.createTextNode(this.itemDataSrc.label)); * node.appendChild(document.createTextNode(this.itemDataSrc.label));
* ... * ...
* return node; * return node;

View File

@@ -1781,8 +1781,8 @@ EditableFieldsEngine.prototype = {
"marginRight", "marginRight",
"marginBottom", "marginBottom",
"marginLeft", "marginLeft",
"MozMarginStart", "marginInlineStart",
"MozMarginEnd" "marginInlineEnd"
]; ];
for (let prop of props) { for (let prop of props) {

View File

@@ -81,8 +81,8 @@ diff --git a/devtools/client/sourceeditor/codemirror/addon/search/search.js b/de
+ +
+ inp.type = "search"; + inp.type = "search";
+ inp.placeholder = cm.l10n("findCmd.promptMessage"); + inp.placeholder = cm.l10n("findCmd.promptMessage");
+ inp.style.MozMarginStart = "1em"; + inp.style.marginInlineStart = "1em";
+ inp.style.MozMarginEnd = "1em"; + inp.style.marginInlineEnd = "1em";
+ inp.style.flexGrow = "1"; + inp.style.flexGrow = "1";
+ inp.addEventListener("focus", () => inp.select()); + inp.addEventListener("focus", () => inp.select());
+ +

View File

@@ -118,8 +118,8 @@
inp.type = "search"; inp.type = "search";
inp.placeholder = cm.l10n("findCmd.promptMessage"); inp.placeholder = cm.l10n("findCmd.promptMessage");
inp.style.MozMarginStart = "1em"; inp.style.marginInlineStart = "1em";
inp.style.MozMarginEnd = "1em"; inp.style.marginInlineEnd = "1em";
inp.style.flexGrow = "1"; inp.style.flexGrow = "1";
inp.addEventListener("focus", () => inp.select()); inp.addEventListener("focus", () => inp.select());

View File

@@ -976,7 +976,7 @@ Editor.prototype = {
inp.type = "text"; inp.type = "text";
inp.style.width = "10em"; inp.style.width = "10em";
inp.style.MozMarginStart = "1em"; inp.style.marginInlineStart = "1em";
div.appendChild(txt); div.appendChild(txt);
div.appendChild(inp); div.appendChild(inp);

View File

@@ -2,7 +2,7 @@
<html style="writing-mode: vertical-lr;"> <html style="writing-mode: vertical-lr;">
<body> <body>
<div style="display: inline-flex;"> <div style="display: inline-flex;">
<div style="-moz-margin-start: auto; -moz-margin-end: 75px; direction: rtl;"></div> <div style="margin-inline-start: auto; margin-inline-end: 75px; direction: rtl;"></div>
</div> </div>
</body> </body>
</html> </html>

View File

@@ -20,7 +20,7 @@ window.onload = initCF;
></title> ></title>
<link href=/tests/SimpleTest/test.css<b></b><frame>MS|;yTvb=DyYx=lZ5?NTu=.N@mwsqT!v:=zew_XR7O8YY1o%1=$Oqh=2%a|{M?e/q6]/0VH?s,l4wf!00M7BMNP+j*T?E:POnu? yKL8[Y_nlz+u%QSJB9<csaction>><bdi>w!7RF+P3o}#/~=5hL{2dypxHnV4|@}.jSm@IQ-Ia*i[^/cip/.PKGEX|`bu6+/2RG6}m_*iFTeK~5iI/Zvl.*~32e(_$L#f|1UEh~[Oc_Ej;5Ff:#-?/*W=SLD,kda-7.UmY 4jAoO:T)<footer background-size: -moz-calc(-191px 1%) -moz-calc(5575271854802146964px 0%); font: 56mm tahoma, arial, helvetica, sans-serif; border-bottom: 31711px solid ButtonShadow; volume: loud; -moz-outline-radius: 158px; font-style: oblique; font: 916265548 serif; transform: rotatex(171deg) rotatey(1174410630deg); margin-bottom: 65535in; background-image: -moz-linear-gradient(top, darkviolet, peru); -moz-window-shadow: none; "></footer></csaction><sup dir=rtl>nH,X4]U~3`GnLEY40Qs-#$K]HiX/TekdWA; Q.IGJJwTi%sB^TF^_MFf%3q; wo#]Jy[t8hywiU`ev+8no:+1!Vo?A1tbO{A$iee~-@3Xmt?jzISs1u]B!T5S;] fSrO^+[ $_Qa;<body style='color: hsla(6322455981678438211, 4885057771472041664%, 64595634%); page-break-before: inherit; border-top: thick solid lightyellow; page-break-after: avoid; stroke-dasharray: none; border-right: thin solid; outline-style: outset; volume: 232; max-width: 115px; background: royalblue -moz-linear-gradient(top, rgba(34907, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 4705143634018575181, 134.650893313) 196%, rgba(98, 0, 21, 93) 5835518181644000612%); border-bottom-style: double; background-color: -moz-mac-secondaryhighlight; border-bottom-style: solid; content: "Before"; azimuth: center; '> <link href=/tests/SimpleTest/test.css<b></b><frame>MS|;yTvb=DyYx=lZ5?NTu=.N@mwsqT!v:=zew_XR7O8YY1o%1=$Oqh=2%a|{M?e/q6]/0VH?s,l4wf!00M7BMNP+j*T?E:POnu? yKL8[Y_nlz+u%QSJB9<csaction>><bdi>w!7RF+P3o}#/~=5hL{2dypxHnV4|@}.jSm@IQ-Ia*i[^/cip/.PKGEX|`bu6+/2RG6}m_*iFTeK~5iI/Zvl.*~32e(_$L#f|1UEh~[Oc_Ej;5Ff:#-?/*W=SLD,kda-7.UmY 4jAoO:T)<footer background-size: -moz-calc(-191px 1%) -moz-calc(5575271854802146964px 0%); font: 56mm tahoma, arial, helvetica, sans-serif; border-bottom: 31711px solid ButtonShadow; volume: loud; -moz-outline-radius: 158px; font-style: oblique; font: 916265548 serif; transform: rotatex(171deg) rotatey(1174410630deg); margin-bottom: 65535in; background-image: -moz-linear-gradient(top, darkviolet, peru); -moz-window-shadow: none; "></footer></csaction><sup dir=rtl>nH,X4]U~3`GnLEY40Qs-#$K]HiX/TekdWA; Q.IGJJwTi%sB^TF^_MFf%3q; wo#]Jy[t8hywiU`ev+8no:+1!Vo?A1tbO{A$iee~-@3Xmt?jzISs1u]B!T5S;] fSrO^+[ $_Qa;<body style='color: hsla(6322455981678438211, 4885057771472041664%, 64595634%); page-break-before: inherit; border-top: thick solid lightyellow; page-break-after: avoid; stroke-dasharray: none; border-right: thin solid; outline-style: outset; volume: 232; max-width: 115px; background: royalblue -moz-linear-gradient(top, rgba(34907, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 4705143634018575181, 134.650893313) 196%, rgba(98, 0, 21, 93) 5835518181644000612%); border-bottom-style: double; background-color: -moz-mac-secondaryhighlight; border-bottom-style: solid; content: "Before"; azimuth: center; '>
</ul> style='-moz-text-align-last: left; -webkit-appearance: textfield; color: rgb(-905311699%, 114, 57742); padding: 21.8234098837em 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999em 9.51366390673em 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999em; border-color: rgba(202, 9223372036854775808, -127, 4.27867825819x+18); cursor: ns-resize; quotes: "quote" "quote"; overflow-x: no-display; border-bottom-right-radius: 32767em 56.2654742136em; box-shadow: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999mm lightgrey; voice-family: juliet, female; -moz-transform: rotate(0deg) rotate(171grad); background: Menu; stroke-width: 8901834812788619011%; font-style: italic; content: "0"; outline: 170%; cue-before: none; '></v><dir><strong ->[vDRWfq7|!j5~J^5eQL.?J5VYFl{Vgied3%-fH^bH6?O 4mTi#]%o1xFl.O5hoZ3B;ZRx;1$T2,mgbh5dOeQ*m01547dC1/0V#Y.~WW$ragJ0n!EvBkg8Uegi+]ou1j/^QO*femQC2O!P!j,M5Vk@.-`g`$$+f+^ VP~G{1U</mi><noscript></noscript><rdf>Z[kyp(Mt0@4F~xj@v b=,K#nikG!cNac%qU(O/iUs62cwzV#,6jC[!1y5,PBNr@,Gh~Yn43l1B}p1KEh$m|bn}saNpLjZaspCwM4}XA?CWl)%V]lmIORhh y}o(CHz*vog3iSJ#On-w65NZ=}?5lh/x;xgps-#FD6l,MuASFyd$r.}x6;:v0iM4-S`El`hX%x</rdf><sub></sub><textarea>Fi~{@7J{EVzWdri*Uy+C2nP=gmz.Y;Wvp*:F]]VIVMqdJM=oU,.`Veo:L_x~1u`*f2(!*SGS*!Tsm+VYIeWA^CD10rrxyeMbNhM:SL-}Zf*A4Lf= 81Ka{/gieIN3Ru?#*Sl@~tYe]D.~pEm=s.=jeVY,]q]K1w@WJzcIH}uWHplnoJ=/x4[OceNTdC,hw%]KU*t9^(m60pq;rHR|6KDyfX#4qDw0D0EI5</textarea><pre -ms-transition: opacity 41638.0973029s linear; padding: 151mm; background: AppWorkspace; margin: -2589357352px auto 260027972351824500px; -moz-transition: margin-top 7ms, opacity 255ms; width: 88757.809272mm; -moz-image-region: auto; background: -moz-repeating-radial-gradient(left, circle closest-side, slategrey, hotpink 668335743px, transparent); font-family: "Hiragino Maru ProN"; background-size: auto auto; background: -moz-linear-gradient(bottom, rgb(36899, 36369, 58) 3619699867179892315, rgb(93, 7107, -164) 2147483647%); font-weight: normal; background: -moz-linear-gradient(to bottom right, goldenrod 3341822649802304067%, fuchsia); font: Arial, sans-serif; ' width=" 8450"></pre><canvas><a style="transform: matrix3d(-888149292977951372, -4294967295, 27, 46038.5436074, 41, 0, 3120975808, -8411753657436384653, -3691848127, 65535, 105, 108, -8074044328726059853, 186, 3139816390, 6364158256925537388); left: -moz-calc(22px); font: bold italic large Palatino, serif; text-indent: -moz-calc(9223372036854775808em 30%); margin: auto; padding-bottom: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; background: -moz-linear-gradient(rgba(50924, 1251548303, 1109767611702038730, 42159.1644524), rgba(55, 2591341078, 10, 143) 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, rgba(43, 246, 149, 1.28599451055x+18) 58741%, rgba(-69, 8229554636392401175, 33463, 67.9323179507)); border-top: -67.3406928376em solid; content: counter(item); border-bottom-width: medium; " target=_blank></a> </ul> style='-moz-text-align-last: left; -webkit-appearance: textfield; color: rgb(-905311699%, 114, 57742); padding: 21.8234098837em 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999em 9.51366390673em 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999em; border-color: rgba(202, 9223372036854775808, -127, 4.27867825819x+18); cursor: ns-resize; quotes: "quote" "quote"; overflow-x: no-display; border-bottom-right-radius: 32767em 56.2654742136em; box-shadow: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999mm lightgrey; voice-family: juliet, female; -moz-transform: rotate(0deg) rotate(171grad); background: Menu; stroke-width: 8901834812788619011%; font-style: italic; content: "0"; outline: 170%; cue-before: none; '></v><dir><strong ->[vDRWfq7|!j5~J^5eQL.?J5VYFl{Vgied3%-fH^bH6?O 4mTi#]%o1xFl.O5hoZ3B;ZRx;1$T2,mgbh5dOeQ*m01547dC1/0V#Y.~WW$ragJ0n!EvBkg8Uegi+]ou1j/^QO*femQC2O!P!j,M5Vk@.-`g`$$+f+^ VP~G{1U</mi><noscript></noscript><rdf>Z[kyp(Mt0@4F~xj@v b=,K#nikG!cNac%qU(O/iUs62cwzV#,6jC[!1y5,PBNr@,Gh~Yn43l1B}p1KEh$m|bn}saNpLjZaspCwM4}XA?CWl)%V]lmIORhh y}o(CHz*vog3iSJ#On-w65NZ=}?5lh/x;xgps-#FD6l,MuASFyd$r.}x6;:v0iM4-S`El`hX%x</rdf><sub></sub><textarea>Fi~{@7J{EVzWdri*Uy+C2nP=gmz.Y;Wvp*:F]]VIVMqdJM=oU,.`Veo:L_x~1u`*f2(!*SGS*!Tsm+VYIeWA^CD10rrxyeMbNhM:SL-}Zf*A4Lf= 81Ka{/gieIN3Ru?#*Sl@~tYe]D.~pEm=s.=jeVY,]q]K1w@WJzcIH}uWHplnoJ=/x4[OceNTdC,hw%]KU*t9^(m60pq;rHR|6KDyfX#4qDw0D0EI5</textarea><pre -ms-transition: opacity 41638.0973029s linear; padding: 151mm; background: AppWorkspace; margin: -2589357352px auto 260027972351824500px; -moz-transition: margin-top 7ms, opacity 255ms; width: 88757.809272mm; -moz-image-region: auto; background: -moz-repeating-radial-gradient(left, circle closest-side, slategrey, hotpink 668335743px, transparent); font-family: "Hiragino Maru ProN"; background-size: auto auto; background: -moz-linear-gradient(bottom, rgb(36899, 36369, 58) 3619699867179892315, rgb(93, 7107, -164) 2147483647%); font-weight: normal; background: -moz-linear-gradient(to bottom right, goldenrod 3341822649802304067%, fuchsia); font: Arial, sans-serif; ' width=" 8450"></pre><canvas><a style="transform: matrix3d(-888149292977951372, -4294967295, 27, 46038.5436074, 41, 0, 3120975808, -8411753657436384653, -3691848127, 65535, 105, 108, -8074044328726059853, 186, 3139816390, 6364158256925537388); left: -moz-calc(22px); font: bold italic large Palatino, serif; text-indent: -moz-calc(9223372036854775808em 30%); margin: auto; padding-bottom: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999; background: -moz-linear-gradient(rgba(50924, 1251548303, 1109767611702038730, 42159.1644524), rgba(55, 2591341078, 10, 143) 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, rgba(43, 246, 149, 1.28599451055x+18) 58741%, rgba(-69, 8229554636392401175, 33463, 67.9323179507)); border-top: -67.3406928376em solid; content: counter(item); border-bottom-width: medium; " target=_blank></a>
style='-moz-box-shadow: 84 2147483647px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px rgba(-2858581034, 110, 2460321770, 164.188187767), inset 18 255px -2461791714 rgba(65, 2147483647, 118, 120365.670275); border-color: khaki rgb(9223372036854775808, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) cornsilk rgb(2147483647, 3410481331, -255); background: -moz-linear-gradient(top, hsl(-6511, 132%, 67%), hsl(65535, 127%, 130%)); -moz-border-end-width: 5361121852315046626; content: "»"; box-shadow: inset -148 6598830410571865803 -255px hsla(65535, -61299%, 6601653806716150645%, 144.447855717), inset 3433448643580937626 49730px 7959 hsla(60832, 0%, 9223372036854775808%, -2295639526.68); transform: translate3d(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 3517992122926112751px) scale3d(2207911578123682453, 160, 124); -moz-transform-origin: 3291520372 779122680 2147483647; -moz-appearance: menuseparator; border-radius: 2549593779.31px 2.00538639825x+18px 65px 28px; transform: translate(127px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px) translate(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, -176px); margin-left: 210.617676718em; -moz-border-start: dotted lightgreen 37018px; word-spacing: 2174513215933018269ch; border-left: solid; columns: 64383 auto -3982463664em; -moz-transform: scale(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); stroke-width: 3.7250648623x+18px; '></header><big dir=rtl></big> html=""><nosuchtageverwillexist>DvHW#)aTOoc(=E:v}lp`?)_zpj%f#fy$q~~w1,;%.rsdVNR9=AW8h#y**wpXSlY}R/L|vnxW7?EC`lK,4GcMz[9}{V#d+@d (`JUMD2gD:N1ci7Q#i_hR-p.,dM|s/D-bzFn@8g[.qr;+Kh!]tI3B?2xM;E,oW`GHsjqV>b(vf_HY9If%6.t7z2@ql6|L@SrsUoaG^AX{46e5^;p;8Pphf5f3_],qD)X!kizvdkcp8YtJZe!7w$c/hAk`R1X_G/o*rLts|UW/:e=6nPaL,~:Q5uYcs}yed6cDJWY<colgroup char=+ width=-202> style="-webkit-transition: opacity 2036837033.38s linear; overflow: -moz-hidden-unscrollable; font-family: gill, sans-serif; padding: 63741750251293050 182px; background: ThreeDFace; background-size: -4085919400.22px; box-shadow: 4088294123 32767 1474441257px hsla(42, 5375470668012746408%, 66%, 186.554651712) inset, 32767 109px 5283789617678015210 hsla(2147483647, 163%, 14226%, 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); border-width: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px -170px 3284222322px 5.14851574865x+17px; box-shadow: inset 113 -0 -4px hsla(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 35273%, 2245175778%, 47085.004822), inset 9223372036854775808 76px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 hsla(2375057167019052381, 4294967295%, 127%, 5.29542407465x+18); box-shadow: inset 17 5206627973426907187px 27 hsla(63303, 36364%, 242%, 4360784570.91), inset 18428 0px 138 hsla(-357953447, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, 8058132474996186951%, 100.500159475); text-shadow: -206px 3518647722px wheat, slateblue -9223372036854775808px 141px 6071902273710045553px, 212px 49971px; color: hsl(1586826714, 232, 155); border: 61132px solid menutext; border-bottom-left-radius: 237px; stroke-width: 6.74219888253x+18; -o-flow-into: flowB; "><legend>>>>>>></wbr>>> id=content lang=ja style="display: none"> style='-moz-box-shadow: 84 2147483647px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px rgba(-2858581034, 110, 2460321770, 164.188187767), inset 18 255px -2461791714 rgba(65, 2147483647, 118, 120365.670275); border-color: khaki rgb(9223372036854775808, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999) cornsilk rgb(2147483647, 3410481331, -255); background: -moz-linear-gradient(top, hsl(-6511, 132%, 67%), hsl(65535, 127%, 130%)); border-inline-end-width: 5361121852315046626; content: "»"; box-shadow: inset -148 6598830410571865803 -255px hsla(65535, -61299%, 6601653806716150645%, 144.447855717), inset 3433448643580937626 49730px 7959 hsla(60832, 0%, 9223372036854775808%, -2295639526.68); transform: translate3d(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, 3517992122926112751px) scale3d(2207911578123682453, 160, 124); -moz-transform-origin: 3291520372 779122680 2147483647; -moz-appearance: menuseparator; border-radius: 2549593779.31px 2.00538639825x+18px 65px 28px; transform: translate(127px, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px) translate(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px, -176px); margin-left: 210.617676718em; border-inline-start: dotted lightgreen 37018px; word-spacing: 2174513215933018269ch; border-left: solid; columns: 64383 auto -3982463664em; -moz-transform: scale(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); stroke-width: 3.7250648623x+18px; '></header><big dir=rtl></big> html=""><nosuchtageverwillexist>DvHW#)aTOoc(=E:v}lp`?)_zpj%f#fy$q~~w1,;%.rsdVNR9=AW8h#y**wpXSlY}R/L|vnxW7?EC`lK,4GcMz[9}{V#d+@d (`JUMD2gD:N1ci7Q#i_hR-p.,dM|s/D-bzFn@8g[.qr;+Kh!]tI3B?2xM;E,oW`GHsjqV>b(vf_HY9If%6.t7z2@ql6|L@SrsUoaG^AX{46e5^;p;8Pphf5f3_],qD)X!kizvdkcp8YtJZe!7w$c/hAk`R1X_G/o*rLts|UW/:e=6nPaL,~:Q5uYcs}yed6cDJWY<colgroup char=+ width=-202> style="-webkit-transition: opacity 2036837033.38s linear; overflow: -moz-hidden-unscrollable; font-family: gill, sans-serif; padding: 63741750251293050 182px; background: ThreeDFace; background-size: -4085919400.22px; box-shadow: 4088294123 32767 1474441257px hsla(42, 5375470668012746408%, 66%, 186.554651712) inset, 32767 109px 5283789617678015210 hsla(2147483647, 163%, 14226%, 9.99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999); border-width: 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999px -170px 3284222322px 5.14851574865x+17px; box-shadow: inset 113 -0 -4px hsla(9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, 35273%, 2245175778%, 47085.004822), inset 9223372036854775808 76px 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 hsla(2375057167019052381, 4294967295%, 127%, 5.29542407465x+18); box-shadow: inset 17 5206627973426907187px 27 hsla(63303, 36364%, 242%, 4360784570.91), inset 18428 0px 138 hsla(-357953447, 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999%, 8058132474996186951%, 100.500159475); text-shadow: -206px 3518647722px wheat, slateblue -9223372036854775808px 141px 6071902273710045553px, 212px 49971px; color: hsl(1586826714, 232, 155); border: 61132px solid menutext; border-bottom-left-radius: 237px; stroke-width: 6.74219888253x+18; -o-flow-into: flowB; "><legend>>>>>>></wbr>>> id=content lang=ja style="display: none">
</div> </div>
</strong><pre style="transform: skew(123deg); background: -moz-element( ) dimgray; border: solid lavenderblush 35242px; border-radius: 233 ; " tabindex="" width=5967680930344982703%>2hJ]q@`U)-hl {ukaXz}-0`3;SrFZyqd7`1q{cEy2q1N1vP[XTfNGo#=@/ZlvZklcG58c6xau!G}6Lxc#W@RBhKV4];9G`RX 2x.~.u9S^ wThGK vo8#Z<script class=testbody type=text/javascript> </strong><pre style="transform: skew(123deg); background: -moz-element( ) dimgray; border: solid lavenderblush 35242px; border-radius: 233 ; " tabindex="" width=5967680930344982703%>2hJ]q@`U)-hl {ukaXz}-0`3;SrFZyqd7`1q{cEy2q1N1vP[XTfNGo#=@/ZlvZklcG58c6xau!G}6Lxc#W@RBhKV4];9G`RX 2x.~.u9S^ wThGK vo8#Z<script class=testbody type=text/javascript>

View File

@@ -1,4 +1,4 @@
<html xmlns="http://www.w3.org/1999/xhtml" style="white-space: pre-wrap; width: -moz-min-content; font-size: 4294967297px;" class="reftest-wait"> <html xmlns="http://www.w3.org/1999/xhtml" style="white-space: pre-wrap; width: -moz-min-content; font-size: 4294967297px;" class="reftest-wait">
<body style="font-size: 1px; -moz-column-count: 2;" onload="document.getElementById('p').style.MozPaddingStart = '4294967296px'; document.documentElement.offsetHeight; setTimeout(function(){document.documentElement.removeAttribute('class');},0); "> x <body style="font-size: 1px; -moz-column-count: 2;" onload="document.getElementById('p').style.paddingInlineStart = '4294967296px'; document.documentElement.offsetHeight; setTimeout(function(){document.documentElement.removeAttribute('class');},0); "> x
y<div id="p"></div></body></html> y<div id="p"></div></body></html>

View File

@@ -5,7 +5,7 @@ div:not([autohide="true"]) {
width: 96px; width: 96px;
height: 96px; height: 96px;
margin: 10px; margin: 10px;
-moz-padding-end: 176em; padding-inline-end: 176em;
} }
#one:not([type=image]) { #one:not([type=image]) {
font-size: 0.61em; font-size: 0.61em;

View File

@@ -9,7 +9,7 @@
margin: 1em; margin: 1em;
} }
ol { ol {
-moz-padding-start: 0px; padding-inline-start: 0px;
} }
</style> </style>
</head> </head>

View File

@@ -12,8 +12,8 @@
padding: 2px; padding: 2px;
} }
.inner { .inner {
-moz-padding-start: 100px; padding-inline-start: 100px;
-moz-padding-end: 50px; padding-inline-end: 50px;
border: 5px solid black; border: 5px solid black;
border-left: 20px solid red; border-left: 20px solid red;
border-right: 10px solid green; border-right: 10px solid green;

View File

@@ -10,7 +10,7 @@
</head> </head>
<body dir="rtl"> <body dir="rtl">
<div class="x1"> <div class="x1">
<span style="background: green; width: 50px; position: fixed; -moz-margin-start: -50px"></span> <span style="background: green; width: 50px; position: fixed; margin-inline-start: -50px"></span>
<div class="x2"> <div class="x2">
<span style="background: yellow; width: 400px; overflow: hidden"></span> <span style="background: yellow; width: 400px; overflow: hidden"></span>
</div> </div>

View File

@@ -9,7 +9,7 @@
</head> </head>
<body dir="rtl"> <body dir="rtl">
<div style="display: -moz-box;"> <div style="display: -moz-box;">
<span style="background: green; width: 50px; position: fixed; -moz-margin-start: -50px"></span> <span style="background: green; width: 50px; position: fixed; margin-inline-start: -50px"></span>
<span style="background: yellow; width: 400px; overflow: hidden"></span> <span style="background: yellow; width: 400px; overflow: hidden"></span>
</div> </div>
</body> </body>

View File

@@ -4,8 +4,8 @@
p::first-line { p::first-line {
/* specify all the properties in nsStyleBorder */ /* specify all the properties in nsStyleBorder */
-moz-border-start: medium solid red ! important; border-inline-start: medium solid red ! important;
-moz-border-end: medium solid red ! important; border-inline-end: medium solid red ! important;
border: medium solid red ! important; border: medium solid red ! important;
border-image: none ! important; border-image: none ! important;
-moz-float-edge: content-box ! important; -moz-float-edge: content-box ! important;

View File

@@ -15,8 +15,8 @@
<input type="text" value="Text Input" style="-moz-appearance: none; border-top-right-radius: 1px"> <input type="text" value="Text Input" style="-moz-appearance: none; border-top-right-radius: 1px">
<input type="text" value="Text Input" style="-moz-appearance: none; border-bottom-right-radius: 2px"> <input type="text" value="Text Input" style="-moz-appearance: none; border-bottom-right-radius: 2px">
<input type="text" value="Text Input" style="-moz-appearance: none; border-bottom-left-radius: 3px"> <input type="text" value="Text Input" style="-moz-appearance: none; border-bottom-left-radius: 3px">
<input type="text" value="Text Input" style="-moz-appearance: none; -moz-border-start-width: 3px"> <input type="text" value="Text Input" style="-moz-appearance: none; border-inline-start-width: 3px">
<input type="text" value="Text Input" style="-moz-appearance: none; -moz-border-end-width: 3px"> <input type="text" value="Text Input" style="-moz-appearance: none; border-inline-end-width: 3px">
<!-- these should let it stay native --> <!-- these should let it stay native -->
<input type="text" value=""> <input type="text" value="">

View File

@@ -15,8 +15,8 @@
<input type="text" value="Text Input" style="border-top-right-radius: 1px"> <input type="text" value="Text Input" style="border-top-right-radius: 1px">
<input type="text" value="Text Input" style="border-bottom-right-radius: 2px"> <input type="text" value="Text Input" style="border-bottom-right-radius: 2px">
<input type="text" value="Text Input" style="border-bottom-left-radius: 3px"> <input type="text" value="Text Input" style="border-bottom-left-radius: 3px">
<input type="text" value="Text Input" style="-moz-border-start-width: 3px"> <input type="text" value="Text Input" style="border-inline-start-width: 3px">
<input type="text" value="Text Input" style="-moz-border-end-width: 3px"> <input type="text" value="Text Input" style="border-inline-end-width: 3px">
<!-- these should let it stay native --> <!-- these should let it stay native -->
<input type="text" value="" style="color: black"> <input type="text" value="" style="color: black">

View File

@@ -1,2 +1,2 @@
<!DOCTYPE html> <!DOCTYPE html>
<html style="-moz-border-start: inherit; border: none"><body></body></html> <html style="border-inline-start: inherit; border: none"><body></body></html>

View File

@@ -6,13 +6,13 @@
<span></span> <span></span>
<style> <style>
span { span {
-moz-border-start: 0px solid rgb(0, 0, 0); border-inline-start: 0px solid rgb(0, 0, 0);
-moz-border-end: 0px solid rgb(0, 0, 0); border-inline-end: 0px solid rgb(0, 0, 0);
transition: border 100s linear -50s; transition: border 100s linear -50s;
} }
span.transitioned { span.transitioned {
-moz-border-start: 100px solid rgb(100, 100, 100); border-inline-start: 100px solid rgb(100, 100, 100);
-moz-border-end: 10px solid rgb(10, 10, 10); border-inline-end: 10px solid rgb(10, 10, 10);
} }
</style> </style>
<script> <script>

View File

@@ -28,11 +28,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=74880
/** Test for Bug 74880 **/ /** Test for Bug 74880 **/
var gProps = [ var gProps = [
[ "margin-left", "margin-right", "-moz-margin-start", "-moz-margin-end" ], [ "margin-left", "margin-right", "margin-inline-start", "margin-inline-end" ],
[ "padding-left", "padding-right", "-moz-padding-start", "-moz-padding-end" ], [ "padding-left", "padding-right", "padding-inline-start", "padding-inline-end" ],
[ "border-left-color", "border-right-color", "-moz-border-start-color", "-moz-border-end-color" ], [ "border-left-color", "border-right-color", "border-inline-start-color", "border-inline-end-color" ],
[ "border-left-style", "border-right-style", "-moz-border-start-style", "-moz-border-end-style" ], [ "border-left-style", "border-right-style", "border-inline-start-style", "border-inline-end-style" ],
[ "border-left-width", "border-right-width", "-moz-border-start-width", "-moz-border-end-width" ], [ "border-left-width", "border-right-width", "border-inline-start-width", "border-inline-end-width" ],
]; ];
var gLengthValues = [ "inherit", "initial", "2px", "1em" ]; var gLengthValues = [ "inherit", "initial", "2px", "1em" ];

View File

@@ -10,7 +10,7 @@
#one, #three { background: blue; color: yellow; border: thin solid red; -moz-column-rule: 2px solid green; text-shadow: 2px 2px green; box-shadow: 3px 7px blue; } #one, #three { background: blue; color: yellow; border: thin solid red; -moz-column-rule: 2px solid green; text-shadow: 2px 2px green; box-shadow: 3px 7px blue; }
#two { background: transparent; border: thin solid; } #two { background: transparent; border: thin solid; }
#five, #six {border: thick solid red; -moz-border-start-color:green; -moz-border-end-color:blue} #five, #six {border: thick solid red; border-inline-start-color:green; border-inline-end-color:blue}
#seven { #seven {
border: 3px solid; border: 3px solid;
-moz-border-top-colors: blue aqua fuchsia; -moz-border-top-colors: blue aqua fuchsia;
@@ -88,13 +88,13 @@ function part1()
is(cs1.boxShadow, cs3.boxShadow, is(cs1.boxShadow, cs3.boxShadow,
"box-shadow applies"); "box-shadow applies");
isnot(cs5.borderRightColor, cs2.borderRightColor, isnot(cs5.borderRightColor, cs2.borderRightColor,
"-moz-border-end-color applies"); "border-inline-end-color applies");
isnot(cs5.borderLeftColor, cs2.borderLeftColor, isnot(cs5.borderLeftColor, cs2.borderLeftColor,
"-moz-border-start-color applies"); "border-inline-start-color applies");
isnot(cs6.borderRightColor, cs2.borderRightColor, isnot(cs6.borderRightColor, cs2.borderRightColor,
"-moz-border-start-color applies"); "border-inline-start-color applies");
isnot(cs6.borderLeftColor, cs2.borderLeftColor, isnot(cs6.borderLeftColor, cs2.borderLeftColor,
"-moz-border-end-color applies"); "border-inline-end-color applies");
isnot(cs7.MozBorderTopColors, cs2.MozBorderTopColors, isnot(cs7.MozBorderTopColors, cs2.MozBorderTopColors,
"-moz-border-top-colors applies"); "-moz-border-top-colors applies");
isnot(cs7.MozBorderRightColors, cs2.MozBorderRightColors, isnot(cs7.MozBorderRightColors, cs2.MozBorderRightColors,
@@ -135,13 +135,13 @@ function part2()
is(cs1.borderLeftColor, cs2.borderLeftColor, is(cs1.borderLeftColor, cs2.borderLeftColor,
"border-left-color is blocked"); "border-left-color is blocked");
is(cs5.borderRightColor, cs2.borderRightColor, is(cs5.borderRightColor, cs2.borderRightColor,
"-moz-border-end-color is blocked"); "border-inline-end-color is blocked");
is(cs5.borderLeftColor, cs2.borderLeftColor, is(cs5.borderLeftColor, cs2.borderLeftColor,
"-moz-border-start-color is blocked"); "border-inline-start-color is blocked");
is(cs6.borderRightColor, cs2.borderRightColor, is(cs6.borderRightColor, cs2.borderRightColor,
"-moz-border-start-color is blocked"); "border-inline-start-color is blocked");
is(cs6.borderLeftColor, cs2.borderLeftColor, is(cs6.borderLeftColor, cs2.borderLeftColor,
"-moz-border-end-color is blocked"); "border-inline-end-color is blocked");
is(cs7.MozBorderTopColors, cs2.MozBorderTopColors, is(cs7.MozBorderTopColors, cs2.MozBorderTopColors,
"-moz-border-top-colors is blocked"); "-moz-border-top-colors is blocked");
is(cs7.MozBorderRightColors, cs2.MozBorderRightColors, is(cs7.MozBorderRightColors, cs2.MozBorderRightColors,

View File

@@ -267,7 +267,7 @@ nsIndexedToHTML::DoOnStartRequest(nsIRequest* request, nsISupports *aContext,
"table[order] > thead > tr > th::after {\n" "table[order] > thead > tr > th::after {\n"
" display: none;\n" " display: none;\n"
" width: .8em;\n" " width: .8em;\n"
" -moz-margin-end: -.8em;\n" " margin-inline-end: -.8em;\n"
" text-align: end;\n" " text-align: end;\n"
"}\n" "}\n"
"table[order=\"asc\"] > thead > tr > th::after {\n" "table[order=\"asc\"] > thead > tr > th::after {\n"
@@ -305,24 +305,24 @@ nsIndexedToHTML::DoOnStartRequest(nsIRequest* request, nsISupports *aContext,
"/* name */\n" "/* name */\n"
"/* name */\n" "/* name */\n"
"th:first-child {\n" "th:first-child {\n"
" -moz-padding-end: 2em;\n" " padding-inline-end: 2em;\n"
"}\n" "}\n"
"/* size */\n" "/* size */\n"
"th:first-child + th {\n" "th:first-child + th {\n"
" -moz-padding-end: 1em;\n" " padding-inline-end: 1em;\n"
"}\n" "}\n"
"td:first-child + td {\n" "td:first-child + td {\n"
" text-align: end;\n" " text-align: end;\n"
" -moz-padding-end: 1em;\n" " padding-inline-end: 1em;\n"
"}\n" "}\n"
"/* date */\n" "/* date */\n"
"td:first-child + td + td {\n" "td:first-child + td + td {\n"
" -moz-padding-start: 1em;\n" " padding-inline-start: 1em;\n"
" -moz-padding-end: .5em;\n" " padding-inline-end: .5em;\n"
"}\n" "}\n"
"/* time */\n" "/* time */\n"
"td:first-child + td + td + td {\n" "td:first-child + td + td + td {\n"
" -moz-padding-start: .5em;\n" " padding-inline-start: .5em;\n"
"}\n" "}\n"
".symlink {\n" ".symlink {\n"
" font-style: italic;\n" " font-style: italic;\n"
@@ -330,12 +330,12 @@ nsIndexedToHTML::DoOnStartRequest(nsIRequest* request, nsISupports *aContext,
".dir ,\n" ".dir ,\n"
".symlink ,\n" ".symlink ,\n"
".file {\n" ".file {\n"
" -moz-margin-start: 20px;\n" " margin-inline-start: 20px;\n"
"}\n" "}\n"
".dir::before ,\n" ".dir::before ,\n"
".file > img {\n" ".file > img {\n"
" -moz-margin-end: 4px;\n" " margin-inline-end: 4px;\n"
" -moz-margin-start: -20px;\n" " margin-inline-start: -20px;\n"
" max-width: 16px;\n" " max-width: 16px;\n"
" max-height: 16px;\n" " max-height: 16px;\n"
" vertical-align: middle;\n" " vertical-align: middle;\n"

View File

@@ -2057,21 +2057,21 @@ extends="chrome://global/content/bindings/popup.xml#popup">
<body> <body>
<![CDATA[ <![CDATA[
if (typeof(newStart) != "number") { if (typeof(newStart) != "number") {
this._typeIcon.style.removeProperty("-moz-margin-start"); this._typeIcon.style.removeProperty("margin-inline-start");
return true; return true;
} }
let rect = this._siteIcon.getBoundingClientRect(); let rect = this._siteIcon.getBoundingClientRect();
let dir = this.getAttribute("dir"); let dir = this.getAttribute("dir");
let delta = dir == "rtl" ? rect.right - newStart let delta = dir == "rtl" ? rect.right - newStart
: newStart - rect.left; : newStart - rect.left;
let px = this._typeIcon.style.MozMarginStart; let px = this._typeIcon.style.marginInlineStart;
if (!px) { if (!px) {
// Allow -moz-margin-start not to be specified in CSS initially. // Allow margin-inline-start not to be specified in CSS initially.
let style = window.getComputedStyle(this._typeIcon); let style = window.getComputedStyle(this._typeIcon);
px = dir == "rtl" ? style.marginRight : style.marginLeft; px = dir == "rtl" ? style.marginRight : style.marginLeft;
} }
let typeIconStart = Number(px.substr(0, px.length - 2)); let typeIconStart = Number(px.substr(0, px.length - 2));
this._typeIcon.style.MozMarginStart = (typeIconStart + delta) + "px"; this._typeIcon.style.marginInlineStart = (typeIconStart + delta) + "px";
return delta > 0; return delta > 0;
]]> ]]>
</body> </body>

View File

@@ -37,7 +37,7 @@ th[chromedir="rtl"] {
} }
/* name */ /* name */
th:first-child { th:first-child {
-moz-padding-end: 2em; padding-inline-end: 2em;
} }
/* submitted */ /* submitted */
th:last-child { th:last-child {
@@ -50,14 +50,14 @@ th:last-child {
/* date */ /* date */
td:first-child + td { td:first-child + td {
width: 0; width: 0;
-moz-padding-start: 1em; padding-inline-start: 1em;
-moz-padding-end: .5em; padding-inline-end: .5em;
white-space: nowrap; white-space: nowrap;
} }
/* time */ /* time */
td:last-child { td:last-child {
width: 0; width: 0;
-moz-padding-start: .5em; padding-inline-start: .5em;
white-space: nowrap; white-space: nowrap;
} }