Repository navigation
Move inline stylesheet parsing out of HTML parser. - #1984
Merged
Merged
Conversation
Contributor
Author
There was a problem hiding this comment.
I wasn't sure if this should live in script::html::cssparse, or maybe in one of the Element/Node traits...
|
Critic review: https://critic.hoppipolla.co.uk/r/1102 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
Member
|
This now requires a rebase, unfortunately. |
Contributor
Author
|
r? @Ms2ger |
Instead, use shared code to parse stylesheet content when it is inserted, whether during parsing or dynamically by script. Based on work by sanools in servo#1350.
bors-servo
pushed a commit
that referenced
this pull request
Apr 14, 2014
This is a partial fix for #1959. This commit only addresses inline `<style>` elements. Next I will need to move `<link rel="stylesheet">` handling into shared code, but I wanted to get some early feedback on this piece first.
mbrubeck
added a commit
to mbrubeck/servo
that referenced
this pull request
Apr 14, 2014
Follow-up from servo#1984.
6 tasks done
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.
This is a partial fix for #1959. This commit only addresses inline
<style>elements. Next I will need to move<link rel="stylesheet">handling into shared code, but I wanted to get some early feedback on this piece first.