Commit 04827dda authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

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: default avatarYoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823931}
parent bfc69d6d
......@@ -409,6 +409,9 @@ crbug.com/591099 fast/forms/color-scheme/href/href-appearance-basic.html [ Failu
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 ]
......
......@@ -1186,8 +1186,6 @@ crbug.com/1140307 accessibility/inline-text-textarea.html [ Failure ]
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 ======
......
<!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.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment