Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Issue 19632002: Support 'extend-to-zoom' viewport descriptor value (Closed)

Created:
7 years, 5 months ago by Mikhail
Modified:
7 years, 5 months ago
CC:
blink-reviews, kenneth.christiansen, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, darktears, jeez
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Support 'extend-to-zoom' viewport descriptor value Based on patch from Kenneth Rohde Christiansen <kenneth.r.christiansen@intel.com>;. See http://dev.w3.org/csswg/css-device-adapt for details. This new feature is enabled only for UA and user style sheets. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154511

Patch Set 1 #

Total comments: 5

Patch Set 2 : Updated after review comments #

Total comments: 1

Patch Set 3 : Improve initialization in tests. #

Total comments: 3

Patch Set 4 : Added one more test. #

Patch Set 5 : Updated after review from apavlov #

Patch Set 6 : Removed isExtendToZoom() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+255 lines, -38 lines) Patch
A LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom-expected.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/css3/device-adapt/viewport-initial-height-zero.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/css3/device-adapt/viewport-initial-width-zero.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/css3/device-adapt/viewport-insert-rule-after.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M LayoutTests/css3/device-adapt/viewport-insert-rule-before.html View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom-expected.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/css3/device-adapt/viewport-relative-font.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-width-extend-to-zoom.html View 1 2 3 4 5 1 chunk +43 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-width-extend-to-zoom-expected.txt View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/css/CSSParser-in.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSPrimitiveValue.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/css/CSSValueKeywords.in View 1 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/css/LengthFunctions.cpp View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/css/resolver/ViewportStyleResolver.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/dom/ViewportArguments.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/ViewportArguments.cpp View 1 2 3 4 4 chunks +75 lines, -32 lines 0 comments Download
M Source/core/platform/Length.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
kenneth.r.christiansen
generally looks good, a few nits. lgtm https://codereview.chromium.org/19632002/diff/1/LayoutTests/css3/device-adapt/viewport-initial-height-zero.html File LayoutTests/css3/device-adapt/viewport-initial-height-zero.html (right): https://codereview.chromium.org/19632002/diff/1/LayoutTests/css3/device-adapt/viewport-initial-height-zero.html#newcode14 LayoutTests/css3/device-adapt/viewport-initial-height-zero.html:14: testRunner.addUserStyleSheet("@viewport { ...
7 years, 5 months ago (2013-07-17 16:44:30 UTC) #1
kenneth.r.christiansen
Please add a specific test for this, actually at least two, so that you test ...
7 years, 5 months ago (2013-07-17 16:49:52 UTC) #2
kenneth.r.christiansen
I would like one test for width: extend-to-zoom; which is a shorthand for "width: extend-to-zoom ...
7 years, 5 months ago (2013-07-18 14:55:35 UTC) #3
Mikhail
On 2013/07/18 14:55:35, kenneth.r.christiansen wrote: > I would like one test for width: extend-to-zoom; which ...
7 years, 5 months ago (2013-07-18 15:16:06 UTC) #4
apavlov
https://codereview.chromium.org/19632002/diff/13001/Source/core/css/CSSParser-in.cpp File Source/core/css/CSSParser-in.cpp (left): https://codereview.chromium.org/19632002/diff/13001/Source/core/css/CSSParser-in.cpp#oldcode11409 Source/core/css/CSSParser-in.cpp:11409: if (!RuntimeEnabledFeatures::cssViewportEnabled()) Has this removal been agreed upon? Looking ...
7 years, 5 months ago (2013-07-18 16:06:17 UTC) #5
kenneth.r.christiansen
lgtm
7 years, 5 months ago (2013-07-18 16:36:54 UTC) #6
apavlov
lgtm
7 years, 5 months ago (2013-07-18 16:56:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mikhail.pozdnyakov@intel.com/19632002/21003
7 years, 5 months ago (2013-07-18 18:50:46 UTC) #8
commit-bot: I haz the power
7 years, 5 months ago (2013-07-18 20:09:06 UTC) #9
Message was sent while issue was closed.
Change committed as 154511

Powered by Google App Engine
This is Rietveld 408576698