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

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

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: Added 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.txt
diff --git a/LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.txt b/LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2309f7480a38ac389cc25bbd25997db3cfe4b0b5
--- /dev/null
+++ b/LayoutTests/fast/selectors/input-with-selection-pseudo-element-expected.txt
@@ -0,0 +1,18 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x62
+ RenderBlock {HTML} at (0,0) size 800x62
+ RenderBody {BODY} at (8,8) size 784x46
+ RenderTextControl {INPUT} at (2,2) size 153x22 [bgcolor=#FFFFFF] [border: (2px inset #EEEEEE)]
+ RenderText {#text} at (157,3) size 4x19
+ text run at (157,3) width 4: " "
+ RenderBR {BR} at (0,0) size 0x0
+ RenderText {#text} at (0,26) size 535x19
+ text run at (0,26) width 535: "The above selected text in the input box should have green background and yellow color."
+ RenderText {#text} at (0,0) size 0x0
+layer at (12,13) size 149x16
+ RenderBlock {DIV} at (2,3) size 149x16
+ RenderText {#text} at (0,0) size 29x16
+ text run at (0,0) width 29: "Hello"
+selection start: position 0 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body
+selection end: position 5 of child 0 {#text} of child 0 {DIV} of {#document-fragment} of child 1 {INPUT} of body

Powered by Google App Engine
This is Rietveld 408576698