<?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>10139</bug_id>
          
          <creation_ts>2010-07-13 01:49:39 +0000</creation_ts>
          <short_desc>active form element markers are never removed</short_desc>
          <delta_ts>2010-12-01 15:28:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel">eric</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>hsivonen</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36779</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel">eric</who>
    <bug_when>2010-07-13 01:49:39 +0000</bug_when>
    <thetext>active form element markers are never removed

This affects the following test case (and probably many others:

&lt;table&gt;&lt;b&gt;&lt;td&gt;&lt;/table&gt;foo
Minefield:
| &lt;html&gt;
|   &lt;head&gt;
|   &lt;body&gt;
|     &lt;b&gt;
|     &lt;table&gt;
|       &lt;tbody&gt;
|         &lt;tr&gt;
|           &lt;td&gt;
|     &lt;b&gt;
|       &quot;foo&quot;


WebKit trunk:
| &lt;html&gt;
|   &lt;head&gt;
|   &lt;body&gt;
|     &lt;b&gt;
|     &lt;table&gt;
|       &lt;tbody&gt;
|         &lt;tr&gt;
|           &lt;td&gt;
|     &quot;foo&quot;

In looking to fix our behavior to match mozilla, I realized the reason we don&apos;t make &quot;foo&quot; bold, is that there is still a marker on the active form elements list after completion of the table.

Interestingly enough, for:

&lt;b&gt;&lt;table&gt;&lt;td&gt;&lt;/table&gt;foo

Both Minefield and TOT WebKit agree:
| &lt;html&gt;
|   &lt;head&gt;
|   &lt;body&gt;
|     &lt;b&gt;
|       &lt;table&gt;
|         &lt;tbody&gt;
|           &lt;tr&gt;
|             &lt;td&gt;
|       &quot;foo&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36814</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Seidel">eric</who>
    <bug_when>2010-07-13 21:24:13 +0000</bug_when>
    <thetext>nevermind.  I just misread:
http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#clear-the-list-of-active-formatting-elements-up-to-the-last-marker

There is still a behavior difference between

&lt;b&gt;&lt;table&gt;&lt;td&gt;&lt;/table&gt;foo

and

&lt;table&gt;&lt;b&gt;&lt;td&gt;&lt;/table&gt;foo

But if that&apos;s a bug, that&apos;s a separate issue.  So closing this one.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>