Summary: | HTML parser an element inside a template element in a browsing-context-less document with a wrong owner document | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> | ||||
Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | cdumez, koivisto, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 154614, 154907 | ||||||
Attachments: |
|
Description
Ryosuke Niwa
2016-03-02 16:11:46 PST
Created attachment 272703 [details]
Fixes the bug
Comment on attachment 272703 [details] Fixes the bug View in context: https://bugs.webkit.org/attachment.cgi?id=272703&action=review > LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-template-element/additions-to-parsing-xhtml-documents/node-document.html:35 > + assert_not_equals(template.content.ownerDocument, doc, I don't think we should diverge from upstream. If the test is wrong, we need to do a pull-request and re-sync the tests. I would land any change here that has not landed yet upstream. Comment on attachment 272703 [details]
Fixes the bug
r=me with comment
Committed r197481: <http://trac.webkit.org/changeset/197481> *** Bug 148850 has been marked as a duplicate of this bug. *** Sorry, this patch was meant for the bug 148850 :( The patch didn't fix custom elements at all. Will file a new bug to track that. |