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

Side by Side Diff: LayoutTests/fast/backgrounds/selection-background-color-of-list-style.html

Issue 1063453002: Fill list style background with same color with that of list background. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Append NeedsReabaseline for linux Created 5 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 ul>li::selection { background: red; }
4 ol>li::selection { background: yellow; }
5 </style>
6 <div>
7 Test passes if backgrounds of list style in ul and ol are each red and yellow.
8 <ul>
9 <li>One</li>
10 <li>Two</li>
11 </ul>
12 <ol>
13 <li>One</li>
14 <li>Two</li>
15 </ol>
16 </div>
17 <script>
18 var range = document.createRange();
19 range.setStartBefore(document.querySelector('ul'));
20 range.setEndAfter(document.querySelector('ol'));
21 getSelection().addRange(range);
22 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698