Changeset 61819 in webkit


Ignore:
Timestamp:
Jun 24, 2010 9:45:09 PM (14 years ago)
Author:
tonikitoo@webkit.org
Message:

2010-06-24 Antonio Gomes <tonikitoo@webkit.org>

Reviewed by Kenneth Christiansen.

Spatial Navigation: refactor spatial-navigation-utils.js to support testing nested frames deeper than one level
https://bugs.webkit.org/show_bug.cgi?id=41157

As is today, we can not test focused nodes in inner frames nested more than one level
deep, due to spatial-navigation-utils.js limitations. Patch addresses this problem:
any time before any focus check, it retrieves the proper focused frame in any level deep.

All spatial navigation test results changed output because the parameter passed in to
shouldBeEqualToString (from js-pre-test.js) changed in spatial-navigation-utils.js.

  • fast/events/spatial-navigation/resources/spatial-navigation-utils.js: (initTest): (verifyAndAdvance): (findFocusedDocument):
  • fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
  • fast/events/spatial-navigation/snav-div-scrollable-but-without-focusable-content-expected.txt:
  • fast/events/spatial-navigation/snav-fully-aligned-horizontally-expected.txt:
  • fast/events/spatial-navigation/snav-fully-aligned-vertically-expected.txt:
  • fast/events/spatial-navigation/snav-iframe-flattening-simple-expected.txt:
  • fast/events/spatial-navigation/snav-iframe-no-focusable-content-expected.txt:
  • fast/events/spatial-navigation/snav-iframe-no-scrollable-content-expected.txt:
  • fast/events/spatial-navigation/snav-iframe-recursive-offset-parent-expected.txt:
  • fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element-expected.txt:
  • fast/events/spatial-navigation/snav-offscreen-content-expected.txt:
  • fast/events/spatial-navigation/snav-only-clipped-overflow-content-expected.txt:
  • fast/events/spatial-navigation/snav-simple-content-overflow-expected.txt:
  • fast/events/spatial-navigation/snav-table-traversal-expected.txt:
  • fast/events/spatial-navigation/snav-tiny-table-traversal-expected.txt:
  • fast/events/spatial-navigation/snav-unit-overflow-and-scroll-in-direction-expected.txt:
Location:
trunk/LayoutTests
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r61816 r61819  
     12010-06-24  Antonio Gomes  <tonikitoo@webkit.org>
     2
     3        Reviewed by Kenneth Christiansen.
     4
     5        Spatial Navigation: refactor spatial-navigation-utils.js to support testing nested frames deeper than one level
     6        https://bugs.webkit.org/show_bug.cgi?id=41157
     7
     8        As is today, we can not test focused nodes in inner frames nested more than one level
     9        deep, due to spatial-navigation-utils.js limitations. Patch addresses this problem:
     10        any time before any focus check, it retrieves the proper focused frame in any level deep.
     11
     12        All spatial navigation test results changed output because the parameter passed in to
     13        shouldBeEqualToString (from js-pre-test.js) changed in spatial-navigation-utils.js.
     14
     15        * fast/events/spatial-navigation/resources/spatial-navigation-utils.js:
     16        (initTest):
     17        (verifyAndAdvance):
     18        (findFocusedDocument):
     19        * fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
     20        * fast/events/spatial-navigation/snav-div-scrollable-but-without-focusable-content-expected.txt:
     21        * fast/events/spatial-navigation/snav-fully-aligned-horizontally-expected.txt:
     22        * fast/events/spatial-navigation/snav-fully-aligned-vertically-expected.txt:
     23        * fast/events/spatial-navigation/snav-iframe-flattening-simple-expected.txt:
     24        * fast/events/spatial-navigation/snav-iframe-no-focusable-content-expected.txt:
     25        * fast/events/spatial-navigation/snav-iframe-no-scrollable-content-expected.txt:
     26        * fast/events/spatial-navigation/snav-iframe-recursive-offset-parent-expected.txt:
     27        * fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element-expected.txt:
     28        * fast/events/spatial-navigation/snav-offscreen-content-expected.txt:
     29        * fast/events/spatial-navigation/snav-only-clipped-overflow-content-expected.txt:
     30        * fast/events/spatial-navigation/snav-simple-content-overflow-expected.txt:
     31        * fast/events/spatial-navigation/snav-table-traversal-expected.txt:
     32        * fast/events/spatial-navigation/snav-tiny-table-traversal-expected.txt:
     33        * fast/events/spatial-navigation/snav-unit-overflow-and-scroll-in-direction-expected.txt:
     34
    1352010-06-24  Cris Neckar  <cdn@chromium.org>
    236
  • trunk/LayoutTests/fast/events/spatial-navigation/resources/spatial-navigation-utils.js

    r55577 r61819  
    66 **/
    77
    8 var gExpectedResults;
     8var gExpectedResults = 0;
    99var gIndex = 0;
    1010var gClosureCallback = null;
     11var gFocusedDocument = 0;
    1112
    1213function initTest(table, completedCb) {
     
    1516  gIndex = 0;
    1617  gClosureCallback = completedCb;
     18  gFocusedDocument = 0;
    1719
    1820  prepareMove();
     
    4951  var expectedID = gExpectedResults[gIndex][1];
    5052
     53  gFocusedDocument = document;
     54  findFocusedDocument(document);
     55
    5156  var i = 0;
    5257  var mainFrameHasFocus = true;
    53   for(; i < window.frames.length; i++)
     58  for ( ; i < window.frames.length; i++) {
    5459    if (window.frames[i].document.hasFocus()) {
    5560      mainFrameHasFocus = false;
    5661      break;
    5762    }
     63  }
    5864
    59   // This support frames nested in one level deep only.
    60   if (mainFrameHasFocus)
    61     shouldBeEqualToString("document.activeElement.getAttribute(\"id\")", expectedID);
    62   else
    63     shouldBeEqualToString("document.defaultView.frames[" + i + "].document.activeElement.getAttribute(\"id\")", expectedID);
     65  shouldBeEqualToString("gFocusedDocument.activeElement.getAttribute(\"id\")", expectedID);
    6466
    6567  gIndex++;
     
    6769}
    6870
     71function findFocusedDocument(currentDocument)
     72{
     73  var i = 0;
     74  for ( ; i < currentDocument.defaultView.frames.length; i++) {
     75    findFocusedDocument(currentDocument.defaultView.frames[i].document);
     76    if (gFocusedDocument != document)
     77      return;
     78  }
     79
     80  if (currentDocument.hasFocus()) {
     81    gFocusedDocument = currentDocument;
     82    return;
     83  }
     84}
     85
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-clipped-overflowed-content-expected.txt

    r61134 r61819  
    1515And this is another normal link_4.
    1616
    17 PASS document.activeElement.getAttribute("id") is "1"
    18 PASS document.activeElement.getAttribute("id") is "1"
    19 PASS document.activeElement.getAttribute("id") is "2"
    20 PASS document.activeElement.getAttribute("id") is "3"
    21 PASS document.activeElement.getAttribute("id") is "2"
    22 PASS document.activeElement.getAttribute("id") is "1"
    23 PASS document.activeElement.getAttribute("id") is "start"
     17PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     18PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     19PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     20PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     21PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     22PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     23PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    2424
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-div-scrollable-but-without-focusable-content-expected.txt

    r61134 r61819  
    3131
    3232e
    33 PASS document.activeElement.getAttribute("id") is "end"
    34 PASS document.activeElement.getAttribute("id") is "start"
     33PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     34PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    3535
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-fully-aligned-horizontally-expected.txt

    r55794 r61819  
    1616
    1717test
    18 PASS document.activeElement.getAttribute("id") is "1"
    19 PASS document.activeElement.getAttribute("id") is "2"
    20 PASS document.activeElement.getAttribute("id") is "4"
    21 PASS document.activeElement.getAttribute("id") is "3"
    22 PASS document.activeElement.getAttribute("id") is "5"
    23 PASS document.activeElement.getAttribute("id") is "6"
    24 PASS document.activeElement.getAttribute("id") is "8"
    25 PASS document.activeElement.getAttribute("id") is "7"
    26 PASS document.activeElement.getAttribute("id") is "9"
    27 PASS document.activeElement.getAttribute("id") is "10"
    28 PASS document.activeElement.getAttribute("id") is "12"
    29 PASS document.activeElement.getAttribute("id") is "11"
    30 PASS document.activeElement.getAttribute("id") is "13"
    31 PASS document.activeElement.getAttribute("id") is "14"
    32 PASS document.activeElement.getAttribute("id") is "16"
    33 PASS document.activeElement.getAttribute("id") is "15"
    34 PASS document.activeElement.getAttribute("id") is "17"
    35 PASS document.activeElement.getAttribute("id") is "18"
    36 PASS document.activeElement.getAttribute("id") is "20"
    37 PASS document.activeElement.getAttribute("id") is "19"
    38 PASS document.activeElement.getAttribute("id") is "21"
    39 PASS document.activeElement.getAttribute("id") is "22"
    40 PASS document.activeElement.getAttribute("id") is "24"
    41 PASS document.activeElement.getAttribute("id") is "23"
    42 PASS document.activeElement.getAttribute("id") is "25"
    43 PASS document.activeElement.getAttribute("id") is "26"
    44 PASS document.activeElement.getAttribute("id") is "27"
    45 PASS document.activeElement.getAttribute("id") is "end"
     18PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     19PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     20PASS gFocusedDocument.activeElement.getAttribute("id") is "4"
     21PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     22PASS gFocusedDocument.activeElement.getAttribute("id") is "5"
     23PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     24PASS gFocusedDocument.activeElement.getAttribute("id") is "8"
     25PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     26PASS gFocusedDocument.activeElement.getAttribute("id") is "9"
     27PASS gFocusedDocument.activeElement.getAttribute("id") is "10"
     28PASS gFocusedDocument.activeElement.getAttribute("id") is "12"
     29PASS gFocusedDocument.activeElement.getAttribute("id") is "11"
     30PASS gFocusedDocument.activeElement.getAttribute("id") is "13"
     31PASS gFocusedDocument.activeElement.getAttribute("id") is "14"
     32PASS gFocusedDocument.activeElement.getAttribute("id") is "16"
     33PASS gFocusedDocument.activeElement.getAttribute("id") is "15"
     34PASS gFocusedDocument.activeElement.getAttribute("id") is "17"
     35PASS gFocusedDocument.activeElement.getAttribute("id") is "18"
     36PASS gFocusedDocument.activeElement.getAttribute("id") is "20"
     37PASS gFocusedDocument.activeElement.getAttribute("id") is "19"
     38PASS gFocusedDocument.activeElement.getAttribute("id") is "21"
     39PASS gFocusedDocument.activeElement.getAttribute("id") is "22"
     40PASS gFocusedDocument.activeElement.getAttribute("id") is "24"
     41PASS gFocusedDocument.activeElement.getAttribute("id") is "23"
     42PASS gFocusedDocument.activeElement.getAttribute("id") is "25"
     43PASS gFocusedDocument.activeElement.getAttribute("id") is "26"
     44PASS gFocusedDocument.activeElement.getAttribute("id") is "27"
     45PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
    4646
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-fully-aligned-vertically-expected.txt

    r55794 r61819  
    1111test
    1212test
    13 PASS document.activeElement.getAttribute("id") is "4"
    14 PASS document.activeElement.getAttribute("id") is "6"
    15 PASS document.activeElement.getAttribute("id") is "8"
    16 PASS document.activeElement.getAttribute("id") is "end"
    17 PASS document.activeElement.getAttribute("id") is "7"
    18 PASS document.activeElement.getAttribute("id") is "2"
     13PASS gFocusedDocument.activeElement.getAttribute("id") is "4"
     14PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     15PASS gFocusedDocument.activeElement.getAttribute("id") is "8"
     16PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     17PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     18PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
    1919
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-iframe-flattening-simple-expected.txt

    r58883 r61819  
    22
    33e
    4 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    5 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    6 PASS document.activeElement.getAttribute("id") is "end"
    7 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    8 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    9 PASS document.activeElement.getAttribute("id") is "start"
     4PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     6PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     7PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     8PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     9PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    1010
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-iframe-no-focusable-content-expected.txt

    r55796 r61819  
    33
    44e
    5 PASS document.activeElement.getAttribute("id") is "end"
    6 PASS document.activeElement.getAttribute("id") is "start"
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     6PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    77
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-iframe-no-scrollable-content-expected.txt

    r57062 r61819  
    33
    44a
    5 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    6 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    7 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "3"
    8 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "7"
    9 PASS document.defaultView.frames[1].document.activeElement.getAttribute("id") is "6"
    10 PASS document.activeElement.getAttribute("id") is "end"
    11 PASS document.defaultView.frames[1].document.activeElement.getAttribute("id") is "4"
    12 PASS document.defaultView.frames[1].document.activeElement.getAttribute("id") is "5"
    13 PASS document.defaultView.frames[1].document.activeElement.getAttribute("id") is "6"
    14 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "7"
    15 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "3"
    16 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    17 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     6PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     7PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     8PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     9PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     10PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     11PASS gFocusedDocument.activeElement.getAttribute("id") is "4"
     12PASS gFocusedDocument.activeElement.getAttribute("id") is "5"
     13PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     14PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     15PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     16PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     17PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
    1818
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-iframe-recursive-offset-parent-expected.txt

    r61250 r61819  
    11Link
    22
    3 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    4 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    5 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "3"
    6 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    7 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    8 PASS document.activeElement.getAttribute("id") is "start"
     3PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     4PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     6PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     7PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     8PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    99
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-iframe-with-offscreen-focusable-element-expected.txt

    r55796 r61819  
    22
    33e
    4 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    5 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    6 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    7 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    8 PASS document.activeElement.getAttribute("id") is "end"
    9 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    10 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    11 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "2"
    12 PASS document.defaultView.frames[0].document.activeElement.getAttribute("id") is "1"
    13 PASS document.activeElement.getAttribute("id") is "start"
     4PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     6PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     7PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     8PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     9PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     10PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     11PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     12PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     13PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    1414
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-offscreen-content-expected.txt

    r57304 r61819  
    22
    33Down link
    4 PASS document.activeElement.getAttribute("id") is "1"
     4PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
    55
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-only-clipped-overflow-content-expected.txt

    r61298 r61819  
    1515And this is another normal link_2.
    1616
    17 PASS document.activeElement.getAttribute("id") is "start"
     17PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    1818PASS true is true
    1919
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-simple-content-overflow-expected.txt

    r57496 r61819  
    2121This link should NOT get focused.
    2222
    23 PASS document.activeElement.getAttribute("id") is "start"
     23PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    2424
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-table-traversal-expected.txt

    r55578 r61819  
    33a       a       a
    44End of table traversal test
    5 PASS document.activeElement.getAttribute("id") is "4"
    6 PASS document.activeElement.getAttribute("id") is "7"
    7 PASS document.activeElement.getAttribute("id") is "end"
    8 PASS document.activeElement.getAttribute("id") is "7"
    9 PASS document.activeElement.getAttribute("id") is "8"
    10 PASS document.activeElement.getAttribute("id") is "9"
    11 PASS document.activeElement.getAttribute("id") is "6"
    12 PASS document.activeElement.getAttribute("id") is "3"
    13 PASS document.activeElement.getAttribute("id") is "2"
    14 FAIL document.activeElement.getAttribute("id") should be 1. Was start.
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "4"
     6PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     7PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     8PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     9PASS gFocusedDocument.activeElement.getAttribute("id") is "8"
     10PASS gFocusedDocument.activeElement.getAttribute("id") is "9"
     11PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     12PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     13PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     14FAIL gFocusedDocument.activeElement.getAttribute("id") should be 1. Was start.
    1515
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-tiny-table-traversal-expected.txt

    r55578 r61819  
    55a
    66a
    7 PASS document.activeElement.getAttribute("id") is "1"
    8 PASS document.activeElement.getAttribute("id") is "4"
    9 PASS document.activeElement.getAttribute("id") is "7"
    10 PASS document.activeElement.getAttribute("id") is "end"
    11 PASS document.activeElement.getAttribute("id") is "7"
    12 PASS document.activeElement.getAttribute("id") is "8"
    13 PASS document.activeElement.getAttribute("id") is "9"
    14 PASS document.activeElement.getAttribute("id") is "6"
    15 PASS document.activeElement.getAttribute("id") is "right"
    16 PASS document.activeElement.getAttribute("id") is "6"
    17 PASS document.activeElement.getAttribute("id") is "3"
    18 PASS document.activeElement.getAttribute("id") is "2"
    19 PASS document.activeElement.getAttribute("id") is "1"
     7PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
     8PASS gFocusedDocument.activeElement.getAttribute("id") is "4"
     9PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     10PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
     11PASS gFocusedDocument.activeElement.getAttribute("id") is "7"
     12PASS gFocusedDocument.activeElement.getAttribute("id") is "8"
     13PASS gFocusedDocument.activeElement.getAttribute("id") is "9"
     14PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     15PASS gFocusedDocument.activeElement.getAttribute("id") is "right"
     16PASS gFocusedDocument.activeElement.getAttribute("id") is "6"
     17PASS gFocusedDocument.activeElement.getAttribute("id") is "3"
     18PASS gFocusedDocument.activeElement.getAttribute("id") is "2"
     19PASS gFocusedDocument.activeElement.getAttribute("id") is "1"
    2020
  • trunk/LayoutTests/fast/events/spatial-navigation/snav-unit-overflow-and-scroll-in-direction-expected.txt

    r55795 r61819  
    11Start
    22End
    3 PASS document.activeElement.getAttribute("id") is "start"
     3PASS gFocusedDocument.activeElement.getAttribute("id") is "start"
    44PASS true is true
    5 PASS document.activeElement.getAttribute("id") is "end"
     5PASS gFocusedDocument.activeElement.getAttribute("id") is "end"
    66
Note: See TracChangeset for help on using the changeset viewer.