Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign uptest whitespace in pseudo-element selector throws syntax error #16228
Conversation
highfive
commented
Apr 2, 2017
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @jdm (or someone else) soon. |
|
Hi, thanks for doing this! Seems like you need to update the test manifest so CI is green ( We should also add tests for empty attribute selectors. There are some tests already, but we need to check Thanks again for looking into this! |
| @@ -37,6 +37,8 @@ var invalidSelectors = [ | |||
| {name: "Unknown pseudo-element", selector: "div::example"}, | |||
| {name: "Unknown pseudo-element", selector: "::example"}, | |||
| {name: "Invalid pseudo-element", selector: ":::before"}, | |||
| {name: "Invalid pseudo-element", selector: ": before"}, | |||
This comment has been minimized.
This comment has been minimized.
|
Hi @emilio thanks for reviewing! I have fixed the whitespace issue but just wanted to clarify about the checks for empty attribute selectors. I have added |
|
Sorry, those are not invalid selectors.
|
|
@jacksonweekes Are you planning to finish this? |
|
|
|
Closing due to lack of activity. |
jacksonweekes commentedApr 2, 2017
•
edited
Issue #15448 - Land the test cases that should've landed with the selectors update. Tests that syntax error is thrown when pseudo-element selector contains whitespace - related to issue #15335
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is