Closed Bug 1512696 Opened 6 years ago Closed 6 years ago

Allow nsXULPrototypeElement::SetAttrAt() to pick up is attribute from XHTML element

Categories

(Core :: DOM: Core & HTML, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: timdream, Assigned: timdream)

References

Details

Attachments

(1 file)

So far it fails to store the value of is attribute set on an HTML element in the XUL doc because it early returns when namespace is not XUL. I'll need to fix it.
This patch allow nsXULPrototypeElement to set mIsAtom when the namespace is in XHTML. The value is needed by XULDocument::CreateElementFromPrototype() so we could properly pass it to NS_NewHTMLElement().
Pushed by tchien@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/03e66b4500ef Pick up is attribute from XHTML element in XUL document r=smaug
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Component: DOM → DOM: Core & HTML
Type: defect → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: