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

Add runtime CSS minification, !important replacement, and tree shaking #1048

Merged
merged 32 commits into from
Apr 6, 2018

Commits on Mar 31, 2018

  1. Configuration menu
    Copy the full SHA
    48a538b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e994a9 View commit details
    Browse the repository at this point in the history
  3. 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.
    westonruter committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    8271fac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a96b39b View commit details
    Browse the repository at this point in the history
  5. Include sabberworm/php-css-parser from composer in build; always comp…

    …oser install in Travis build
    westonruter committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    06fca39 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c27e9a2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ef82f7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e16aba2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    036c631 View commit details
    Browse the repository at this point in the history
  10. 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
    westonruter committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    fd04b20 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5da10f3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    523d5ee View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1889f70 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    9187710 View commit details
    Browse the repository at this point in the history
  15. 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).
    westonruter committed Mar 31, 2018
    Configuration menu
    Copy the full SHA
    3d18b8a View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2018

  1. Configuration menu
    Copy the full SHA
    f245a8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6c49807 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e3266b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6b5f97e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae68eee View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2018

  1. Configuration menu
    Copy the full SHA
    6d4778e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2693f7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    faef934 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cb3cc2c View commit details
    Browse the repository at this point in the history
  5. 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.
    westonruter committed Apr 2, 2018
    Configuration menu
    Copy the full SHA
    346eae2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    14c22c2 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2018

  1. Configuration menu
    Copy the full SHA
    313f0b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bede9de View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2018

  1. Configuration menu
    Copy the full SHA
    adb1fb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8fddf2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3cd9fdd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    efd1965 View commit details
    Browse the repository at this point in the history