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

Unified Diff: LayoutTests/fast/backgrounds/selection-background-color-of-image-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/backgrounds/selection-background-color-of-image-list-style.html
diff --git a/LayoutTests/fast/backgrounds/selection-background-color-of-image-list-style.html b/LayoutTests/fast/backgrounds/selection-background-color-of-image-list-style.html
new file mode 100644
index 0000000000000000000000000000000000000000..c3319ee6c3da70aded60be543c8d1e1e51b2bdb7
--- /dev/null
+++ b/LayoutTests/fast/backgrounds/selection-background-color-of-image-list-style.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+ul { list-style-image: url('./resources/diamond.png'); }
+ul>li::selection { background: yellow; }
+</style>
+<div>
+ Test pass if background of image list style in ul is yellow.
+ <ul>
+ <li>One</li>
+ <li>Two</li>
+ </ul>
+</div>
+<script>
+var range = document.createRange();
+range.selectNode(document.querySelector('ul'));
+getSelection().addRange(range);
+</script>
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/backgrounds/selection-background-color-of-list-style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698