<?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>19084</bug_id>
          
          <creation_ts>2008-05-15 12:59:17 -0700</creation_ts>
          <short_desc>HTMLTokenizer::addAttribute does not check for all the specification violation</short_desc>
          <delta_ts>2010-09-20 02:43:45 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julien Chaffraix">jchaffraix</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80534</commentid>
    <comment_count>0</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2008-05-15 12:59:17 -0700</bug_when>
    <thetext>According to the HTML5 specification (section 8.1.2.3. Attributes):

&quot;Attribute names must consist of one character other than the space characters, U+003E GREATER-THAN SIGN (&gt;), and U+002F SOLIDUS (/), followed by zero or more characters other than the space characters, U+003E GREATER-THAN SIGN (&gt;), U+002F SOLIDUS (/), and U+003D EQUALS SIGN (=).&quot;

Currently we only check for the presence of &apos;/&apos; in attribute in HTMLTokenizer::addAttribute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80546</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2008-05-15 13:49:05 -0700</bug_when>
    <thetext>Whoever handles this bug, changes in the assertion should be matched with changes in the parser code to avoid hitting the assertion.
Check bug 13942 for the details.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>281470</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-09-20 02:43:45 -0700</bug_when>
    <thetext>The spec has changed not to include the text you quote, but I believe you&apos;re quoting an authoring requirement and not a user agent conformance requirement.  If that&apos;s not accurate, please re-open this bug with a reference to the user agent conformance requirement you believe we violate.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>