Skip to content

Commit

Permalink
Unreviewed, editing/pasteboard/4944770-2.html is failing after 253424…
Browse files Browse the repository at this point in the history
…@main

https://bugs.webkit.org/show_bug.cgi?id=243944

* LayoutTests/editing/pasteboard/4944770-2.html:
* LayoutTests/platform/mac/editing/pasteboard/4944770-2-expected.txt:

Canonical link: https://commits.webkit.org/253429@main
  • Loading branch information
cdumez committed Aug 15, 2022
1 parent b33f467 commit 750fbdd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 10 deletions.
10 changes: 9 additions & 1 deletion LayoutTests/editing/pasteboard/4944770-2.html
@@ -1,5 +1,13 @@
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>

<style>
select {
margin: 2px;
}
option {
margin: 2px;
}
</style>
</script>
<p>This tests smart paste of a fragment that ends in a select element. There should be spaces added before and after the inserted content.</p>
<div contenteditable="true" id="copy"><select><option>1</option><option>2</option><option>3</option></select></div>
<div contenteditable="true" id="paste">xx</div>
Expand Down
Expand Up @@ -8,18 +8,18 @@ layer at (0,0) size 800x600
text run at (0,0) width 420: "This tests smart paste of a fragment that ends in a select element. "
text run at (419,0) width 321: "There should be spaces added before and after the"
text run at (0,18) width 106: "inserted content."
RenderBlock {DIV} at (0,52) size 784x18
RenderMenuList {SELECT} at (0,0) size 38x18 [bgcolor=#FFFFFF]
RenderBlock {DIV} at (0,52) size 784x22
RenderMenuList {SELECT} at (2,2) size 38x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (0,0) size 38x18
RenderText at (8,2) size 6x13
text run at (8,2) width 6: "1"
RenderBlock {DIV} at (0,70) size 784x19
RenderText {#text} at (0,0) size 30x18
text run at (0,0) width 30: "xfoo"
RenderMenuList {SELECT} at (29,1) size 39x18 [bgcolor=#FFFFFF]
RenderBlock {DIV} at (0,74) size 784x22
RenderText {#text} at (0,1) size 12x18
text run at (0,1) width 12: "x "
RenderMenuList {SELECT} at (14,2) size 38x18 [bgcolor=#FFFFFF]
RenderBlock (anonymous) at (0,0) size 38x18
RenderText at (8,2) size 6x13
text run at (8,2) width 6: "1"
RenderText {#text} at (67,0) size 9x18
text run at (67,0) width 9: "x"
caret: position 3 of child 1 {SELECT} of child 4 {DIV} of body
RenderText {#text} at (54,1) size 12x18
text run at (54,1) width 12: " x"
caret: position 1 of child 2 {#text} of child 4 {DIV} of body

0 comments on commit 750fbdd

Please sign in to comment.