DescriptionRecompute percentage based @viewport on resize.
Percentage values were resolved to px lengths at cascade time for @viewport
widths and heights. This change keeps them as percentage values and recomputes
the actual viewport from the initial viewport and the percentage value when
the intial viewport changes (window resize). Likewise for viewport relative
units (vw, vh, vmin, vmax).
This fixes constrain-006 and constrain-007 in the w3c testsuite.
BUG=269132
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157091
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fixed review issues. #Patch Set 3 : 0px is a less quirky choice. #
Total comments: 2
Patch Set 4 : Rebased to current master #Patch Set 5 : Review issue: removed duplicate ASSERT. #Patch Set 6 : Fixed Mac compile issues. #
Messages
Total messages: 17 (0 generated)
|