DescriptionDon't generate RuleSets for viewport UA sheets.
Start collecting UA @viewport rules from the StyleSheetContents instead
of the RuleSet. The reason is that we need to collect viewport rules
before creating the RuleSet in order to use the correct actual viewport
for evaluating media queries. This is split out from [1].
Also introducing a separate MediaQueryEvaluator in the
ViewportStyleResolver which should eventually be based on the initial
viewport and not the actual viewport as described in the CSS Device
Adaptation spec.
[1] https://codereview.chromium.org/2405143003
R=timloh@chromium.org
BUG=463098
Committed: https://crrev.com/4b7a7561cf670c265fbeccaa1a279db7e18686b6
Cr-Commit-Position: refs/heads/master@{#425284}
Patch Set 1 #Patch Set 2 : Don't generate RuleSets for viewport UA sheets. #
Total comments: 2
Patch Set 3 : Missing traversal of @supports rules. #Patch Set 4 : Rebased #
Messages
Total messages: 18 (11 generated)
|