Closed Bug 567183 Opened 11 years ago Closed 11 years ago

Add DOMMetaAdded and DOMMetaRemoved events

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
For Fennec, we want to update the viewport settings whenever a <meta name="viewport"> element is added, so that (a) we can set up the viewport before the page finishes loading and avoid resizing it after load, and (b) we can update the viewport settings if scripts add <meta> elements after load.

This patch adds DOMMetaAdded and DOMMetaRemoved events, analogous to DOMLinkAdded and DOMLinkRemoved.
Attachment #446546 - Flags: review?(jst)
Blocks: 567186
Attachment #446546 - Flags: review?(jst) → review+
pushed to m-c:
http://hg.mozilla.org/mozilla-central/rev/7c77b50bcd7d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.