WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
162479
Align Element.insertAdjacentHTML() with the specification
https://bugs.webkit.org/show_bug.cgi?id=162479
Summary
Align Element.insertAdjacentHTML() with the specification
Chris Dumez
Reported
2016-09-22 19:16:41 PDT
Align Element.insertAdjacentHTML() with the specification: -
https://w3c.github.io/DOM-Parsing/#dom-element-insertadjacenthtml
In particular, the following changes are needed: - It should be possible to call insertAdjacentHTML() on an element whose parent is a DocumentFragment. Currently WebKit throws a NO_MODIFICATION_ALLOWED_ERR. - Calling insertAdjacentHTML() on child of the <html> element currently ends up creating duplicate body / head elements. Firefox agrees with the specification.
Attachments
Patch
(8.75 KB, patch)
2016-09-22 19:24 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-09-22 19:24:33 PDT
Created
attachment 289650
[details]
Patch
Chris Dumez
Comment 2
2016-09-23 09:26:52 PDT
Comment on
attachment 289650
[details]
Patch Clearing flags on attachment: 289650 Committed
r206308
: <
http://trac.webkit.org/changeset/206308
>
Chris Dumez
Comment 3
2016-09-23 09:26:58 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug