-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
script: Fix background color of Acid2. #1905
Conversation
Critic review: https://critic.hoppipolla.co.uk/r/1021 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 |
Reviewed on Critic. |
Comments addressed. r? @SimonSapin |
/// | ||
/// http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html# | ||
/// space-character | ||
pub fn is_space_character(ch: char) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason not to use ['\u0020', '\u0009', '\u000a', '\u000c', '\u000d']
and get the CharEq
implementation for free?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps call it something with "html" in the name, to disambiguate in case different specs have different opinions of what’s a space.
There were two problems here: (1) we did not process style sheets with an unexpected `rel` attribute but a correct MIME type; (2) we did not consider `none` a valid value for the `background` property.
Comments addressed, r? @SimonSapin |
There were two problems here: (1) we did not process style sheets with an unexpected `rel` attribute but a correct MIME type; (2) we did not consider `none` a valid value for the `background` property. r? @SimonSapin
There were two problems here: (1) we did not process style sheets with an unexpected `rel` attribute but a correct MIME type; (2) we did not consider `none` a valid value for the `background` property. r? @SimonSapin
There were two problems here: (1) we did not process style sheets with an
unexpected
rel
attribute but a correct MIME type; (2) we did notconsider
none
a valid value for thebackground
property.r? @SimonSapin