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

deps: update cssstyle to parse more named colors, CSS4 colors #7283

Merged
merged 3 commits into from
Feb 25, 2019

Conversation

brendankenny
Copy link
Member

@brendankenny brendankenny commented Feb 20, 2019

90% of this is tests :)
(manifest-parser.js had no existing tests for its color parsing)

(edit: unit tests. It does have integration tests through themed-omnibox, splash-screen, et al.)

fixes #7139

@brendankenny
Copy link
Member Author

this adds 2.6 KB to the bundle (.8 KB after gzip), almost entirely due to the newly added named colors

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! LGTM outside the test issue

@@ -455,4 +455,99 @@ describe('Manifest Parser', function() {
assert.equal(url0, undefined);
});
});

describe.only('background_color, theme_color', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove .only

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d'oh, they should have a test test for that :)

@brendankenny
Copy link
Member Author

nice! LGTM outside the test issue

LGTY but needs approval :)

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTY, LGTM, LGTA! 🎉

Copy link
Member

@exterkamp exterkamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM looks good! 💜

@patrickhulce patrickhulce merged commit f7d7324 into master Feb 25, 2019
@patrickhulce patrickhulce deleted the cssstyle branch February 25, 2019 19:11
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.

background_color and theme_color fail for most named colours
3 participants