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

Unified Diff: LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.html

Issue 220343006: Fix for ::selection pseudo element to work on input elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding another Layout Test Created 6 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/selectors/input-with-selection-pseudo-element-expected.html
diff --git a/LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.html b/LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..306230d5d2b9aaf1b521ed1eb0fef84751beb786
--- /dev/null
+++ b/LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<div style="border: 5px solid; width:100px; font-size: 16px; font-family:sans-serif;">
+ <span style="background-color: rgba(63, 128, 33, 0.95); color: yellow;">Hello</span>
+</div>
+<br>The above selected text in the input box should have green background and yellow color.

Powered by Google App Engine
This is Rietveld 408576698