mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
This commit is contained in:
commit
147faebd3b
@ -6697,6 +6697,22 @@ exports.CSS_PROPERTIES = {
|
||||
"unset"
|
||||
]
|
||||
},
|
||||
"inset": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
"top",
|
||||
"right",
|
||||
"bottom",
|
||||
"left"
|
||||
],
|
||||
"supports": [],
|
||||
"values": [
|
||||
"auto",
|
||||
"inherit",
|
||||
"initial",
|
||||
"unset"
|
||||
]
|
||||
},
|
||||
"inset-block": {
|
||||
"isInherited": false,
|
||||
"subproperties": [
|
||||
|
@ -6569,6 +6569,18 @@ var gCSSProperties = {
|
||||
],
|
||||
invalid_values: [ "none", "5" ]
|
||||
},
|
||||
"inset": {
|
||||
domProp: "inset",
|
||||
inherited: false,
|
||||
type: CSS_TYPE_TRUE_SHORTHAND,
|
||||
subproperties: [ "top", "right", "bottom", "left" ],
|
||||
/* FIXME: run tests with multiple prerequisites */
|
||||
prerequisites: { "position": "relative" },
|
||||
initial_values: [ "auto" ],
|
||||
other_values: [ "3px 0", "2em 4px 2pt", "1em 2em 3px 4px", "1em calc(2em + 3px) 4ex 5cm" ],
|
||||
invalid_values: [ "1px calc(nonsense)", "1px red", "3" ],
|
||||
unbalanced_values: [ "1px calc(" ],
|
||||
},
|
||||
"inset-block": {
|
||||
domProp: "insetBlock",
|
||||
inherited: false,
|
||||
|
@ -763,6 +763,15 @@
|
||||
}
|
||||
</%helpers:shorthand>
|
||||
|
||||
// See https://github.com/w3c/csswg-drafts/issues/3525 for the quirks stuff.
|
||||
${helpers.four_sides_shorthand(
|
||||
"inset",
|
||||
"%s",
|
||||
"specified::LengthPercentageOrAuto::parse",
|
||||
spec="https://drafts.csswg.org/css-logical/#propdef-inset",
|
||||
allow_quirks=False,
|
||||
)}
|
||||
|
||||
% for axis in ["block", "inline"]:
|
||||
<%
|
||||
spec = "https://drafts.csswg.org/css-logical/#propdef-inset-%s" % axis
|
||||
|
@ -1,40 +1,12 @@
|
||||
[logical-box-inset.html]
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: ltr; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: horizontal-tb; direction: rtl; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: rtl; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: rtl; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-rl; direction: ltr; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-rl; direction: ltr; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: rtl; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: ltr; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: vertical-lr; direction: ltr; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset-* shorthands set the computed value of both logical and physical longhands, with 'writing-mode: sideways-lr; direction: rtl; '.]
|
||||
expected: FAIL
|
||||
|
||||
[Test that inset shorthand sets longhands and serializes correctly.]
|
||||
expected: FAIL
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=137688
|
||||
|
||||
[Test that inset-inline shorthand sets longhands and serializes correctly.]
|
||||
expected: FAIL
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=137688
|
||||
|
||||
[Test that inset-block shorthand sets longhands and serializes correctly.]
|
||||
expected: FAIL
|
||||
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=137688
|
||||
|
Loading…
Reference in New Issue
Block a user