<?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>14939</bug_id>
          
          <creation_ts>2007-08-10 20:06:28 -0700</creation_ts>
          <short_desc>&lt;DIV&gt; not implicitly closed by &lt;LI&gt;</short_desc>
          <delta_ts>2010-09-20 02:08:30 -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>523.x (Safari 3)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://shopper.cnet.com/4002-5_9-1008684.html?tag-sh.glnav</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darin Fisher (:fishd, Google)">fishd</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>anantha</cc>
    
    <cc>emacemac7</cc>
    
    <cc>jasneet</cc>
    
    <cc>jerome</cc>
    
    <cc>mitz</cc>
    
    <cc>progame+wk</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2583</commentid>
    <comment_count>0</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2007-08-10 20:06:28 -0700</bug_when>
    <thetext>&lt;DIV&gt; not implicitly closed by &lt;LI&gt;

WebKit doesn&apos;t seem to implement step 3 of the &lt;li&gt; start tag rules in the HTML5 parser spec:
(search for &apos;A start tag whose tag name is &quot;li&quot;&apos;):
  http://www.whatwg.org/specs/web-apps/current-work/#parsing

This causes rendering problems on cnet.com

I picked the component HTML DOM because this seems like a DOM construction bug, but I&apos;m not sure if that&apos;s appropriate.  I didn&apos;t see a HTML parser component.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2579</commentid>
    <comment_count>1</comment_count>
      <attachid>15917</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2007-08-10 20:07:09 -0700</bug_when>
    <thetext>Created attachment 15917
reduced test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78603</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-04-22 18:52:13 -0700</bug_when>
    <thetext>HTML5 output:
http://james.html5.org/cgi-bin/parsetree/parsetree.py?uri=https%3A%2F%2Fbugs.webkit.org%2Fattachment.cgi%3Fid%3D15917

Live DOM Viewer output:
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3Chtml%3E%0A%3Cstyle%3E%0A%20%20div%20%7B%20padding-left%3A%2010px%3B%20%7D%0A%3C%2Fstyle%3E%0A%3Cbody%3E%0A%20%20%3Cul%3E%0A%20%20%20%20%3Cli%3E%3Cdiv%3Ehello%3C%2Fli%3E%0A%20%20%20%20%3Cli%3E%3Cdiv%3Estair%3C%2Fli%3E%0A%20%20%20%20%3Cli%3E%3Cdiv%3Esteps%3C%2Fli%3E%0A%20%20%20%20%3Cli%3E%3Cdiv%3Eanyone%3F%3C%2Fli%3E%0A%20%20%3C%2Ful%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78605</commentid>
    <comment_count>3</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-04-22 19:26:40 -0700</bug_when>
    <thetext>&lt;rdar://problem/5814738&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78607</commentid>
    <comment_count>4</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-04-22 19:27:03 -0700</bug_when>
    <thetext>*** Bug 18151 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78699</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-04-23 14:18:27 -0700</bug_when>
    <thetext>http://shopper.cnet.com/4002-5_9-1008684.html?tag-sh.glnav is really a great example of a real-world, popular (http://www.alexa.com/data/details/main/cnet.com) site which has rendering errors due to this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78700</commentid>
    <comment_count>6</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-04-23 14:19:38 -0700</bug_when>
    <thetext>shopper.cnet.com has a page rank of 7. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82187</commentid>
    <comment_count>7</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-06-03 05:10:14 -0700</bug_when>
    <thetext>*** Bug 18790 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94845</commentid>
    <comment_count>8</comment_count>
    <who name="">mitz</who>
    <bug_when>2008-10-09 20:43:59 -0700</bug_when>
    <thetext>See also bug 21469.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112795</commentid>
    <comment_count>9</comment_count>
    <who name="Emilio López">buhitoescolar</who>
    <bug_when>2009-03-08 16:38:06 -0700</bug_when>
    <thetext>http://lineupblog.com/webkitbug.html also triggers the bug (see the &apos;Comentarios&apos; part in the sidebar)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>158738</commentid>
    <comment_count>10</comment_count>
    <who name="Jerome Leclanche">jerome</who>
    <bug_when>2009-10-28 15:25:27 -0700</bug_when>
    <thetext>Is this the same bug as http://crbug.com/14740 ? (testcase avail.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184866</commentid>
    <comment_count>11</comment_count>
    <who name="">mitz</who>
    <bug_when>2010-01-26 17:46:08 -0800</bug_when>
    <thetext>Bug 14939.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184875</commentid>
    <comment_count>12</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-01-26 17:54:17 -0800</bug_when>
    <thetext>I believe Dan meant bug 20809 in the above comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>240819</commentid>
    <comment_count>13</comment_count>
    <who name="Yair Yogev">progame+wk</who>
    <bug_when>2010-06-21 12:46:55 -0700</bug_when>
    <thetext>and also Bug 19617</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>241017</commentid>
    <comment_count>14</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2010-06-21 17:33:31 -0700</bug_when>
    <thetext>*** Bug 19617 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>281452</commentid>
    <comment_count>15</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-09-20 02:08:30 -0700</bug_when>
    <thetext>Fixed by the HTML5 parser.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>15917</attachid>
            <date>2007-08-10 20:07:09 -0700</date>
            <delta_ts>2007-08-10 20:07:09 -0700</delta_ts>
            <desc>reduced test case</desc>
            <filename>testcase.html</filename>
            <type>text/html</type>
            <size>190</size>
            <attacher name="Darin Fisher (:fishd, Google)">fishd</attacher>
            
              <data encoding="base64">PGh0bWw+CjxzdHlsZT4KICBkaXYgeyBwYWRkaW5nLWxlZnQ6IDEwcHg7IH0KPC9zdHlsZT4KPGJv
ZHk+CiAgPHVsPgogICAgPGxpPjxkaXY+aGVsbG88L2xpPgogICAgPGxpPjxkaXY+c3RhaXI8L2xp
PgogICAgPGxpPjxkaXY+c3RlcHM8L2xpPgogICAgPGxpPjxkaXY+YW55b25lPzwvbGk+CiAgPC91
bD4KPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>