Skip to content
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

Merged
merged 1 commit into from
Mar 14, 2014
Merged

Conversation

pcwalton
Copy link
Contributor

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

@hoppipolla-critic-bot
Copy link

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 git rebase -i or git commit --amend) when updating this pull request.

@SimonSapin
Copy link
Member

Reviewed on Critic.

@pcwalton
Copy link
Contributor Author

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 {
Copy link
Member

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?

Copy link
Member

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.
@pcwalton
Copy link
Contributor Author

Comments addressed, r? @SimonSapin

bors-servo pushed a commit that referenced this pull request Mar 14, 2014
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
bors-servo pushed a commit that referenced this pull request Mar 14, 2014
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
@bors-servo bors-servo merged commit 3f88824 into servo:master Mar 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants