| Index: LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
|
| diff --git a/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js b/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
|
| index 4cfbd79f8bcb3b3f7043c1fed8b3f3f9830ab18e..f68423921700a1eaef382d1b3b234a53eadeea15 100644
|
| --- a/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
|
| +++ b/LayoutTests/editing/selection/script-tests/click-outside-editable-div.js
|
| @@ -10,6 +10,9 @@ innerDiv.contentEditable = true;
|
| outerDiv.appendChild(innerDiv);
|
| document.body.insertBefore(outerDiv, document.body.firstChild);
|
|
|
| +// Mouse events only work after an initial layout
|
| +document.body.offsetLeft;
|
| +
|
| var lastClickCausedFocus = false;
|
| document.documentElement.addEventListener("mouseup", function(e) {
|
| var lastClick = e || window.event;
|
|
|