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

Issue 783983005: Fix regression caused by r178354 where options in optgroup not indented (Closed)

Created:
6 years ago by keishi
Modified:
6 years ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-css, blink-reviews-html_chromium.org, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Fix regression caused by r178354 where options in optgroup not indented updateLabel wasn't always called when the parents changed so it wasn't getting indented even if it was inside an optgroup. For example the problem happened when the label is provided through the label attribute or when the option is inserted from JS. TEST=automated. listbox-group-indent.html BUG=440253 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=187110

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : DelayScrollToSelection #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 2

Patch Set 12 : Reverted change to Element.cpp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -80 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/select/listbox-group-indent.html View 6 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/select/listbox-group-indent-expected.html View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/fast/forms/select/listbox-appearance-basic-expected.txt View 1 2 3 5 6 1 chunk +5 lines, -2 lines 0 comments Download
M LayoutTests/platform/linux/fast/forms/select/listbox-with-display-none-option-expected.txt View 1 2 3 5 6 3 chunks +25 lines, -10 lines 0 comments Download
M LayoutTests/platform/linux/fast/forms/select/menulist-appearance-basic-expected.txt View 1 2 3 5 6 1 chunk +75 lines, -30 lines 0 comments Download
M LayoutTests/platform/linux/fast/forms/select/optgroup-rendering-expected.txt View 1 2 3 5 6 1 chunk +60 lines, -24 lines 0 comments Download
M Source/core/css/html.css View 6 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/html/HTMLOptionElement.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -12 lines 0 comments Download
M Source/core/html/HTMLSelectElement.h View 1 2 3 4 5 6 7 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/HTMLSelectElement.cpp View 1 2 3 4 5 6 7 5 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
keishi
6 years ago (2014-12-09 04:04:53 UTC) #2
tkent
lgtm. Can we remove textIndentedToRespectGroupLabel()?
6 years ago (2014-12-09 04:14:23 UTC) #3
keishi
On 2014/12/09 04:14:23, tkent wrote: > lgtm. > > Can we remove textIndentedToRespectGroupLabel()? We no ...
6 years ago (2014-12-09 04:17:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/783983005/1
6 years ago (2014-12-09 04:18:14 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/37555)
6 years ago (2014-12-09 05:23:45 UTC) #8
keishi
tkent@ could you take review the change I made to delay scrollToSelection? The layout tests ...
6 years ago (2014-12-12 11:57:24 UTC) #9
tkent
lgtm https://codereview.chromium.org/783983005/diff/200001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (left): https://codereview.chromium.org/783983005/diff/200001/Source/core/dom/Element.cpp#oldcode2663 Source/core/dom/Element.cpp:2663: This change is unnecessary.
6 years ago (2014-12-15 01:23:02 UTC) #10
keishi
Thanks. https://codereview.chromium.org/783983005/diff/200001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (left): https://codereview.chromium.org/783983005/diff/200001/Source/core/dom/Element.cpp#oldcode2663 Source/core/dom/Element.cpp:2663: On 2014/12/15 01:23:02, unavailable until Feburuary wrote: > ...
6 years ago (2014-12-15 02:22:34 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/783983005/220001
6 years ago (2014-12-15 02:23:40 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-15 03:30:12 UTC) #14
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=187110

Powered by Google App Engine
This is Rietveld 408576698