W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2009

[Bug 8467] New: background property shorthand parse problem

From: <bugzilla@wiggum.w3.org>
Date: Wed, 09 Dec 2009 07:28:53 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-8467-169@http.www.w3.org/Bugs/Public/>

           Summary: background property shorthand parse problem
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.0
        AssignedTo: dave.null@w3.org
        ReportedBy: sankar78in@rediffmail.com
         QAContact: www-validator-cvs@w3.org

Using the background property shorthand, the declaration:

  background:transparent url(../images/buttons/showdetails.jpg) no-repeat


  Value Error : background  Parse Error  [empty string]

But if the declaration is switched to put the horizontal position before the
repeat value:

  background:transparent url(../images/buttons/showdetails.jpg) center

the validator reports no error. But when it lists the valid CSS information, it
shows the line with the repeat value first! (Like the code that it complained

Sankar R.

Configure bugmail: http://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 Wednesday, 9 December 2009 07:29:02 UTC

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