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/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=8467

           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
center;

Reports:

  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
no-repeat;

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
about.)

Regards,
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:16 GMT