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

stylo: Support system colors #15974

Merged
merged 1 commit into from Mar 16, 2017
Merged

Conversation

@Manishearth
Copy link
Member

Manishearth commented Mar 16, 2017

@highfive
Copy link

highfive commented Mar 16, 2017

Heads up! This PR modifies the following files:

  • @bholley: components/style/gecko_bindings/bindings.rs, components/style/values/specified/color.rs, components/style/gecko_bindings/structs_debug.rs, components/style/build_gecko.rs, components/style/gecko_bindings/structs_release.rs, components/style/values/computed/mod.rs, components/style/properties/longhand/color.mako.rs
  • @emilio: components/style/gecko_bindings/bindings.rs, components/style/values/specified/color.rs, components/style/gecko_bindings/structs_debug.rs, components/style/build_gecko.rs, components/style/gecko_bindings/structs_release.rs, components/style/values/computed/mod.rs, components/style/properties/longhand/color.mako.rs
@highfive
Copy link

highfive commented Mar 16, 2017

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
  • These commits modify style code, but no tests are modified. Please consider adding a test!
@Manishearth
Copy link
Member Author

Manishearth commented Mar 16, 2017

@bors-servo r=heycam

@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2017

📌 Commit ade5f21 has been approved by heycam

@highfive highfive assigned heycam and unassigned pcwalton Mar 16, 2017
@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2017

Testing commit ade5f21 with merge eb536a8...

@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2017

💔 Test failed - linux-dev

MozReview-Commit-ID: HUfTdcMRoEx
@Manishearth Manishearth force-pushed the Manishearth:stylo-system-colors branch from ade5f21 to 6b9a680 Mar 16, 2017
@Manishearth
Copy link
Member Author

Manishearth commented Mar 16, 2017

@bors-servo r=heycam

@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2017

📌 Commit 6b9a680 has been approved by heycam

@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2017

Testing commit 6b9a680 with merge 261a51a...

bors-servo added a commit that referenced this pull request Mar 16, 2017
stylo: Support system colors

r=heycam from https://bugzilla.mozilla.org/show_bug.cgi?id=1340696

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15974)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Mar 16, 2017

@bors-servo bors-servo merged commit 6b9a680 into servo:master Mar 16, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
];

let ident = input.expect_ident()?;
for &(name, color) in PARSE_ARRAY.iter() {

This comment has been minimized.

Copy link
@emilio

emilio Mar 16, 2017

Member

don't we have a case_insensitive_phf_map thing just for this?

This comment has been minimized.

Copy link
@Manishearth

Manishearth Mar 16, 2017

Author Member

Yes, but I'm not sure if it's worth it for a small list like this.

This comment has been minimized.

Copy link
@emilio

emilio Mar 16, 2017

Member

I believe it's worth to be consistent. And case_insensitive_phf_map shouldn't be slower or anything.

This comment has been minimized.

Copy link
@Manishearth

Manishearth Mar 16, 2017

Author Member

Works for me.

This comment has been minimized.

Copy link
@Manishearth

Manishearth Mar 16, 2017

Author Member

filed #15994

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

6 participants
You can’t perform that action at this time.