DescriptionAdd hasViewportRule() flag to StyleSheetContents.
This is a pre-requisite for collecting viewport rules before generating
the RuleSet. The RuleSet contents depends on media query evaluation,
which in turn depends on viewport size resolution, which means we are
currently may generate the RuleSet, and recalculate style, twice in the
presence of both @media and @viewport.
This CL is split out from [1] which in turn is split out from [2].
[1] https://codereview.chromium.org/2405143003/
[2] https://codereview.chromium.org/1913833002/
R=timloh@chromium.org
BUG=463098
Committed: https://crrev.com/d0fae7951dff76665a0fbe4c26abb1a94b87072f
Cr-Commit-Position: refs/heads/master@{#425273}
Patch Set 1 #Patch Set 2 : CORE_EXPORT #
Dependent Patchsets: Messages
Total messages: 15 (10 generated)
|