<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>24224</bug_id>
          
          <creation_ts>2014-01-07 15:27:34 +0000</creation_ts>
          <short_desc>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 [...]</short_desc>
          <delta_ts>2014-01-20 09:08:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#document.title</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>davve</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>98082</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-01-07 15:27:34 +0000</bug_when>
    <thetext>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 &quot;replace-all&quot;
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98086</commentid>
    <comment_count>1</comment_count>
      <attachid>1422</attachid>
    <who name="David Vest">davve</who>
    <bug_when>2014-01-07 15:53:27 +0000</bug_when>
    <thetext>Created attachment 1422
Display mutations when observing &lt;title&gt; and setting documen.title</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98661</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-01-16 22:52:53 +0000</bug_when>
    <thetext>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&amp;to=8404</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98719</commentid>
    <comment_count>3</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2014-01-17 20:04:01 +0000</bug_when>
    <thetext>https://github.com/w3c/web-platform-tests/pull/523</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98768</commentid>
    <comment_count>4</comment_count>
    <who name="David Vest">davve</who>
    <bug_when>2014-01-20 09:08:29 +0000</bug_when>
    <thetext>Thanks for updating the test, Ms2ger.

I filed https://code.google.com/p/chromium/issues/detail?id=336154 on Blink.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>1422</attachid>
            <date>2014-01-07 15:53:27 +0000</date>
            <delta_ts>2014-01-07 15:53:27 +0000</delta_ts>
            <desc>Display mutations when observing &lt;title&gt; and setting documen.title</desc>
            <filename>visible-to-dom-mutation-observer-2.html</filename>
            <type>text/html</type>
            <size>924</size>
            <attacher name="David Vest">davve</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+Cjx0aXRsZT5vbGQ8L3RpdGxlPgo8c2NyaXB0PgpvbmxvYWQgPSBmdW5j
dGlvbiAoKSB7CiAgICB2YXIgdGl0bGVFbGVtZW50ID0gZG9jdW1lbnQucXVlcnlTZWxlY3Rvcign
dGl0bGUnKTsKICAgIHZhciBpID0gMDsKCiAgICB2YXIgb2JzZXJ2ZXIgPSBuZXcgTXV0YXRpb25P
YnNlcnZlcihmdW5jdGlvbihtdXRhdGlvbnMpIHsKICAgICAgICBtdXRhdGlvbnMuZm9yRWFjaChm
dW5jdGlvbihtdXRhdGlvbikgewogICAgICAgICAgICB2YXIgc3RyID0gIk11dGF0aW9uICMiICsg
KGkrKykgKyAiOiAiOwoKICAgICAgICAgICAgaWYgKG11dGF0aW9uLnJlbW92ZWROb2RlcykKICAg
ICAgICAgICAgICAgIHN0ciArPSBtdXRhdGlvbi5yZW1vdmVkTm9kZXMubGVuZ3RoICsgIiByZW1v
dmVkIG5vZGVzOyAiOwoKICAgICAgICAgICAgaWYgKG11dGF0aW9uLmFkZGVkTm9kZXMpCiAgICAg
ICAgICAgICAgICBzdHIgKz0gbXV0YXRpb24uYWRkZWROb2Rlcy5sZW5ndGggKyAiIGFkZGVkIG5v
ZGVzLiI7CgogICAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxkKGRvY3VtZW50LmNy
ZWF0ZVRleHROb2RlKHN0cikpOwogICAgICAgICAgICBkb2N1bWVudC5ib2R5LmFwcGVuZENoaWxk
KGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ2JyJykpOwogICAgICAgIH0pOwogICAgfSk7CgogICAg
dmFyIGNvbmZpZyA9IHsgYXR0cmlidXRlczogZmFsc2UsIGNoaWxkTGlzdDogdHJ1ZSwgY2hhcmFj
dGVyRGF0YTogZmFsc2UgfTsKICAgIG9ic2VydmVyLm9ic2VydmUodGl0bGVFbGVtZW50LCBjb25m
aWcpOwoKICAgIGRvY3VtZW50LnRpdGxlID0gIm5ldyI7Cn0KPC9zY3JpcHQ+Cjxib2R5PgogIDxo
MT5NdXRhdGlvbnMgdG8gY2hpbGRMaXN0IHdoZW4gc2V0dGluZyBkb2N1bWVudC50aXRsZTo8L2gx
Pgo8L2JvZHk+CgoK
</data>

          </attachment>
      

    </bug>

</bugzilla>