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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19525</bug_id>
          
          <creation_ts>2012-10-13 21:00:13 +0000</creation_ts>
          <short_desc>Number token is created with empty representation, but minimum is 1 character</short_desc>
          <delta_ts>2012-10-16 00:34:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Syntax</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Brandon Frohs">bfrohs</reporter>
          <assigned_to name="Tab Atkins Jr.">jackalmage</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76217</commentid>
    <comment_count>0</comment_count>
    <who name="Brandon Frohs">bfrohs</who>
    <bug_when>2012-10-13 21:00:13 +0000</bug_when>
    <thetext>In the introduction of the &quot;Tokenization&quot; section, it is said that a number token has a representation of *1 or more* characters:

&gt; Number, percentage, and dimension tokens have a representation composed of 1 or more character...

However, in the &quot;Number state&quot; section, the representation is set to an *empty* string:

&gt; Create a number token with its representation initially set to the empty string.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76349</commentid>
    <comment_count>1</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2012-10-16 00:34:23 +0000</bug_when>
    <thetext>Yes, it&apos;s created with an initially empty representation, but it&apos;s never emitted with one.  Those definitions talk about the tokens you&apos;ll actually find in the token stream, not temporary ones under construction by the tokenizer.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>