mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Implement the unitless length quirk for margin-*
This commit is contained in:
parent
72186c200c
commit
bcc6d4580d
2 changed files with 1 additions and 54 deletions
|
@ -15,6 +15,7 @@
|
|||
${helpers.predefined_type("margin-%s" % side[0], "LengthOrPercentageOrAuto",
|
||||
"computed::LengthOrPercentageOrAuto::Length(Au(0))",
|
||||
alias=maybe_moz_logical_alias(product, side, "-moz-margin-%s"),
|
||||
allow_quirks=not side[1],
|
||||
animation_value_type="ComputedValue", logical = side[1], spec = spec,
|
||||
allowed_in_page_rule=True)}
|
||||
% endfor
|
||||
|
|
|
@ -12,15 +12,6 @@
|
|||
expected:
|
||||
if os == "mac": FAIL
|
||||
|
||||
[margin-left: 1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top: 1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-bottom: 1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin: 1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -84,15 +75,6 @@
|
|||
expected:
|
||||
if os == "mac": FAIL
|
||||
|
||||
[margin-left: +1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top: +1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-bottom: +1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin: +1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -156,15 +138,6 @@
|
|||
expected:
|
||||
if os == "mac": FAIL
|
||||
|
||||
[margin-left: -1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top: -1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-bottom: -1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin: -1 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -204,15 +177,6 @@
|
|||
expected:
|
||||
if os == "mac": FAIL
|
||||
|
||||
[margin-left: 1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top: 1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-bottom: 1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin: 1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -276,15 +240,6 @@
|
|||
expected:
|
||||
if os == "mac": FAIL
|
||||
|
||||
[margin-left: +1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top: +1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-bottom: +1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin: +1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -348,15 +303,6 @@
|
|||
expected:
|
||||
if os == "mac": FAIL
|
||||
|
||||
[margin-left: -1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-top: -1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin-bottom: -1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
[margin: -1.5 (quirks)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue