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

Issue 128203003: Teach mapFill{X,Y}Position about initial values to individual background layers (Closed)

Created:
6 years, 11 months ago by davve
Modified:
6 years, 11 months ago
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, darktears
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Teach mapFill{X,Y}Position about initial values to individual background layers In <https://codereview.chromium.org/35303002>;, it was falsely assumed that the initial values for background-position-{x,y} only came from the property as a whole, ignoring that the initial value must be taken into account *for each layer* too. Otherwise we will leak background positions from one layer to the next, causing the positioning bug the reporter found. This is a partial revert of r160243 along with an added js test. BUG=327307 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164877

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -0 lines) Patch
A LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html View 1 chunk +27 lines, -0 lines 2 comments Download
A LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values-expected.txt View 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/css/resolver/CSSToStyleMap.cpp View 2 chunks +10 lines, -0 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
davve
Sorry for the breakage, I misread the code back in October.
6 years, 11 months ago (2014-01-08 13:48:39 UTC) #1
davve
Julien, can you take a look?
6 years, 11 months ago (2014-01-10 08:34:27 UTC) #2
Julien - ping for review
lgtm, I don't need to see the updated change. https://codereview.chromium.org/128203003/diff/1/LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html File LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html (right): https://codereview.chromium.org/128203003/diff/1/LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html#newcode21 LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html:21: ...
6 years, 11 months ago (2014-01-10 13:37:03 UTC) #3
davve
https://codereview.chromium.org/128203003/diff/1/LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html File LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html (right): https://codereview.chromium.org/128203003/diff/1/LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html#newcode21 LayoutTests/fast/backgrounds/multiple-backgrounds-initial-values.html:21: shouldBeGreaterThanOrEqual('bgPosLayers[0].search("50px")', '0'); On 2014/01/10 13:37:03, Julien Chaffraix - CET ...
6 years, 11 months ago (2014-01-10 14:09:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davve@opera.com/128203003/1
6 years, 11 months ago (2014-01-10 14:51:31 UTC) #5
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 15:00:11 UTC) #6
Message was sent while issue was closed.
Change committed as 164877

Powered by Google App Engine
This is Rietveld 408576698