Update input-with-selection-pseudo-element.html test for LayoutNG

In LayoutNG, selection background is painted to fill the line-height.
The <span> in the test should be inline-block so that its height
contains line-height.

Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng_disabled
Bug: 1040826
Change-Id: Ib64c337645f82e7fd54f3a0ba31347a94f85e475
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2517193
Commit-Queue: Kent Tamura <tkent@chromium.org>
Commit-Queue: Yoshifumi Inoue <yosin@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823931}
diff --git a/third_party/blink/web_tests/FlagExpectations/disable-layout-ng b/third_party/blink/web_tests/FlagExpectations/disable-layout-ng
index ee84c8b..093e165 100644
--- a/third_party/blink/web_tests/FlagExpectations/disable-layout-ng
+++ b/third_party/blink/web_tests/FlagExpectations/disable-layout-ng
@@ -409,6 +409,9 @@
 crbug.com/591099 fast/replaced/border-radius-clip-content-edge.html [ Failure ]
 crbug.com/591099 fast/replaced/outline-replaced-elements.html [ Failure ]
 
+### fast/selectors/
+crbug.com/591099 fast/selectors/input-with-selection-pseudo-element.html [ Failure ]
+
 ### fast/writing-mode/
 crbug.com/591099 fast/writing-mode/flipped-blocks-inline-map-local-to-container.html [ Failure ]
 
diff --git a/third_party/blink/web_tests/TestExpectations b/third_party/blink/web_tests/TestExpectations
index 07b71f1..5bb0f8d 100644
--- a/third_party/blink/web_tests/TestExpectations
+++ b/third_party/blink/web_tests/TestExpectations
@@ -1186,8 +1186,6 @@
 crbug.com/1040826 fast/forms/input-in-table-cell-no-value.html [ Failure ]
 crbug.com/1040826 [ Linux ] fast/forms/text/text-font-height-mismatch.html [ Failure ]
 crbug.com/1040826 [ Win ] fast/forms/text/text-font-height-mismatch.html [ Failure ]
-crbug.com/1040826 [ Linux ] fast/selectors/input-with-selection-pseudo-element.html [ Failure ]
-crbug.com/1040826 [ Win ] fast/selectors/input-with-selection-pseudo-element.html [ Failure ]
 crbug.com/1040826 fast/table/cell-change-baseline-then-border.html [ Failure ]
 
 # ====== LayoutNG-only failures until here ======
diff --git a/third_party/blink/web_tests/fast/selectors/input-with-selection-pseudo-element-expected.html b/third_party/blink/web_tests/fast/selectors/input-with-selection-pseudo-element-expected.html
index 306230d..ab2f966 100644
--- a/third_party/blink/web_tests/fast/selectors/input-with-selection-pseudo-element-expected.html
+++ b/third_party/blink/web_tests/fast/selectors/input-with-selection-pseudo-element-expected.html
@@ -1,5 +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>
+    <span style="background-color: rgba(63, 128, 33, 0.95); color: yellow; display: inline-block;">Hello</span>
 </div>
-<br>The above selected text in the input box should have green background and yellow color.
\ No newline at end of file
+<br>The above selected text in the input box should have green background and yellow color.