DescriptionImplement MediaValues for initial viewport.
Viewport-dependent media queries evaluate in the context of the initial
viewport when collecting @viewport rules as specified in [1]. Implement
a MediaValuesInitialViewport which returns the initial viewport
dimensions instead of the actual viewport. This change doesn't fix
issue 332763 until we start collecting author @viewport rules before
creating RuleSets.
[1] https://www.w3.org/TR/css-device-adapt-1/#media-queries
R=timloh@chromium.org
BUG=332763
Committed: https://crrev.com/cdb270396aeb667c46e53ed6df0c01fa8ddf4a74
Cr-Commit-Position: refs/heads/master@{#425628}
Patch Set 1 #Patch Set 2 : CORE_EXPORT in inheritance chain for Windows #Messages
Total messages: 15 (10 generated)
|