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

Issue 303993003: Handle initial values in background-repeat introduced by the background shorthand (Closed)

Created:
6 years, 6 months ago by alancutter (OOO until 2018)
Modified:
6 years, 6 months ago
Reviewers:
Timothy Loh, rune
CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Visibility:
Public.

Description

Handle initial values in background-repeat introduced by the background shorthand background-repeat serialization did not handle initial keyword values in background-repeat value lists. Initial values in value lists are introduced by setting the background shorthand to multiple background values while omitting background-repeat properties. Example: background: url(#1), url(#2), url(#3); The background-repeat gets stored internally as "initial, initial, initial". This patch updates StylePropertySerializer::backgroundRepeatPropertyValue() to handle this case correctly. BUG=378167 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175261

Patch Set 1 #

Patch Set 2 : Upgrade test #

Patch Set 3 : Review changes #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -8 lines) Patch
M LayoutTests/fast/css/background-repeat-serialize.html View 1 1 chunk +8 lines, -1 line 0 comments Download
M Source/core/css/StylePropertySerializer.cpp View 1 2 2 chunks +11 lines, -7 lines 3 comments Download

Messages

Total messages: 8 (0 generated)
alancutter (OOO until 2018)
6 years, 6 months ago (2014-05-29 02:32:51 UTC) #1
rune
https://codereview.chromium.org/303993003/diff/40001/Source/core/css/StylePropertySerializer.cpp File Source/core/css/StylePropertySerializer.cpp (right): https://codereview.chromium.org/303993003/diff/40001/Source/core/css/StylePropertySerializer.cpp#newcode707 Source/core/css/StylePropertySerializer.cpp:707: // FIXME: Ensure initial values do not appear in ...
6 years, 6 months ago (2014-05-31 22:36:01 UTC) #2
alancutter (OOO until 2018)
https://codereview.chromium.org/303993003/diff/40001/Source/core/css/StylePropertySerializer.cpp File Source/core/css/StylePropertySerializer.cpp (right): https://codereview.chromium.org/303993003/diff/40001/Source/core/css/StylePropertySerializer.cpp#newcode707 Source/core/css/StylePropertySerializer.cpp:707: // FIXME: Ensure initial values do not appear in ...
6 years, 6 months ago (2014-06-01 03:57:37 UTC) #3
rune
https://codereview.chromium.org/303993003/diff/40001/Source/core/css/StylePropertySerializer.cpp File Source/core/css/StylePropertySerializer.cpp (right): https://codereview.chromium.org/303993003/diff/40001/Source/core/css/StylePropertySerializer.cpp#newcode707 Source/core/css/StylePropertySerializer.cpp:707: // FIXME: Ensure initial values do not appear in ...
6 years, 6 months ago (2014-06-02 06:54:49 UTC) #4
alancutter (OOO until 2018)
On 2014/06/02 06:54:49, rune wrote: > I reckon this it's a larger piece of work ...
6 years, 6 months ago (2014-06-02 08:03:39 UTC) #5
alancutter (OOO until 2018)
The CQ bit was checked by alancutter@chromium.org
6 years, 6 months ago (2014-06-02 08:03:44 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alancutter@chromium.org/303993003/40001
6 years, 6 months ago (2014-06-02 08:04:10 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-06-02 09:16:21 UTC) #8
Message was sent while issue was closed.
Change committed as 175261

Powered by Google App Engine
This is Rietveld 408576698