<?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>15508</bug_id>
          
          <creation_ts>2007-10-14 11:25:21 -0700</creation_ts>
          <short_desc>misparsing of the selector: &quot;html&gt;body*#search .srchimgs&quot; is parsed as &quot;html &gt; body #search .srchimgs&quot;</short_desc>
          <delta_ts>2008-02-04 14:17:36 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</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></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>16751</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Anantha Keesara">anantha</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>58514</commentid>
    <comment_count>0</comment_count>
    <who name="Anantha Keesara">anantha</who>
    <bug_when>2007-10-14 11:25:21 -0700</bug_when>
    <thetext>Safari treats the following two lines differently.
html&gt;body*#search 
html&gt;body* #search

Please see the testcase.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58515</commentid>
    <comment_count>1</comment_count>
      <attachid>16668</attachid>
    <who name="Anantha Keesara">anantha</who>
    <bug_when>2007-10-14 11:26:13 -0700</bug_when>
    <thetext>Created attachment 16668
If the style defined for an element has a space between Universal selector(*) and id(#), then Safari doesn&apos;t render that element</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58518</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-14 11:39:04 -0700</bug_when>
    <thetext>The problem would appear to be that &quot;html&gt;body*#search .srchimgs&quot; is parsed as &quot;html &gt; body #search .srchimgs&quot;.  The title is highly misleading: the element is not rendered because the stylesheet has display: none.  The problem is the misparsing of the selector, not that the element is not rendered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58520</commentid>
    <comment_count>3</comment_count>
      <attachid>16669</attachid>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-10-14 11:44:20 -0700</bug_when>
    <thetext>Created attachment 16669
Clearer reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66976</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-11 15:56:39 -0800</bug_when>
    <thetext>I think bug 16751 is a dupe of this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69393</commentid>
    <comment_count>5</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-02-04 14:17:36 -0800</bug_when>
    <thetext>Fixed in r29776-8.

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16668</attachid>
            <date>2007-10-14 11:26:13 -0700</date>
            <delta_ts>2007-10-14 11:26:13 -0700</delta_ts>
            <desc>If the style defined for an element has a space between Universal selector(*) and id(#), then Safari doesn&apos;t render that element</desc>
            <filename>apple_image1.htm</filename>
            <type>text/html</type>
            <size>445</size>
            <attacher name="Anantha Keesara">anantha</attacher>
            
              <data encoding="base64">PGh0bWw+DQo8aGVhZD4NCjxzdHlsZT4NCg0KaHRtbD5ib2R5KiNzZWFyY2ggLnNyY2hpbWdzeyBk
aXNwbGF5Om5vbmU7fQ0KaHRtbD5ib2R5KiAjRm9ybTEgLnNyY2hpbWdzeyBkaXNwbGF5Om5vbmU7
fQ0KPC9zdHlsZT4NCjwvaGVhZD4NCjxib2R5Pg0KPGZvcm0gIGlkPSJzZWFyY2giPg0KU2hvdWxk
IGRpc3BsYXkgZ3JlZW4gYm94Og0KCTxpbWcgc3JjPSIiIHN0eWxlPSJiYWNrZ3JvdW5kOmdyZWVu
IiB3aWR0aD0iMTciIGhlaWdodD0iMTkiIGNsYXNzPSJzcmNoaW1ncyI+DQoNCjwvZm9ybT4NCg0K
PGZvcm0gIGlkPSJGb3JtMSI+DQpTaG91bGQgZGlzcGxheSBncmVlbiBib3g6DQoJPGltZyBzcmM9
IiIgc3R5bGU9ImJhY2tncm91bmQ6Z3JlZW4iIHdpZHRoPSIxNyIgaGVpZ2h0PSIxOSIgY2xhc3M9
InNyY2hpbWdzIj4NCg0KPC9mb3JtPg0KPC9ib2R5Pg0KPC9odG1sPg0KDQoNCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>16669</attachid>
            <date>2007-10-14 11:44:20 -0700</date>
            <delta_ts>2007-10-14 11:44:20 -0700</delta_ts>
            <desc>Clearer reduction</desc>
            <filename>bug-15508-reduction.html</filename>
            <type>text/html</type>
            <size>158</size>
            <attacher name="Mark Rowe (bdash)">mrowe</attacher>
            
              <data encoding="base64">PHN0eWxlPgpib2R5KiNyZWQgeyBjb2xvcjogcmVkOyB9CmJvZHkqICNncmVlbiB7IGNvbG9yOiBn
cmVlbjsgfQo8L3N0eWxlPgo8Ym9keT4KPHAgaWQ9InJlZCI+U2hvdWxkIGJlIGJsYWNrLjwvcD4K
PHAgaWQ9ImdyZWVuIj5TaG91bGQgYmUgYmxhY2suPC9wPgo8L2JvZHk+Cgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>