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

Issue 430333002: Do not expose auto as value of widows (Closed)

Created:
6 years, 4 months ago by rwlbuis
Modified:
5 years, 9 months ago
Reviewers:
Timothy Loh
CC:
blink-reviews, blink-reviews-rendering, zoltan1, blink-reviews-css, eae+blinkwatch, ed+blinkwatch_opera.com, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, pdr., rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Do not expose auto as value of widows According to both: http://www.w3.org/TR/CSS2/page.html#propdef-widows and http://dev.w3.org/csswg/css-break/#widows the only allowed values for the widows property are inherit or integer and not 'auto'. We do need to support parsing 'auto' for backward compatibility, but this patch implements not exposing the value though computed style. Behavior matches IE11. BUG=363562 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187543

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Rebase against ToT #

Patch Set 4 : Fix tests #

Patch Set 5 : Different approach #

Patch Set 6 : Without template change #

Patch Set 7 : Use internal widows value for computed style #

Patch Set 8 : Set initial to 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -21 lines) Patch
M LayoutTests/editing/pasteboard/data-transfer-items-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/editing/pasteboard/dragstart-contains-default-content-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/editing/pasteboard/onpaste-text-html-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/events/ondrop-text-html-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/svg/css/getComputedStyle-basic-expected.txt View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSComputedStyleDeclaration.cpp View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.cpp View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 2 3 4 5 6 7 3 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.h View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/rendering/style/StyleRareInheritedData.cpp View 1 2 3 4 5 6 7 3 chunks +0 lines, -3 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
rwlbuis
PTAL
6 years ago (2014-12-17 21:49:01 UTC) #4
Timothy Loh
On 2014/12/17 21:49:01, rwlbuis wrote: > PTAL This is.. weird. I'm pretty sure returning an ...
6 years ago (2014-12-17 23:13:23 UTC) #5
rwlbuis
On 2014/12/17 23:13:23, Timothy Loh wrote: > On 2014/12/17 21:49:01, rwlbuis wrote: > > PTAL ...
6 years ago (2014-12-17 23:29:36 UTC) #6
mstensho (USE GERRIT)
On 2014/12/17 23:29:36, rwlbuis wrote: > On 2014/12/17 23:13:23, Timothy Loh wrote: > > On ...
6 years ago (2014-12-18 08:56:53 UTC) #7
rwlbuis
On 2014/12/18 08:56:53, mstensho wrote: > On 2014/12/17 23:29:36, rwlbuis wrote: > > On 2014/12/17 ...
6 years ago (2014-12-18 18:13:15 UTC) #8
rwlbuis
On 2014/12/18 08:56:53, mstensho wrote: > I suggest that we get rid of 'auto', by ...
6 years ago (2014-12-18 22:04:44 UTC) #9
rwlbuis
On 2014/12/18 22:04:44, rwlbuis wrote: > On 2014/12/18 08:56:53, mstensho wrote: > > I suggest ...
6 years ago (2014-12-18 22:07:11 UTC) #10
Timothy Loh
lgtm I think we can probably get away with removing 'auto' support without a UseCounter. ...
6 years ago (2014-12-18 23:00:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/430333002/180001
6 years ago (2014-12-19 14:18:09 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-19 15:29:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187543

Powered by Google App Engine
This is Rietveld 408576698