Implement the unitless length quirk for text-indent

This commit is contained in:
Anthony Ramine 2017-04-25 01:16:57 +02:00
parent dd6d3d62c6
commit 16dd554534
2 changed files with 2 additions and 19 deletions

View file

@ -184,7 +184,8 @@ ${helpers.predefined_type("text-indent",
"LengthOrPercentage",
"computed::LengthOrPercentage::Length(Au(0))",
animation_value_type="ComputedValue",
spec="https://drafts.csswg.org/css-text/#propdef-text-indent")}
spec="https://drafts.csswg.org/css-text/#propdef-text-indent",
allow_quirks=True)}
// Also known as "word-wrap" (which is more popular because of IE), but this is the preferred
// name per CSS-TEXT 6.2.

View file

@ -12,9 +12,6 @@
expected:
if os == "mac": FAIL
[text-indent: 1 (quirks)]
expected: FAIL
[top: 1 (quirks)]
expected:
if os == "mac": FAIL
@ -45,9 +42,6 @@
expected:
if os == "mac": FAIL
[text-indent: +1 (quirks)]
expected: FAIL
[top: +1 (quirks)]
expected:
if os == "mac": FAIL
@ -78,9 +72,6 @@
expected:
if os == "mac": FAIL
[text-indent: -1 (quirks)]
expected: FAIL
[top: -1 (quirks)]
expected:
if os == "mac": FAIL
@ -111,9 +102,6 @@
expected:
if os == "mac": FAIL
[text-indent: 1.5 (quirks)]
expected: FAIL
[top: 1.5 (quirks)]
expected:
if os == "mac": FAIL
@ -144,9 +132,6 @@
expected:
if os == "mac": FAIL
[text-indent: +1.5 (quirks)]
expected: FAIL
[top: +1.5 (quirks)]
expected:
if os == "mac": FAIL
@ -177,9 +162,6 @@
expected:
if os == "mac": FAIL
[text-indent: -1.5 (quirks)]
expected: FAIL
[top: -1.5 (quirks)]
expected:
if os == "mac": FAIL