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

Issue 231153003: Added backround-repeat-x and -y as keyword properties. (Closed)

Created:
6 years, 8 months ago by Dmitry Zvorygin
Modified:
6 years, 8 months ago
CC:
blink-reviews, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis, Max Heinritz
Visibility:
Public.

Description

Added backround-repeat-x and -y as keyword properties. Now code like <element>.style['background-repeat-x'] = 'no-repeat' would work. BUG=352140 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171568

Patch Set 1 #

Patch Set 2 : Added background-repeat-x(-y) test. #

Total comments: 10

Patch Set 3 : Added test cases. Reworked test style as requested. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -30 lines) Patch
M LayoutTests/fast/backgrounds/background-repeat-computed-style.html View 1 2 1 chunk +73 lines, -28 lines 0 comments Download
M LayoutTests/fast/backgrounds/background-repeat-computed-style-expected.txt View 1 2 1 chunk +17 lines, -2 lines 0 comments Download
M Source/core/css/parser/BisonCSSParser-in.cpp View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Dmitry Zvorygin
Please take a look.
6 years, 8 months ago (2014-04-09 16:27:19 UTC) #1
eseidel
Please add a test. Presumably this matchds the spec & other browsers?
6 years, 8 months ago (2014-04-09 17:14:35 UTC) #2
eseidel
So before this change did style="background-repeat-x: norepeat" not work either? Presumably?
6 years, 8 months ago (2014-04-09 17:30:04 UTC) #3
eseidel
6 years, 8 months ago (2014-04-09 17:30:37 UTC) #4
Dmitry Zvorygin
On 2014/04/09 17:30:37, eseidel wrote: Additional details: Before that change it didn't work (maybe that ...
6 years, 8 months ago (2014-04-09 17:39:39 UTC) #5
eseidel
Alan: you have more recent CSS context than I do, could you review and possibly ...
6 years, 8 months ago (2014-04-09 17:40:10 UTC) #6
eseidel
This does appear to be a webkit-only feature. :( http://dev.w3.org/csswg/css-backgrounds/#the-background-position
6 years, 8 months ago (2014-04-09 17:43:18 UTC) #7
ojan
On 2014/04/09 17:39:39, Dmitry Zvorygin wrote: > I think that we should either support background-repeat-x(-y) ...
6 years, 8 months ago (2014-04-09 19:36:26 UTC) #8
TabAtkins
On 2014/04/09 19:36:26, ojan wrote: > On 2014/04/09 17:39:39, Dmitry Zvorygin wrote: > > I ...
6 years, 8 months ago (2014-04-09 22:36:44 UTC) #9
ojan
Tab, if you could email www-style and post a link to this code review, then ...
6 years, 8 months ago (2014-04-09 22:44:56 UTC) #10
TabAtkins
On 2014/04/09 22:44:56, ojan wrote: > Tab, if you could email www-style and post a ...
6 years, 8 months ago (2014-04-10 00:41:38 UTC) #11
alancutter (OOO until 2018)
We should support setting multiple repeat values for background-repeat-x/y eg. "background-repeat-x: repeat, no-repeat". Additionally we ...
6 years, 8 months ago (2014-04-10 01:52:28 UTC) #12
eseidel
Could one of you more advanced CSS hackers help Dmitry with some test case pointers? ...
6 years, 8 months ago (2014-04-10 03:44:42 UTC) #13
eseidel
It sounds like the simplest fix is to make this non-enumerable and leave all the ...
6 years, 8 months ago (2014-04-10 03:45:36 UTC) #14
Dmitry Zvorygin
On 2014/04/10 03:45:36, eseidel wrote: > It sounds like the simplest fix is to make ...
6 years, 8 months ago (2014-04-10 10:32:28 UTC) #15
Dmitry Zvorygin
Ping?
6 years, 8 months ago (2014-04-14 09:40:30 UTC) #16
ojan
Sorry to keep you waiting. LGTM. I think this is a minor enough change that ...
6 years, 8 months ago (2014-04-14 17:17:59 UTC) #17
Dmitry Zvorygin
https://codereview.chromium.org/231153003/diff/20001/LayoutTests/fast/backgrounds/background-repeat-computed-style.html File LayoutTests/fast/backgrounds/background-repeat-computed-style.html (right): https://codereview.chromium.org/231153003/diff/20001/LayoutTests/fast/backgrounds/background-repeat-computed-style.html#newcode3 LayoutTests/fast/backgrounds/background-repeat-computed-style.html:3: <title>Syntax for backgroundRepeat</title> On 2014/04/14 17:17:59, ojan wrote: > ...
6 years, 8 months ago (2014-04-15 11:30:40 UTC) #18
Dmitry Zvorygin
The CQ bit was checked by zvorygin@chromium.org
6 years, 8 months ago (2014-04-15 11:30:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zvorygin@chromium.org/231153003/40001
6 years, 8 months ago (2014-04-15 11:31:17 UTC) #20
commit-bot: I haz the power
6 years, 8 months ago (2014-04-15 12:37:05 UTC) #21
Message was sent while issue was closed.
Change committed as 171568

Powered by Google App Engine
This is Rietveld 408576698