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

Issue 450623002: Styling option should not override option:checked UA style (Closed)

Created:
6 years, 4 months ago by keishi
Modified:
6 years, 4 months ago
Reviewers:
tkent
CC:
blink-reviews, blink-reviews-css, ed+blinkwatch_opera.com, dglazkov+blink, apavlov+blink_chromium.org, darktears, rune+blink, rwlbuis
Project:
blink
Visibility:
Public.

Description

Styling option should not override option:checked UA style This adds !important to option:checked styles, so that styling option won't override the selected appearance. This adds -internal-listbox which applies to listbox mode select elements. We need it because we can't remove the !important styles for select[size=0], select[size=1] BUG=398417 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179782

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added to isSkippableComponentForInvalidation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -45 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/select/styling-option-checked.html View 1 chunk +18 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/select/styling-option-checked-expected.html View 1 chunk +16 lines, -0 lines 0 comments Download
M Source/core/css/CSSSelector.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/css/CSSSelector.cpp View 1 4 chunks +4 lines, -0 lines 0 comments Download
M Source/core/css/RuleFeature.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/SelectorChecker.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/css/SelectorChecker.cpp View 3 chunks +8 lines, -0 lines 0 comments Download
M Source/core/css/html.css View 3 chunks +10 lines, -44 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
keishi
6 years, 4 months ago (2014-08-07 07:56:26 UTC) #1
tkent
https://codereview.chromium.org/450623002/diff/1/Source/core/css/html.css File Source/core/css/html.css (right): https://codereview.chromium.org/450623002/diff/1/Source/core/css/html.css#newcode786 Source/core/css/html.css:786: background-color: -internal-active-list-box-selection !important; Does this mean web authors can't ...
6 years, 4 months ago (2014-08-07 08:08:58 UTC) #2
keishi
On 2014/08/07 08:08:58, tkent wrote: > https://codereview.chromium.org/450623002/diff/1/Source/core/css/html.css > File Source/core/css/html.css (right): > > https://codereview.chromium.org/450623002/diff/1/Source/core/css/html.css#newcode786 > ...
6 years, 4 months ago (2014-08-07 08:10:23 UTC) #3
tkent
On 2014/08/07 08:10:23, keishi wrote: > On 2014/08/07 08:08:58, tkent wrote: > > https://codereview.chromium.org/450623002/diff/1/Source/core/css/html.css > ...
6 years, 4 months ago (2014-08-07 09:01:37 UTC) #4
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 4 months ago (2014-08-07 10:55:47 UTC) #5
keishi
The CQ bit was unchecked by keishi@chromium.org
6 years, 4 months ago (2014-08-07 10:56:19 UTC) #6
keishi
The CQ bit was checked by keishi@chromium.org
6 years, 4 months ago (2014-08-08 02:12:13 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/450623002/20001
6 years, 4 months ago (2014-08-08 02:13:19 UTC) #8
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 03:39:49 UTC) #9
Message was sent while issue was closed.
Change committed as 179782

Powered by Google App Engine
This is Rietveld 408576698