Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(906)

Side by Side Diff: third_party/WebKit/LayoutTests/accessibility/calling-accessibility-methods-with-pending-layout-causes-crash.html

Issue 1417213006: Switch all LayoutTests to use new AX name calculation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix canvas-fallback-content-labels-expected.txt Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../resources/js-test.js"></script> 3 <script src="../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <a href="#" id="link"> 6 <a href="#" id="link">
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description("Changing the display of a link from inline to block invalidates layout, but doesn't trigger a layout right away. Ensure that accessing the acce ssibility object's text before the layout happens doesn't cause a crash."); 10 description("Changing the display of a link from inline to block invalidates layout, but doesn't trigger a layout right away. Ensure that accessing the acce ssibility object's text before the layout happens doesn't cause a crash.");
11 11
12 var link = document.getElementById("link"); 12 var link = document.getElementById("link");
13 link.focus(); 13 link.focus();
14 link.style.display = "block"; 14 link.style.display = "block";
15 accessibilityController.focusedElement.deprecatedDescription; 15 accessibilityController.focusedElement.name;
16 </script> 16 </script>
17 </body> 17 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698