[Bug 15386] New: importing empty URIs crashes validator

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15386

           Summary: importing empty URIs crashes validator
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: dave.null@w3.org
        ReportedBy: self@tinctorius.net
         QAContact: www-validator-cvs@w3.org


The CSS Validator crashes with "String index out of range: 0" when the given
stylesheet contains the following code:

    @import url()

According to the CSS2.1 grammar, empty URLs are acceptable. Also, the following
code is accepted as valid:

    a { background-image: url() }

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 2 January 2012 14:46:57 UTC