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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/dom/shadow/table-border-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 <!DOCTYPE html>
2 <html>
3 <body>
4 <table border>
5 <tr><td>A</td><td>B</td></tr>
6 <tr id="host1"></tr>
7 </table>
8 <table border>
9 <tr><td>E</td><td>F</td><td>G</td></tr>
10 <tr id="host2"><td>I</td></tr>
11 </table>
12 <table border>
13 <tr><td>K</td></tr>
14 <tr id="host3"></tr>
15 </table>
16 <div id="host4">
hayato 2013/06/05 09:28:57 Could you include '<td>M</td>' here declaratively?
17 </div>
18 <script>
19 host1.webkitCreateShadowRoot().innerHTML = "<td>C</td><td>D</td>"
20 host2.webkitCreateShadowRoot().innerHTML = "<td>H</td><content /><td>J</td>";
21 host3.webkitCreateShadowRoot().innerHTML = "<content select='no-match'><td>L</td ></content>";
22
23 var td = document.createElement("td");
24 td.innerHTML = "M";
25 host4.appendChild(td);
26 shadow4 = host4.webkitCreateShadowRoot();
27 shadow4.innerHTML = "<table border><tr id='contentParent'></tr></table>";
hayato 2013/06/05 09:28:57 Looks like you can include '<content></content>' h
28 shadow4.getElementById("contentParent").appendChild(document.createElement("cont ent"));
29 </script>
30 </body>
31 </html>
OLDNEW
« 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