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

Side by Side Diff: LayoutTests/fast/forms/select/styling-option-checked.html

Issue 450623002: Styling option should not override option:checked UA style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added to isSkippableComponentForInvalidation Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 option {
4 /* background-color and color are overridden for checked options */
5 background-color: lightgreen;
6 color: red;
7 /* properties other than background-color and color apply to checked options */
8 padding-left: 20px;
9 }
10 option:checked {
11 /* properties other than background-color and color apply normally */
12 text-decoration: underline;
13 }
14 </style>
15 <select multiple autofocus>
16 <option>foo</option>
17 <option selected>bar</option>
18 </select>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/forms/select/styling-option-checked-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698