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

Side by Side Diff: content/test/data/accessibility/html/a-onclick.html

Issue 815463006: Separating ARIA, HTML & event AX test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months 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 <style>a { text-decoration: underline; display: block; }</style> 2 <style>a { text-decoration: underline; display: block; }</style>
3 <body> 3 <body>
4 <a onclick="javascript:alert('1');">link with no href but onclick</a> 4 <a onclick="javascript:alert('1');">link with no href but onclick</a>
5 <a id="add-click-handler-to-me">link with no href and click handler added via script</a> 5 <a id="add-click-handler-to-me">link with no href and click handler added via script</a>
6 <script> 6 <script>
7 document.getElementById('add-click-handler-to-me'). 7 document.getElementById('add-click-handler-to-me').
8 addEventListener('click', function() { alert('2'); }, false); 8 addEventListener('click', function() { alert('2'); }, false);
9 </script> 9 </script>
10 </body> 10 </body>
11 </html> 11 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698