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

Issue 162993002: hr color attribute not working. (Closed)

Created:
6 years, 10 months ago by Gurpreet
Modified:
6 years, 9 months ago
Reviewers:
eseidel, esprehn, rwlbuis
CC:
blink-reviews, dglazkov+blink, adamk+blink_chromium.org, lgombos, gyuyoung-inactive, ryuan, tonikitoo_
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

hr color attribute not working. The noshade attribute is a boolean attribute and when set on hr element it shows a gray color. When there is color attribute the default gray color should be replaced by the color mentioned by the color attribute. Firefox and IE show the same behaviour but Blink is different. Making the behaviour of Blink similiar to Firefox and IE's behaviour. When the color attribute is present that value is applied and the default gray color is ignored. Incase of no color attribute the default gray color is applied. I already landed this patch on Webkit. Just modified the layout test file. http://trac.webkit.org/changeset/161334 R=esprehn@chromium.org,eseidel@chromium.org BUG=175359 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168571

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -4 lines) Patch
A LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html View 1 1 chunk +15 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute-expected.txt View 1 chunk +21 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/HTMLHrElement/script-tests/color-noshade-attribute.js View 1 2 1 chunk +19 lines, -0 lines 0 comments Download
M Source/core/html/HTMLHRElement.cpp View 1 2 3 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
rwlbuis
See my nit. https://codereview.chromium.org/162993002/diff/1/LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html File LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html (right): https://codereview.chromium.org/162993002/diff/1/LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html#newcode7 LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html:7: <hr id="hrElement1" color="red" noshade> Patch looks ...
6 years, 10 months ago (2014-02-14 19:04:15 UTC) #1
Gurpreet
On 2014/02/14 19:04:15, rwlbuis wrote: > See my nit. > > https://codereview.chromium.org/162993002/diff/1/LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html > File LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html ...
6 years, 10 months ago (2014-02-17 04:42:25 UTC) #2
Gurpreet
Changes done. Please have a look. https://codereview.chromium.org/162993002/diff/1/LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html File LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html (right): https://codereview.chromium.org/162993002/diff/1/LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html#newcode7 LayoutTests/fast/dom/HTMLHrElement/hr-color-noshade-attribute.html:7: <hr id="hrElement1" color="red" ...
6 years, 10 months ago (2014-02-17 07:45:35 UTC) #3
Gurpreet
Please review. Thanks.
6 years, 10 months ago (2014-02-19 09:31:08 UTC) #4
Gurpreet
The CQ bit was checked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-02-28 05:41:18 UTC) #5
Gurpreet
The CQ bit was unchecked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-02-28 05:41:19 UTC) #6
Gurpreet
The CQ bit was checked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-02-28 05:41:26 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 05:41:31 UTC) #8
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 9 months ago (2014-02-28 05:41:32 UTC) #9
Gurpreet
The CQ bit was unchecked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-02-28 05:50:00 UTC) #10
rwlbuis
https://codereview.chromium.org/162993002/diff/90001/LayoutTests/fast/dom/HTMLHrElement/script-tests/color-noshade-attribute.js File LayoutTests/fast/dom/HTMLHrElement/script-tests/color-noshade-attribute.js (right): https://codereview.chromium.org/162993002/diff/90001/LayoutTests/fast/dom/HTMLHrElement/script-tests/color-noshade-attribute.js#newcode12 LayoutTests/fast/dom/HTMLHrElement/script-tests/color-noshade-attribute.js:12: document.getElementById('hrElement5').setAttribute("noshade", ""); Nit: you should choose one indenting style ...
6 years, 9 months ago (2014-03-04 19:11:34 UTC) #11
eseidel
lgtm
6 years, 9 months ago (2014-03-04 19:14:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/k.gurpreet@samsung.com/162993002/90001
6 years, 9 months ago (2014-03-04 19:15:22 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 19:15:24 UTC) #14
commit-bot: I haz the power
Failed to apply patch for Source/core/html/HTMLHRElement.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-04 19:15:25 UTC) #15
Gurpreet
The CQ bit was checked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-03-05 07:02:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/k.gurpreet@samsung.com/162993002/160001
6 years, 9 months ago (2014-03-05 07:03:02 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-05 07:03:04 UTC) #18
commit-bot: I haz the power
Failed to apply patch for Source/core/html/HTMLHRElement.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 9 months ago (2014-03-05 07:03:04 UTC) #19
Gurpreet
The CQ bit was checked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-03-05 08:28:02 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/k.gurpreet@samsung.com/162993002/180001
6 years, 9 months ago (2014-03-05 08:30:13 UTC) #21
Gurpreet
The CQ bit was unchecked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-03-05 13:05:09 UTC) #22
Gurpreet
The CQ bit was checked by k.gurpreet@samsung.com
6 years, 9 months ago (2014-03-05 13:06:11 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/k.gurpreet@samsung.com/162993002/180001
6 years, 9 months ago (2014-03-05 13:06:23 UTC) #24
Gurpreet
On 2014/03/04 19:14:47, eseidel wrote: > lgtm Thanks Eric for the review.
6 years, 9 months ago (2014-03-05 14:15:50 UTC) #25
rwlbuis
On 2014/03/05 14:15:50, Gurpreet wrote: > On 2014/03/04 19:14:47, eseidel wrote: > > lgtm > ...
6 years, 9 months ago (2014-03-05 15:55:35 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/k.gurpreet@samsung.com/162993002/180001
6 years, 9 months ago (2014-03-05 20:58:05 UTC) #27
commit-bot: I haz the power
Change committed as 168571
6 years, 9 months ago (2014-03-06 04:19:43 UTC) #28
Gurpreet
6 years, 9 months ago (2014-03-07 07:47:42 UTC) #29
Message was sent while issue was closed.
On 2014/03/05 15:55:35, rwlbuis wrote:
> On 2014/03/05 14:15:50, Gurpreet wrote:
> > On 2014/03/04 19:14:47, eseidel wrote:
> > > lgtm
> > 
> > Thanks Eric for the review.
> 
> BTW one thing to take into account for future patches, it is better to give a
> clear description for each patch set that you upload. This makes it easier for
> the reviewer to see what changed.

Sure Rob will take care for future patches. Thanks.

Powered by Google App Engine
This is Rietveld 408576698