-
Notifications
You must be signed in to change notification settings - Fork 385
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
Add runtime CSS minification, !important replacement, and tree shaking #1048
Commits on Mar 31, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 48a538b - Browse repository at this point
Copy the full SHA 48a538bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e994a9 - Browse repository at this point
Copy the full SHA 0e994a9View commit details -
Use sabberworm/php-css-parser to sanitize CSS
* Compress CSS output with compact format, removing whitespace and comments. * Reduce length of generated class names for inline styles. * Unify logic for handling inline style attributes with handling stylesheets in style/link.
Configuration menu - View commit details
-
Copy full SHA for 8271fac - Browse repository at this point
Copy the full SHA 8271facView commit details -
Configuration menu - View commit details
-
Copy full SHA for a96b39b - Browse repository at this point
Copy the full SHA a96b39bView commit details -
Include sabberworm/php-css-parser from composer in build; always comp…
…oser install in Travis build
Configuration menu - View commit details
-
Copy full SHA for 06fca39 - Browse repository at this point
Copy the full SHA 06fca39View commit details -
Add check for composer install; update contributing with dev installa…
…tion instructions
Configuration menu - View commit details
-
Copy full SHA for c27e9a2 - Browse repository at this point
Copy the full SHA c27e9a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ef82f7 - Browse repository at this point
Copy the full SHA 8ef82f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e16aba2 - Browse repository at this point
Copy the full SHA e16aba2View commit details -
Improve handling of style[amp-keyframes] by merging multiples and ens…
…uring end of body
Configuration menu - View commit details
-
Copy full SHA for 036c631 - Browse repository at this point
Copy the full SHA 036c631View commit details -
Transform !important property qualifiers into rules with more specifi…
…c selectors (following replace-important package) Eliminate illegal_css_important_qualifier validation error now that transformed
Configuration menu - View commit details
-
Copy full SHA for fd04b20 - Browse repository at this point
Copy the full SHA fd04b20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5da10f3 - Browse repository at this point
Copy the full SHA 5da10f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 523d5ee - Browse repository at this point
Copy the full SHA 523d5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1889f70 - Browse repository at this point
Copy the full SHA 1889f70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9187710 - Browse repository at this point
Copy the full SHA 9187710View commit details -
Add parsing and validation of keyframes
* Handle CSS parse errors. * Let spec inform which @-rules are allowed. * Improve handling of vendor-prefixed properties in whitelist/blacklists. * Inform when !important qualifier is removed from rules with selectors (that aren't keyframes).
Configuration menu - View commit details
-
Copy full SHA for 3d18b8a - Browse repository at this point
Copy the full SHA 3d18b8aView commit details
Commits on Apr 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f245a8f - Browse repository at this point
Copy the full SHA f245a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c49807 - Browse repository at this point
Copy the full SHA 6c49807View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e3266b - Browse repository at this point
Copy the full SHA 3e3266bView commit details -
Further reduce CSS size by deleting individual selectors that lack va…
…lid class references
Configuration menu - View commit details
-
Copy full SHA for 6b5f97e - Browse repository at this point
Copy the full SHA 6b5f97eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae68eee - Browse repository at this point
Copy the full SHA ae68eeeView commit details
Commits on Apr 2, 2018
-
Remove attribute selectors prior to searching for class names to prev…
…ent false matches
Configuration menu - View commit details
-
Copy full SHA for 6d4778e - Browse repository at this point
Copy the full SHA 6d4778eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2693f7e - Browse repository at this point
Copy the full SHA 2693f7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for faef934 - Browse repository at this point
Copy the full SHA faef934View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb3cc2c - Browse repository at this point
Copy the full SHA cb3cc2cView commit details -
Handle selector specificity variability; give high specificity to rul…
…es from style attrs * Reduce length of dummy ID from "FK_ID" to just "_". * Ensure !important added to selectors on html element are handled.
Configuration menu - View commit details
-
Copy full SHA for 346eae2 - Browse repository at this point
Copy the full SHA 346eae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14c22c2 - Browse repository at this point
Copy the full SHA 14c22c2View commit details
Commits on Apr 5, 2018
-
Merge branch 'develop' of https://github.com/Automattic/amp-wp into a…
…dd/css-tree-shaking
Configuration menu - View commit details
-
Copy full SHA for 313f0b9 - Browse repository at this point
Copy the full SHA 313f0b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bede9de - Browse repository at this point
Copy the full SHA bede9deView commit details
Commits on Apr 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for adb1fb1 - Browse repository at this point
Copy the full SHA adb1fb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8fddf2 - Browse repository at this point
Copy the full SHA a8fddf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cd9fdd - Browse repository at this point
Copy the full SHA 3cd9fddView commit details -
Configuration menu - View commit details
-
Copy full SHA for efd1965 - Browse repository at this point
Copy the full SHA efd1965View commit details