| Index: LayoutTests/svg/text/foreignObject-text-clipping-bug.xml
|
| diff --git a/LayoutTests/svg/text/foreignObject-text-clipping-bug.xml b/LayoutTests/svg/text/foreignObject-text-clipping-bug.xml
|
| index cedc37749ccad334bca9d45bfff22bd4600ef861..8a0fabd24aa1af7943f48bda712879955a563abf 100644
|
| --- a/LayoutTests/svg/text/foreignObject-text-clipping-bug.xml
|
| +++ b/LayoutTests/svg/text/foreignObject-text-clipping-bug.xml
|
| @@ -22,7 +22,11 @@
|
| <script>
|
| if (window.testRunner)
|
| window.testRunner.dumpSelectionRect();
|
| - document.execCommand("SelectAll");
|
| + var range = document.createRange();
|
| + range.selectNode(window.document.documentElement);
|
| + var selection = window.getSelection();
|
| + selection.removeAllRanges();
|
| + selection.addRange(range);
|
| </script>
|
| </body>
|
| </html>
|
|
|