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

Issue 1048803002: Remove support of nonstandard 'CSSValueCenter' property value for floated element. (Closed)

Created:
5 years, 8 months ago by Abhijeet Kandalkar Slow
Modified:
5 years, 8 months ago
Reviewers:
vivekg, Timothy Loh, davve
CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove support of nonstandard 'CSSValueCenter' property value for floated element Blink supports nonstandard 'CSSValueCenter' property for floated elements whose behavior is similar to'CSSValueNone'. Issue is CSSParserFastPaths allowing 'center' and CSSPrimitiveValueMappings handling it like 'none'. As per CSS cascading rule, if two declarations have the same weight, origin and specificity the latter specified wins. So, 'center' is overriding previously applied value of float property. As per spec [1], float property doesn't support 'center' value. So, Blink should stop supporting it. [1] http://dev.w3.org/csswg/css-box-3/#float BUG=470633 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=192839

Patch Set 1 #

Total comments: 4

Patch Set 2 : Patch for landing #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -3 lines) Patch
A LayoutTests/fast/block/float/override-property-float.html View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/float/override-property-float-expected.txt View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/css/CSSPrimitiveValueMappings.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/css/parser/CSSParserFastPaths.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
Abhijeet Kandalkar Slow
Please review patch.
5 years, 8 months ago (2015-03-30 11:43:31 UTC) #2
davve
For fun I git blamed myself all the way to the initial revision of WebCore/khtml/css/cssparser.cpp ...
5 years, 8 months ago (2015-03-30 16:19:25 UTC) #4
Timothy Loh
ok lgtm, but fix up the comment that davve@ pointed out. https://codereview.chromium.org/1048803002/diff/1/LayoutTests/fast/block/float/override-property-float.html File LayoutTests/fast/block/float/override-property-float.html (right): ...
5 years, 8 months ago (2015-03-30 23:55:14 UTC) #5
Abhijeet Kandalkar Slow
@David, Please have look of latest patch. https://codereview.chromium.org/1048803002/diff/1/LayoutTests/fast/block/float/override-property-float.html File LayoutTests/fast/block/float/override-property-float.html (right): https://codereview.chromium.org/1048803002/diff/1/LayoutTests/fast/block/float/override-property-float.html#newcode9 LayoutTests/fast/block/float/override-property-float.html:9: background:red; On ...
5 years, 8 months ago (2015-03-31 05:04:19 UTC) #6
davve
Non-owner LGTM with nit. You may also want to clean up the description at least ...
5 years, 8 months ago (2015-03-31 07:32:20 UTC) #7
Abhijeet Kandalkar Slow
@David : Please rubber stamp this change. https://codereview.chromium.org/1048803002/diff/20001/LayoutTests/fast/block/float/override-property-float.html File LayoutTests/fast/block/float/override-property-float.html (right): https://codereview.chromium.org/1048803002/diff/20001/LayoutTests/fast/block/float/override-property-float.html#newcode19 LayoutTests/fast/block/float/override-property-float.html:19: description('If this ...
5 years, 8 months ago (2015-03-31 08:23:16 UTC) #8
davve
On 2015/03/31 08:23:16, Abhijeet Kandalkar wrote: > @David : Please rubber stamp this change. Better ...
5 years, 8 months ago (2015-03-31 09:20:31 UTC) #9
Abhijeet Kandalkar Slow
On 2015/03/31 09:20:31, David Vest wrote: > On 2015/03/31 08:23:16, Abhijeet Kandalkar wrote: > > ...
5 years, 8 months ago (2015-03-31 09:36:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048803002/40001
5 years, 8 months ago (2015-03-31 09:36:23 UTC) #13
Abhijeet Kandalkar Slow
On 2015/03/31 09:36:23, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
5 years, 8 months ago (2015-03-31 13:35:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1048803002/60001
5 years, 8 months ago (2015-03-31 13:36:00 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-03-31 16:01:34 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=192839

Powered by Google App Engine
This is Rietveld 408576698