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

Issue 16826008: [css-device-adapt] Implemented spec changes. (Closed)

Created:
7 years, 6 months ago by rune
Modified:
7 years, 5 months ago
CC:
blink-reviews, kenneth.christiansen, eae+blinkwatch, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, Peter Beverloo
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[css-device-adapt] Implemented spec changes. Modified implementation to match spec changes: - Allow zero lengths for initial and actual viewport sizes. - auto width and height lengths depending on aspect-ratio, never on zoom. BUG=None Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154237

Patch Set 1 #

Patch Set 2 : Fixed viewport-131.html regression. #

Total comments: 3

Patch Set 3 : Added ASSERT #

Patch Set 4 : Rebased onto current master #

Patch Set 5 : Corrected expectations for tests added after original upload. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -30 lines) Patch
M LayoutTests/css3/device-adapt/opera/constrain-011-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/css3/device-adapt/opera/constrain-013-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/css3/device-adapt/opera/constrain-016-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/css3/device-adapt/opera/constrain-017-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/css3/device-adapt/opera/constrain-018-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/css3/device-adapt/opera/constrain-019-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/css3/device-adapt/viewport-initial-height-zero.html View 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-initial-height-zero-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-initial-width-zero.html View 1 chunk +22 lines, -0 lines 0 comments Download
A LayoutTests/css3/device-adapt/viewport-initial-width-zero-expected.txt View 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/css3/device-adapt/viewport-insert-rule-after-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/css3/device-adapt/viewport-insert-rule-before-expected.txt View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/resolver/ViewportStyleResolver.cpp View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/dom/ViewportArguments.cpp View 1 2 3 3 chunks +15 lines, -20 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
rune
7 years, 6 months ago (2013-06-12 23:20:48 UTC) #1
abarth-chromium
Looks reasonable to me, but I'm not an expert on this code.
7 years, 6 months ago (2013-06-12 23:22:09 UTC) #2
kenneth.r.christiansen
Great stuff :-) lgtm as long as current viewport meta tag tests continue to pass. ...
7 years, 6 months ago (2013-06-12 23:24:44 UTC) #3
kenneth.r.christiansen
7 years, 6 months ago (2013-06-12 23:26:54 UTC) #4
kenneth.r.christiansen
7 years, 6 months ago (2013-06-12 23:27:10 UTC) #5
rune
There is a regression in viewport-131.html. I need to look into that.
7 years, 6 months ago (2013-06-12 23:29:48 UTC) #6
rune
On 2013/06/12 23:29:48, rune wrote: > There is a regression in viewport-131.html. I need to ...
7 years, 6 months ago (2013-06-13 13:08:34 UTC) #7
kenneth.r.christiansen
https://codereview.chromium.org/16826008/diff/8001/Source/core/dom/ViewportArguments.cpp File Source/core/dom/ViewportArguments.cpp (right): https://codereview.chromium.org/16826008/diff/8001/Source/core/dom/ViewportArguments.cpp#newcode158 Source/core/dom/ViewportArguments.cpp:158: resultWidth = resultHeight * initialViewportSize.width() / initialViewportSize.height(); I am ...
7 years, 6 months ago (2013-06-13 13:46:41 UTC) #8
rune
On 2013/06/13 13:46:41, kenneth.r.christiansen wrote: > https://codereview.chromium.org/16826008/diff/8001/Source/core/dom/ViewportArguments.cpp > File Source/core/dom/ViewportArguments.cpp (right): > > https://codereview.chromium.org/16826008/diff/8001/Source/core/dom/ViewportArguments.cpp#newcode158 > ...
7 years, 6 months ago (2013-06-13 14:32:32 UTC) #9
kenneth.r.christiansen
Adding John and Peter to the discussion
7 years, 6 months ago (2013-06-13 14:55:21 UTC) #10
rune
On 2013/06/13 14:55:21, kenneth.r.christiansen wrote: > Adding John and Peter to the discussion Stalled. You ...
7 years, 6 months ago (2013-06-26 09:13:38 UTC) #11
Peter Beverloo
Sorry for the delay, Rune! John, could you please reply to the question Kenneth left ...
7 years, 5 months ago (2013-06-28 01:13:51 UTC) #12
rune
https://codereview.chromium.org/16826008/diff/8001/Source/core/dom/ViewportArguments.cpp File Source/core/dom/ViewportArguments.cpp (right): https://codereview.chromium.org/16826008/diff/8001/Source/core/dom/ViewportArguments.cpp#newcode158 Source/core/dom/ViewportArguments.cpp:158: resultWidth = resultHeight * initialViewportSize.width() / initialViewportSize.height(); On 2013/06/28 ...
7 years, 5 months ago (2013-07-03 08:01:52 UTC) #13
jochen (gone - plz use gerrit)
lgtm
7 years, 5 months ago (2013-07-09 12:36:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/16826008/20001
7 years, 5 months ago (2013-07-09 12:47:31 UTC) #15
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=15466
7 years, 5 months ago (2013-07-09 13:36:06 UTC) #16
apavlov
On 2013/07/09 13:36:06, I haz the power (commit-bot) wrote: > Retried try job too often ...
7 years, 5 months ago (2013-07-10 08:15:05 UTC) #17
rune
On 2013/07/10 08:15:05, apavlov wrote: > On 2013/07/09 13:36:06, I haz the power (commit-bot) wrote: ...
7 years, 5 months ago (2013-07-13 22:27:02 UTC) #18
johnme
lgtm Sorry about the delay - these emails somehow missed my priority inbox. Patch lgtm. ...
7 years, 5 months ago (2013-07-15 15:27:13 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/16826008/42001
7 years, 5 months ago (2013-07-15 15:27:21 UTC) #20
commit-bot: I haz the power
7 years, 5 months ago (2013-07-15 16:46:54 UTC) #21
Message was sent while issue was closed.
Change committed as 154237

Powered by Google App Engine
This is Rietveld 408576698