mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Implement the unitless length quirk for padding
This commit is contained in:
parent
3f947395ad
commit
dd6d3d62c6
2 changed files with 2 additions and 19 deletions
|
@ -5,4 +5,5 @@
|
||||||
<%namespace name="helpers" file="/helpers.mako.rs" />
|
<%namespace name="helpers" file="/helpers.mako.rs" />
|
||||||
|
|
||||||
${helpers.four_sides_shorthand("padding", "padding-%s", "specified::LengthOrPercentage::parse",
|
${helpers.four_sides_shorthand("padding", "padding-%s", "specified::LengthOrPercentage::parse",
|
||||||
spec="https://drafts.csswg.org/css-box-3/#propdef-padding")}
|
spec="https://drafts.csswg.org/css-box-3/#propdef-padding",
|
||||||
|
allow_quirks=True)}
|
||||||
|
|
|
@ -12,9 +12,6 @@
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": FAIL
|
if os == "mac": FAIL
|
||||||
|
|
||||||
[padding: 1 (quirks)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[text-indent: 1 (quirks)]
|
[text-indent: 1 (quirks)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -48,9 +45,6 @@
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": FAIL
|
if os == "mac": FAIL
|
||||||
|
|
||||||
[padding: +1 (quirks)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[text-indent: +1 (quirks)]
|
[text-indent: +1 (quirks)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -84,9 +78,6 @@
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": FAIL
|
if os == "mac": FAIL
|
||||||
|
|
||||||
[padding: -1 (quirks)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[text-indent: -1 (quirks)]
|
[text-indent: -1 (quirks)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -120,9 +111,6 @@
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": FAIL
|
if os == "mac": FAIL
|
||||||
|
|
||||||
[padding: 1.5 (quirks)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[text-indent: 1.5 (quirks)]
|
[text-indent: 1.5 (quirks)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -156,9 +144,6 @@
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": FAIL
|
if os == "mac": FAIL
|
||||||
|
|
||||||
[padding: +1.5 (quirks)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[text-indent: +1.5 (quirks)]
|
[text-indent: +1.5 (quirks)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -192,9 +177,6 @@
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": FAIL
|
if os == "mac": FAIL
|
||||||
|
|
||||||
[padding: -1.5 (quirks)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[text-indent: -1.5 (quirks)]
|
[text-indent: -1.5 (quirks)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue