<?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>12583</bug_id>
          
          <creation_ts>2007-02-04 07:51:25 -0800</creation_ts>
          <short_desc>reconsider giving HTML elements in non-XML HTML documents an XHTML namespaceURI</short_desc>
          <delta_ts>2010-03-22 17:36:31 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>12581</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>28600</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-02-04 07:51:25 -0800</bug_when>
    <thetext>Calling namespaceURI() on an element in an HTML document now gives &quot;http://www.w3.org/1999/xhtml&quot; namespace.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28596</commentid>
    <comment_count>1</comment_count>
      <attachid>12917</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-02-04 07:52:38 -0800</bug_when>
    <thetext>Created attachment 12917
test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27655</commentid>
    <comment_count>2</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-02-04 11:51:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/4975136&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27484</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-02-05 04:25:59 -0800</bug_when>
    <thetext>Is that wrong?  I actually did that on purpose I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27436</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-02-05 06:53:07 -0800</bug_when>
    <thetext>Hmm, now I checked HTML5, and it indeed says that HTML elements must be in XHTML namespace. Yet, this is not what I get from Firefox 2.

Also, this appears to clash with XPath spec (which is very explicit about null namespaces, see &lt;http://www.w3.org/TR/xpath#node-tests&gt;), as queries like &quot;//div&quot; would no longer work in HTML.

I guess our XPath implementation could be tweaked to account for this issue instead, but this would mean a rather unpleasant mismatch in behavior of different parts of DOM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25380</commentid>
    <comment_count>5</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2007-02-07 00:33:00 -0800</bug_when>
    <thetext>Classically, HTML has had a null namespace. We moved it to the XHTML namespace because HTML5 suggests this, and it gives a better match between HTML and XHTML behavior. We could reconsider this change, but since it is an intentional behavior change, I don&apos;t think we should track it as a regression or a P1 until we decide what to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2609</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-08-10 11:39:08 -0700</bug_when>
    <thetext>&gt; Also, this appears to clash with XPath spec

FWIW, our XPath implementation now has a special case to hide this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202844</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-03-22 17:36:31 -0700</bug_when>
    <thetext>No longer willing to reconsider.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>12917</attachid>
            <date>2007-02-04 07:52:38 -0800</date>
            <delta_ts>2007-02-04 07:52:38 -0800</delta_ts>
            <desc>test case</desc>
            <filename>html-element-namespace.html</filename>
            <type>text/html</type>
            <size>210</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8dGl0bGU+PC90aXRsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAg
ICA8c2NyaXB0PmRvY3VtZW50LndyaXRlKCImbHQ7dGl0bGU+IG5hbWVzcGFjZSAoc2hvdWxkIGJl
IG51bGwpOiAiICsgZG9jdW1lbnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoInRpdGxlIilbMF0ubmFt
ZXNwYWNlVVJJKTs8L3NjcmlwdD4KICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>