mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Implement the unitless length quirk for text-indent
This commit is contained in:
parent
dd6d3d62c6
commit
16dd554534
2 changed files with 2 additions and 19 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue