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

Side by Side Diff: LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor.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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <p>When an anchor tag catch 'href' attribute or release 'href' attribute, distri bution should happen.</p>
2 <div id="host1">
3 <a id="anchor1" href="http://www.example.com/">Anchor 1</a>
4 <a id="anchor2" href="http://www.example.com/">Anchor 2</a>
5 </div>
6 <div id="host2">
7 <a id="anchor3">Anchor 3</a>
8 <a id="anchor4">Anchor 4</a>
9 </div>
10 <script>
11 if (window.testRunner)
12 testRunner.waitUntilDone();
13
14 host1.createShadowRoot().innerHTML = '<content select=":enabled"></content>';
15 host2.createShadowRoot().innerHTML = '<content select=":enabled"></content>';
16
17 setTimeout(function() {
18 anchor2.removeAttribute('href');
19 anchor4.setAttribute('href', 'http://www.example.com/');
20 testRunner.notifyDone();
21 }, 0);
22 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/pseudoclass-update-enabled-anchor-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698