| Index: LayoutTests/editing/shadow/selection-across-shadows.html
|
| diff --git a/LayoutTests/editing/shadow/selection-shadow-mouse-drag.html b/LayoutTests/editing/shadow/selection-across-shadows.html
|
| similarity index 59%
|
| copy from LayoutTests/editing/shadow/selection-shadow-mouse-drag.html
|
| copy to LayoutTests/editing/shadow/selection-across-shadows.html
|
| index bd51b25defdf55578b6827e9ebe30324c409c03b..9914f09d404efeae8fe78e44e1e4a31871edfa13 100644
|
| --- a/LayoutTests/editing/shadow/selection-shadow-mouse-drag.html
|
| +++ b/LayoutTests/editing/shadow/selection-across-shadows.html
|
| @@ -1,6 +1,7 @@
|
| <!DOCTYPE html>
|
| <style>* { font-family: monospace; }</style>
|
| -<div id="host">[<span id="one">One</span> <span id="two">Two</span>]</div>
|
| +<div id="host1">[<span id="one">One</span>]</div>
|
| +<div id="host2">[<span id="two">Two</span>]</div>
|
| <script>
|
| function doDrag(start, end) {
|
| if (!window.eventSender)
|
| @@ -10,9 +11,10 @@ function doDrag(start, end) {
|
| eventSender.mouseMoveTo(end.offsetLeft + (end.offsetWidth / 2), end.offsetTop + 3);
|
| eventSender.mouseUp();
|
| }
|
| -var host = document.querySelector('#host');
|
| -var shadowRoot = host.createShadowRoot();
|
| -shadowRoot.innerHTML = '[<content select="#two"></content> <content select="#one"></content>]';
|
| +var host1 = document.querySelector('#host1');
|
| +host1.createShadowRoot().innerHTML = '[<content select="#one"></content>]';
|
| +var host2 = document.querySelector('#host2');
|
| +host2.createShadowRoot().innerHTML = '[<content select="#two"></content>]';
|
| var one = document.querySelector('#one');
|
| var two = document.querySelector('#two');
|
| doDrag(two, one);
|
|
|