W3C home > Mailing lists > Public > www-validator-cvs@w3.org > January 2012

[Bug 15386] New: importing empty URIs crashes validator

From: <bugzilla@jessica.w3.org>
Date: Mon, 02 Jan 2012 14:46:54 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-15386-169@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:48 UTC