Last active
August 29, 2015 14:23
-
-
Save larsbergstrom/92bb6e36702f8e2b968f to your computer and use it in GitHub Desktop.
Servo Layout Exercise
This file contains 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
Reproduce a failing CSS test locally: | |
./mach test-css tests/wpt/css-tests/css21_dev/html4/background-color-088.htm --log-raw out.log | |
Open in the Gecko reftest analyzer to see the failure graphically: | |
http://hoppipolla.co.uk/410/reftest-analyser-structured.xhtml | |
(click on the test name, then mouse over the squares to see the different pixels, though it should be pretty obvious in this case). | |
Looking at the file and the spec (http://www.w3.org/TR/CSS2/syndata.html#value-def-color), what is the likely problem? | |
Extra exercise: | |
The problematic code is in one of Servo's many dependencies. Which one? And how should we fix it? | |
Extreme-mode spec lawyering extra exercise: | |
The behavior specified in CSS2 reflects current browsers and usage in the wild, but may not be strictly consistent with the terminology in CSS3 as to where this behavioral decision should be made. Deeply consider whether / where to make this change and how placement of the change affects standards compliance vs. existing web behavior. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment