[Bug 8442] New: background property shorthand parse problem

http://www.w3.org/Bugs/Public/show_bug.cgi?id=8442

           Summary: background property shorthand parse problem
           Product: CSSValidator
           Version: CSS Validator
          Platform: Macintosh
               URL: http://babbage.cs.qc.cuny.edu/081
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.1
        AssignedTo: dave.null@w3.org
        ReportedBy: vickery@babbage.cs.qc.cuny.edu
         QAContact: www-validator-cvs@w3.org


Using the background property shorthand, the declaration:

  background:transparent url(../images/menu_tabs.png) no-repeat -250px;

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/menu_tabs.png) -250px 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.)


-- 
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 Friday, 4 December 2009 22:26:08 UTC