[Bug 8467] New: background property shorthand parse problem

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 UTC