<?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>27072</bug_id>
          
          <creation_ts>2014-10-16 07:32:58 +0000</creation_ts>
          <short_desc>When the parser inserts TEXTAREA element, the only chance to set its Raw Value is by the TEXTAREA&apos;s  [...]</short_desc>
          <delta_ts>2015-03-04 23:08:38 +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>https://html.spec.whatwg.org/#the-textarea-element:concept-textarea-raw-value-6</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>critical</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>ian</cc>
    
    <cc>manish.tripathi.777</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113277</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-10-16 07:32:58 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#the-textarea-element:concept-textarea-raw-value-6
Complete: https://html.spec.whatwg.org/#the-textarea-element:concept-textarea-raw-value-6
Referrer: 

Comment:
When the parser inserts TEXTAREA element, the only chance to set its Raw Value
is by the TEXTAREA&apos;s reset algorithm, invoked by the following chain: &quot;in
body&quot; insertion mode-&gt;&quot;textarea&quot; start tag-&gt;insert HTML element-&gt;insert a
foreign element-&gt;create an element for a token-&gt;invoke reset algorithm. The
problem is that at this point, the TEXTAREA element has not yet been populated
with the text nodes that it may contain as a part of HTML document being
parsed. Therefore, the reset algorithm will always set TEXTAREA&apos;s Raw Value to
the empty string, even if the element contains non-empty text nodes in its
subtree. Solution: invoke TEXTAREA&apos;s reset algorithm when the element has been
popped off the parser&apos;s stack of open elements

Posted from: 94.75.209.155
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Firefox/32.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118326</commentid>
    <comment_count>1</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-03-04 23:08:38 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8886.
Check-in comment: Make sure &lt;textarea&gt; is reset when you parse the end tag, since otherwise it wouldn&apos;t actually ever work...
https://html5.org/tools/web-apps-tracker?from=8885&amp;to=8886</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>