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 979 - min-width bug with CSS version 3 and media type set
Summary: min-width bug with CSS version 3 and media type set
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: PC Windows 2000
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL: http://jeffcarr.info/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-04 02:31 UTC by Jeff Carr
Modified: 2005-08-26 14:26 UTC (History)
0 users

See Also:


Attachments

Description Jeff Carr 2005-01-04 02:31:47 UTC
If you attempt to validate the stylesheet
http://jeffcarr.info/stylesheets/default.css, you will see that it validates for
CSS version 3.

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjeffcarr.info%2Ffiles%2Flinked%2Fw3.org%2Fminwidthtest.css&warning=2&profile=css3&usermedium=all

However, if you attempt to validate the stylesheet when it is assigned a media
type of screen, projection, print, or all three together (but not "all" or
without a media type assigned), you will see the error:

  Line: 8 Context : body

  Invalid number : min-widthParse Error - [empty string] 

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjeffcarr.info%2Ffiles%2Flinked%2Fw3.org%2Fminwidthtest.html&warning=2&profile=css3&usermedium=all

Lines 1-9 of the associated stylesheet are:

body{
font-size:.85em;
font-family:Verdana,"Bitstream Vera Sans",Tahoma,Arial,Helvetica,sans-serif;
color:#000;
background:#fff;
margin:0em;
padding:0em 0em 1em 0em;
min-width:50em;
}
Comment 1 Yves Lafon 2005-08-26 14:26:28 UTC
Fixed, see http://qa-dev.w3.org:8001/css-validator/