Missing style invalidation for :-webkit-any with multiple type selectors
Reported by
r...@opera.com,
Aug 26 2016
|
|||
Issue description
Extracted InvalidationSetFeatures can only contain a single type selector. However, a compound can contain multiple type selectors when used with :-webkit-any():
.green :-webkit-any(span, div) { color: green }
We need to support multiple type selectors for this. Likewise for #id.
,
Aug 26 2016
,
Aug 26 2016
,
Aug 27 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/38d4778dc4775085d9e7221cee7e8658942d748f commit 38d4778dc4775085d9e7221cee7e8658942d748f Author: rune <rune@opera.com> Date: Sat Aug 27 11:45:27 2016 Allow multiple type and id selectors in invalidation set features. :-webkit-any allows for more than one type selector in a compound selector. Likewise, it may also allow for disjunct id selectors. Make them vectors in InvalidationSetFeatures like we do for classes and attributes to make style invalidation work for multiple id and type selectors in :-webkit-any. R=ericwilligers@chromium.org,sashab@chromium.org BUG= 641296 Review-Url: https://codereview.chromium.org/2284633002 Cr-Commit-Position: refs/heads/master@{#414933} [add] https://crrev.com/38d4778dc4775085d9e7221cee7e8658942d748f/third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any.html [modify] https://crrev.com/38d4778dc4775085d9e7221cee7e8658942d748f/third_party/WebKit/Source/core/css/RuleFeature.cpp [modify] https://crrev.com/38d4778dc4775085d9e7221cee7e8658942d748f/third_party/WebKit/Source/core/css/RuleFeature.h [modify] https://crrev.com/38d4778dc4775085d9e7221cee7e8658942d748f/third_party/WebKit/Source/core/css/RuleFeatureSetTest.cpp
,
Aug 27 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by r...@opera.com
, Aug 26 2016Labels: OS-All
290 bytes
290 bytes View Download