style: Avoid parsing negative padding in the padding shorthand.

This commit is contained in:
Emilio Cobos Álvarez 2017-07-13 02:07:36 +02:00
parent ebfc8f5858
commit 1785fd66a4
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 1 additions and 7 deletions

View file

@ -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)}

View file

@ -1,3 +0,0 @@
[c5510-padn-002.htm]
type: reftest
expected: FAIL

View file

@ -1,3 +0,0 @@
[padding-009.htm]
type: reftest
expected: FAIL