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

[Bug 8442] New: background property shorthand parse problem

From: <bugzilla@wiggum.w3.org>
Date: Fri, 04 Dec 2009 22:25:59 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-8442-169@http.www.w3.org/Bugs/Public/>
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 GMT

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