Bug 147084
| Summary: | outerHTML closes video/track element, unlike video/source element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | oliver |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.10 | ||
oliver
Getting the outerHTML property of a track element returns a close tag:
jQuery("<track>").get(0).outerHTML; // "<track></track>" in WebKit, "<track>" in Firefox
This is not the same as for the source element, which returns no closing tag:
jQuery("<video><source><track></video>").get(0).outerHTML // "<video><source><track></track></video>" in WebKit
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |