Repository navigation
Test box-shadow serialization - #9519
Merged
gsnedders merged 2 commits intoApr 10, 2018
Merged
Conversation
wpt-pr-bot
requested review from
bert-github,
bradkemper,
chenxix,
dbaron and
fantasai
February 14, 2018 19:23
Member
Author
|
@fantasai Since you made the edits and originally wrote this test, could you take a look? |
Following w3c/csswg-drafts#2305, the canonical serialization for box-shadow was changed from inset? && <length>{2,4} && <color>? to <color>? && <length>{2,4} && inset?. Convert an existing box-shadow text into a testharness.js test in order to test serialization as well.
csnardi
force-pushed
the
box-shadow-serialization
branch
from
February 14, 2018 19:25
b5e246e to
8e9f916
Compare
Build PENDINGStarted: None View more information about this build on: |
Contributor
|
I defer to @gsnedders on this one. |
Member
Hmm, that's odd; it should definitely work. http://w3c-test.org/css/cssom-view/media-query-list-interface.xht for example looks fine here? And having copied and renamed your file it works too once I add in the optional tags? Otherwise this LGTM. |
gsnedders
approved these changes
Apr 9, 2018
Member
Author
|
@gsnedders Huh, I probably just messed up something then. Should I change this back to XHTML, or leave it as-is? |
Member
|
@csnardi No need; not sure why I didn't merge before? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following w3c/csswg-drafts#2305, the canonical serialization for box-shadow was changed from
inset? && <length>{2,4} && <color>?to<color>? && <length>{2,4} && inset?. Convert an existing box-shadow text into a testharness.js test in order to test serialization as well.I added
parsing-testcommon.jsas a copy of https://github.com/w3c/web-platform-tests/blob/master/css/css-transforms/parsing/resources/parsing-testcommon.js (this should probably be moved into a css/resources directory), and also renamed the file as it seems the testharness reporting does not play nicely with XHTML (it had no styling).