| Index: third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-boundary-events.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-boundary-events.html b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-boundary-events.html
|
| index b169972ab06b7c1af9dbbffd054c62c14877f447..11614ee9c51bafec2d19ca7e1fd001bcdf24f2e2 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-boundary-events.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/dom/shadow/shadow-boundary-events.html
|
| @@ -89,7 +89,7 @@ function prepareDOMTree(parent)
|
| 'shadowD/shadowF/shadowG/divH', 'shadowD/shadowF/shadowG/divI',
|
| 'shadowD/divJ', 'shadowD/shadowK', 'shadowD/shadowK/divL'];
|
| for (var i = 0; i < ids.length; ++i) {
|
| - var element = getNodeInTreeOfTrees(ids[i]);
|
| + var element = getNodeInComposedTree(ids[i]);
|
| element.addEventListener('mouseover', recordEvent, false);
|
| element.addEventListener('mouseout', recordEvent, false);
|
| element.addEventListener('focusin', recordEvent, false);
|
| @@ -102,17 +102,17 @@ function prepareDOMTree(parent)
|
| function moveMouse(oldElementId, newElementId, message)
|
| {
|
| debug('\n' + message + '\n' + 'Moving mouse from ' + oldElementId + ' to ' + newElementId);
|
| - moveMouseOver(getNodeInTreeOfTrees(oldElementId));
|
| + moveMouseOver(getNodeInComposedTree(oldElementId));
|
| clearEventRecords();
|
| - moveMouseOver(getNodeInTreeOfTrees(newElementId));
|
| + moveMouseOver(getNodeInComposedTree(newElementId));
|
| }
|
|
|
| function moveFocus(oldElementId, newElementId, message)
|
| {
|
| debug('\n' + message + '\n' + 'Moving focus from ' + oldElementId + ' to ' + newElementId);
|
| - getNodeInTreeOfTrees(oldElementId).focus();
|
| + getNodeInComposedTree(oldElementId).focus();
|
| clearEventRecords();
|
| - getNodeInTreeOfTrees(newElementId).focus();
|
| + getNodeInComposedTree(newElementId).focus();
|
| }
|
|
|
| function test()
|
|
|