This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 8237 - Background with image fails when ommited one position
Summary: Background with image fails when ommited one position
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Windows XP
: P2 trivial
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://qa-dev.w3.org:8001/css-validat...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-07 22:43 UTC by Milan
Modified: 2012-09-21 14:16 UTC (History)
1 user (show)

See Also:


Attachments

Description Milan 2009-11-07 22:43:42 UTC
Document validates on official css validator, but on QA it fails.

http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Flog-homes-drawings.mravac.net%2F&profile=css21&usermedium=all&warning=1&lang=en

It doesn't handle correctly situation when one position is omitted. It fails for both keywords and percents, if specified only one value.

Trouble code:
#BROKENTEST { background: url("images/d_dizajn.gif") top; }

Solution:
#BROKENTEST { background: url("images/d_dizajn.gif") top left; }

I left one unvalidated code on server so that you can take a look. 
http://log-homes-drawings.mravac.net/projekti.css