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

Side by Side Diff: LayoutTests/fast/dom/shadow/update-distribution-for-matches.html

Issue 1153873004: Handle ::content and :host-context correctly in SelectorQuery. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test naming. Created 5 years, 7 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 <!doctype html>
2 <script>
3 var proto = Object.create(HTMLElement.prototype);
4 proto.createdCallback = function() {
5 var root = this.createShadowRoot();
6 document.querySelector('li').matches('::content *');
7 };
8 var MyList = document.registerElement("my-list", { prototype: proto });
9 </script>
10 <my-list>
11 <li></li>
12 </my-list>
13 <div>crbug.com/489911 blink crashy with shadow DOM</div>
14 <div>If this test passes, no crash occurs and "PASS" is shown.</div>
15 <div id="result"></div>
16 <script>
17 if (window.testRunner)
18 testRunner.dumpAsText();
19 result.textContent = "PASS";
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698