| Index: LayoutTests/editing/pasteboard/copy-crash.html
|
| diff --git a/LayoutTests/editing/pasteboard/copy-crash.html b/LayoutTests/editing/pasteboard/copy-crash.html
|
| index 0670d05bb294c44cd371fe9bde76a20a0b03666f..d3d506e1570f398e145da5b80f76b0633a090d68 100644
|
| --- a/LayoutTests/editing/pasteboard/copy-crash.html
|
| +++ b/LayoutTests/editing/pasteboard/copy-crash.html
|
| @@ -104,7 +104,7 @@
|
| if (e.pageX) {
|
| x = e.pageX;
|
| } else if (e.clientX) {
|
| - x = e.clientX + document.body.scrollLeft;
|
| + x = e.clientX + document.scrollingElement.scrollLeft;
|
| } else {
|
| x = 0;
|
| }
|
| @@ -117,7 +117,7 @@
|
| if (e.pageY) {
|
| y = e.pageY;
|
| } else if (e.clientY) {
|
| - y = e.clientY + document.body.scrollTop;
|
| + y = e.clientY + document.scrollingElement.scrollTop;
|
| } else {
|
| y = 0;
|
| }
|
|
|