This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24224 - Setting document.title should mention how it interacts with mutation observers. Step 4 and 5 should preferably be handled similarly to setting textContent (http://dom.spec.whatwg.org/#dom-node-textcon [...]
Summary: Setting document.title should mention how it interacts with mutation observer...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 15:27 UTC by contributor
Modified: 2014-01-20 09:08 UTC (History)
4 users (show)

See Also:


Attachments
Display mutations when observing <title> and setting documen.title (924 bytes, text/html)
2014-01-07 15:53 UTC, David Vest
Details

Description contributor 2014-01-07 15:27:34 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html
Multipage: http://www.whatwg.org/C#document.title
Complete: http://www.whatwg.org/c#document.title
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Setting document.title should mention how it interacts with mutation
observers. Step 4 and 5 should preferably be handled similarly to setting
textContent (http://dom.spec.whatwg.org/#dom-node-textcontent). .textContent
bundles up the notification into one Mutation Record using the "replace-all"
machinery.

Posted from: 83.218.67.123
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1736.3 Safari/537.36
Comment 1 David Vest 2014-01-07 15:53:27 UTC
Created attachment 1422 [details]
Display mutations when observing <title> and setting documen.title
Comment 2 contributor 2014-01-16 22:52:53 UTC
Checked in as WHATWG revision r8404.
Check-in comment: Update document.title to work like textContent (also defines how things work with mutation observers)
http://html5.org/tools/web-apps-tracker?from=8403&to=8404
Comment 4 David Vest 2014-01-20 09:08:29 UTC
Thanks for updating the test, Ms2ger.

I filed https://code.google.com/p/chromium/issues/detail?id=336154 on Blink.