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 up<link rel="stylesheet"> and <style> with inline stylesheet applied in wrong order #3346
Comments
|
Unsurprisingly, http://mxr.mozilla.org/servo/source/components/script/dom/htmlstyleelement.rs#49 immediately grabs the layout channel and sends the inline contents, while http://mxr.mozilla.org/servo/source/components/script/html/hubbub_html_parser.rs#461 sends a message to the CSS discovery task which waits until all parsing is complete to send a message to the script task to forward the stylesheets to the layout task. |
|
The parser code that looks for |
Fixes servo#3346.
The following testcase has a red background, but should have a green background: