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 :-moz-anonymous-content in stylo #16877

Merged
merged 2 commits into from May 15, 2017

Commits on May 15, 2017

  1. Fix style sharing cache lookups to compare ids of the two elements.

    Otherwise we can have a situation like this:
    
      <style>
        .notmatching > #foo {}
      </style>
      <span id="foo"></span>
      <span></span>
    
    and the style sharing cache lookup for the second <span> would try to revalidate
    against the cached value for the first <span>, but end up failing asserts about
    the two elements matching lists of revalidation selectors that have the same
    length.
    bzbarsky committed May 15, 2017
You can’t perform that action at this time.