Bug 89074
Summary: | [Shadow] <tr> having a Shadow DOM in <table border="1"> won't render a border. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Shinya Kawanaka <shinyak> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | dglazkov, dominicc, hayato, morrita, rniwa, tasak |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 72352 |
Shinya Kawanaka
Repro:
<table>
<tr><td>foo</td><td>bar</td></tr>
<tr id="host"></tr>
</table>
<script>
var shadowRoot = new WebKitShadowRoot(host);
shadowRoot.innerHTML = "<td>1</td><td>2</td>";
</script>
The <td>s in first <tr> have a border, but <td>s in ShadowDOM do not have a border.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Dimitri Glazkov (Google)
Fascinating.
Ryosuke Niwa
tr doesn't support shadow root in V1 API.