Skip to content

Commit

Permalink
Bug 1443103 [wpt PR 9800] - Correct serialization of box-shadow and t…
Browse files Browse the repository at this point in the history
…ext-shadow, a=testonly

Automatic update from web-platform-testsCorrect serialization of box-shadow and text-shadow

Following w3c/csswg-drafts#2305, the canonical serialization for box-shadow was changed to the color then lengths. https://drafts.csswg.org/css-text-decor-3/#text-shadow-property also defines the canonical serialization for text-shadow as the color and then lengths. This caused the test to fail in Firefox, Chrome, and Safari. Update the test to match the spec in both instances.

wpt-commits: a835486e59a94236a55107fe34925079b33ef247
wpt-pr: 9800
wpt-commits: a835486e59a94236a55107fe34925079b33ef247
wpt-pr: 9800
  • Loading branch information
csnardi authored and jgraham committed Apr 15, 2018
1 parent 044b92d commit 02d309b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testing/web-platform/meta/MANIFEST.json
Original file line number Diff line number Diff line change
Expand Up @@ -528823,7 +528823,7 @@
"testharness"
],
"css/css-variables/variable-substitution-shadow-properties.html": [
"0febbaa27e8692583fa2cc29fc8a1523eea9be43",
"b02099a4131127140d023351faacec69527688dd",
"testharness"
],
"css/css-variables/variable-substitution-shorthands.html": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
let templates = [
{
testName:"box-shadow",
expectedValue:"1px 1px 1px 1px rgb(0,128,0)",
expectedValue:"rgb(0, 128, 0) 1px 1px 1px 1px",
},
{
testName:"text-shadow",
expectedValue:"1px 1px 1px rgb(0,128,0)",
expectedValue:"rgb(0, 128, 0) 1px 1px 1px",
},
];

Expand Down

0 comments on commit 02d309b

Please sign in to comment.