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

Unified Diff: LayoutTests/fast/dom/shadow/table-border.html

Issue 15652006: Let HTMLTablePartElement::findParentTable() about come across shadow boundary. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated to use NodeRenderingTraversal Created 7 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/table-border-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/shadow/table-border.html
diff --git a/LayoutTests/fast/dom/shadow/table-border.html b/LayoutTests/fast/dom/shadow/table-border.html
new file mode 100644
index 0000000000000000000000000000000000000000..83f6d049e2f94e4c22e83d929fa5b9aaf642042d
--- /dev/null
+++ b/LayoutTests/fast/dom/shadow/table-border.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<body>
+<table border>
+ <tr><td>A</td><td>B</td></tr>
+ <tr id="host1"></tr>
+</table>
+<table border>
+ <tr><td>E</td><td>F</td><td>G</td></tr>
+ <tr id="host2"><td>I</td></tr>
+</table>
+<table border>
+ <tr><td>K</td></tr>
+ <tr id="host3"></tr>
+</table>
+<div id="host4">
hayato 2013/06/05 09:28:57 Could you include '<td>M</td>' here declaratively?
+</div>
+<script>
+host1.webkitCreateShadowRoot().innerHTML = "<td>C</td><td>D</td>"
+host2.webkitCreateShadowRoot().innerHTML = "<td>H</td><content /><td>J</td>";
+host3.webkitCreateShadowRoot().innerHTML = "<content select='no-match'><td>L</td></content>";
+
+var td = document.createElement("td");
+td.innerHTML = "M";
+host4.appendChild(td);
+shadow4 = host4.webkitCreateShadowRoot();
+shadow4.innerHTML = "<table border><tr id='contentParent'></tr></table>";
hayato 2013/06/05 09:28:57 Looks like you can include '<content></content>' h
+shadow4.getElementById("contentParent").appendChild(document.createElement("content"));
+</script>
+</body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/table-border-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698