You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
<link rel="stylesheet"> and <style> with inline stylesheet applied in wrong order #3346
The parser code that looks for link elements should probably move to HTMLLinkElement and send a message directly to layout. We don't have any need for the CSS discovery task, as far as I can tell.
Activity
jdm commentedon Sep 15, 2014
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.
jdm commentedon Sep 15, 2014
The parser code that looks for
linkelements should probably move toHTMLLinkElementand send a message directly to layout. We don't have any need for the CSS discovery task, as far as I can tell.Move link rel=stylesheet fetching to layout task
Move link rel=stylesheet fetching to layout task
Move link rel=stylesheet fetching to layout task
Move link rel=stylesheet fetching to layout task
Move link rel=stylesheet fetching to layout task