DescriptionDon't store a RuleFeatureSet on ScopedStyleResolver.
Instead lets just iterate the list of sheets and ask each one questions. This
shouldn't be much slower since most widgets only have one sheet anyway.
I also moved the media query matching to the sheet collection. We weren't
correctly matching them since we only guarded the feature set, not the
addition to the list of active sheets.
R=abarth@chromium.org, ojan@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/d87602b17cc45a679ecfb9740787418ecc9b83c3
Patch Set 1 #Patch Set 2 : add a test. #Patch Set 3 : better test names. #
Messages
Total messages: 3 (1 generated)
|