diff options
author | Boris Zbarsky <bzbarsky@mit.edu> | 2017-05-15 15:55:05 -0400 |
---|---|---|
committer | Boris Zbarsky <bzbarsky@mit.edu> | 2017-05-15 15:55:05 -0400 |
commit | 5ddf455235be2a31d10ef388572a35d2433361ae (patch) | |
tree | dfc70ffdb1997799e307cb880699fcef524065f8 /components/script/dom/bindings/codegen/parser | |
parent | f3c8f7e0d0fb42f32e3699d07fc0f8002bf564c8 (diff) | |
download | servo-5ddf455235be2a31d10ef388572a35d2433361ae.tar.gz servo-5ddf455235be2a31d10ef388572a35d2433361ae.zip |
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.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser')
0 files changed, 0 insertions, 0 deletions