DescriptionUse css-device-adapt constraining for legacy viewport tags.
This CL is trying to take the part of Kenneth's CL [1] that is about using
the constraining procedure from the CSS Device Adaptation spec for legacy
meta tags, as well as for @viewport descriptors, to better match the
specification. Descriptors translated from meta tags are not cascaded with
@viewport rules but are only applied if @viewport from author style is not
present. See thread [2] on www-style.
ViewportArguments::resolve had different modes for resolving viewport
descriptors depending on the source. This CL translates legacy meta viewport
tags into descriptor values as specified by the css-device-adapt spec, but
they are not cascaded together as currently spec'ed. The prioritization is
still the same, overwriting descriptors from lower priority sources.
XHTML MP viewport is implemented through UA styles using @viewport.
[1] https://codereview.chromium.org/19555002/
[2] http://lists.w3.org/Archives/Public/www-style/2012May/0371.html
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157293
Patch Set 1 #
Total comments: 17
Patch Set 2 : Fixed review issues. #
Total comments: 10
Patch Set 3 : More review issues. #
Total comments: 1
Patch Set 4 : Got rid of useLegacyViewportArguments method. #Patch Set 5 : Rebased onto newer master. #
Total comments: 6
Patch Set 6 : More review issues #
Total comments: 6
Patch Set 7 : Rebased to recent master #
Total comments: 2
Patch Set 8 : Review issue: one assignent per line/statement #Messages
Total messages: 27 (0 generated)
|