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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area-expected.html

Issue 610683002: Revert of Support for :enabled selector on Anchor & Area elements (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <style>
2 area {
3 display: inline;
4 }
5 </style>
6 <p>When an anchor tag catch 'href' attribute or release 'href' attribute, distri bution should happen.</p>
7 <div id="host1"></div>
8 <div id="host2"></div>
9 <script>
10 function createArea(href, textContent)
11 {
12 var area = document.createElement('area');
13 if (href)
14 area.setAttribute('href', href);
15 area.appendChild(document.createTextNode(textContent));
16
17 return area;
18 }
19
20 var area1 = createArea('http://www.example.com/', 'Anchor 1');
21 var area4 = createArea('http://www.example.com/', 'Anchor 4');
22
23 host1.appendChild(area1);
24 host2.appendChild(area4);
25 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-area.html ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698