<?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>15372</bug_id>
          
          <creation_ts>2012-01-01 21:53:09 +0000</creation_ts>
          <short_desc>Flex code in CSS2 appendix incorrectly lexes at-keywords</short_desc>
          <delta_ts>2017-12-04 05:52:18 +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>CSS Level 2</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Stijn van Drongelen">self</reporter>
          <assigned_to name="Bert Bos">bert</assigned_to>
          <cc>Mrmalo1938</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62173</commentid>
    <comment_count>0</comment_count>
    <who name="Stijn van Drongelen">self</who>
    <bug_when>2012-01-01 21:53:09 +0000</bug_when>
    <thetext>The tokenizer as implemented in section G.2 (Lexical scanner) of the CSS 2.1 specification does not match the syntax as described in section 4.1.1 (Tokenization) in the way at-keywords are scanned.

I can&apos;t describe the problem better than with an example:

    @importurl(foo.css)

According to section 4.1.1, this should be tokenized as `ATKEYWORD ( IDENT DELIM IDENT )`. The scanner in G.2 tokenizes this as `IMPORT_SYM URI`. The main problem is that the latter doesn&apos;t correctly implement the rule of longest match for at-keywords.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>