mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
style: Avoid parsing negative padding in the padding shorthand.
This commit is contained in:
parent
ebfc8f5858
commit
1785fd66a4
3 changed files with 1 additions and 7 deletions
|
@ -4,6 +4,6 @@
|
|||
|
||||
<%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_non_negative",
|
||||
spec="https://drafts.csswg.org/css-box-3/#propdef-padding",
|
||||
allow_quirks=True)}
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[c5510-padn-002.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[padding-009.htm]
|
||||
type: reftest
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue