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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>91509</bug_id>
          
          <creation_ts>2012-07-17 09:33:59 -0700</creation_ts>
          <short_desc>Formatting tags nested greater than 3 deep fail to close</short_desc>
          <delta_ts>2012-09-12 17:34:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>96385</dup_id>
          
          <bug_file_loc>https://dl.dropbox.com/u/175535/bugs/webkit/nested-formatting.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James Wheare">james</reporter>
          <assigned_to name="Eric Seidel (no email)">eric</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>671322</commentid>
    <comment_count>0</comment_count>
    <who name="James Wheare">james</who>
    <bug_when>2012-07-17 09:33:59 -0700</bug_when>
    <thetext>Works fine with 3

&lt;u&gt;*&lt;u&gt;*&lt;u&gt;*&lt;/u&gt;&lt;/u&gt;&lt;/u&gt; This is not underlined

Breaks with 4

&lt;u&gt;*&lt;u&gt;*&lt;u&gt;*&lt;u&gt;*&lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt; This *is* underlined &lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt;&lt;/u&gt; This is still underlined.

DOM structure ends up like this:

&lt;u&gt;*&lt;u&gt;*&lt;u&gt;*&lt;u&gt;*&lt;/u&gt;&lt;/u&gt;&lt;/u&gt; This *is* underlined  This is still underlined.&lt;/u&gt;

A closing &lt;/pre&gt; tag clears the formatting.

This affects all formatting specific tags I tried, e.g. bold, italic, font, big, small, etc. Check URL https://dl.dropbox.com/u/175535/bugs/webkit/nested-formatting.html for test cases

This *does not* affect formatting applied via span style or class atrributes.

&lt;a&gt; tags are also unaffected.

Whether or not this is invalid, this</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>671323</commentid>
    <comment_count>1</comment_count>
    <who name="James Wheare">james</who>
    <bug_when>2012-07-17 09:35:40 -0700</bug_when>
    <thetext>Oops, truncated description.

Whether or not this is valid (doesn&apos;t make sense to nest &lt;u&gt; might make sense to nest &lt;big/small&gt; though) it seems like a pretty bad failure state.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>671327</commentid>
    <comment_count>2</comment_count>
    <who name="James Wheare">james</who>
    <bug_when>2012-07-17 09:43:59 -0700</bug_when>
    <thetext>This also affects &lt;font&gt; tags, but only if all the nested tags are setting the same property.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>672614</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-07-18 12:21:20 -0700</bug_when>
    <thetext>This changed in r103223. I don&apos;t know if this specific change is intentional, but it certainly doesn&apos;t match Firefox (I didn&apos;t test IE).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>718919</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-09-12 17:34:48 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 96385 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>