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

Implement style computing #1399

Merged
merged 9 commits into from Mar 4, 2021
Merged

Implement style computing #1399

merged 9 commits into from Mar 4, 2021

Commits on Mar 3, 2021

  1. Implement style computing

    Ref #777
    
    Currently a lot of optimisations are attributes specific and may be
    broken because of inline or shared styles.
    
    In this diff I'm trying to solve the problem with getComputedStyle
    analog.
    
    `computeStyle` collects attributes, shared css rules, inline styles
    and inherited styles and checks whether they can be statically optimised
    or left as deoptimisation.
    TrySound committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    4d8ded4 View commit details
    Browse the repository at this point in the history
  2. Fix lint

    TrySound committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    b061d4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4028c35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c2f2203 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    91d0747 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e1cb654 View commit details
    Browse the repository at this point in the history
  7. Fix brackets

    TrySound committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    9b97728 View commit details
    Browse the repository at this point in the history
  8. Check attrs for existence

    TrySound committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    9200950 View commit details
    Browse the repository at this point in the history
  9. Support cdata in <style>

    TrySound committed Mar 3, 2021
    Configuration menu
    Copy the full SHA
    a6e9cc2 View commit details
    Browse the repository at this point in the history