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

core: use cssstyle to parse CSS colors instead of WebInspector #6091

Merged
merged 1 commit into from
Sep 22, 2018

Conversation

brendankenny
Copy link
Member

Another bit of WebInspector removed. Uses the CSS value parser (just to check if a string is a valid CSS color) from https://github.com/jsakas/CSSStyleDeclaration/blob/master/lib/parsers.js instead of the one in WebInspector.

bundle size is down another 1.4KB on top of #6090 after gzip :)

Copy link
Member

@paulirish paulirish left a comment

Choose a reason for hiding this comment

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

mmmkay

image

@brendankenny brendankenny merged commit ffb8398 into master Sep 22, 2018
@brendankenny brendankenny deleted the colorss branch September 22, 2018 18:46
@patrickhulce
Copy link
Collaborator

I'm guessing @brendankenny meant 1.4KB net after you factor in that we removed DevTools color? :)

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.

3 participants