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

Unified Diff: LayoutTests/fast/dom/shadow/event-path-empty-shadow-element.html

Issue 59903015: [Shadow DOM]: Empty shadow insertion points should behave like <shadow><content *leftover*></conten… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/event-path-empty-shadow-element-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/event-path-empty-shadow-element.html
diff --git a/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html b/LayoutTests/fast/dom/shadow/event-path-empty-shadow-element.html
similarity index 79%
copy from LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
copy to LayoutTests/fast/dom/shadow/event-path-empty-shadow-element.html
index 2b62a24f9eddb0b4f1437a6c940a862070d45292..850429b01b0f8b58778eddc798e5e5b9873f10a9 100644
--- a/LayoutTests/fast/dom/shadow/event-path-multiple-shadow-roots.html
+++ b/LayoutTests/fast/dom/shadow/event-path-empty-shadow-element.html
@@ -20,10 +20,12 @@ sandbox.appendChild(
createDOM('content', {'id': 'F'}))),
createShadowRoot({'id': 'G'},
createDOM('div', {'id': 'H'},
- createDOM('shadow', {'id': 'I'},
- createDOM('content', {'id': 'J'}))))));
+ createDOM('shadow', {'id': 'I'}))),
+ createShadowRoot({'id': 'J'},
+ createDOM('shadow', {'id': 'K'}))));
-['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A//', 'A//H', 'A//I', 'A//J'].forEach(function(path) {
+// ['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A//', 'A//H', 'A//I', 'A//J'].forEach(function(path) {
+['A', 'B', 'C', 'A/', 'A/E', 'A/F', 'A//', 'A//H', 'A//I', 'A///', 'A///K'].forEach(function(path) {
getNodeInTreeOfTrees(path).addEventListener('click', function(event) {
debug('\nevent.path on node ' + dumpNode(event.currentTarget));
debug(dumpNodeList(event.path));
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/event-path-empty-shadow-element-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698