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 151 - invalid error on border-right
Summary: invalid error on border-right
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 1.0 (show other bugs)
Version: CSS Validator
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL: http://www.pinkjuice.com/howto/vimxml...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-27 16:08 UTC by Philippe Le Hegaret
Modified: 2004-03-05 15:49 UTC (History)
1 user (show)

See Also:


Attachments

Description Philippe Le Hegaret 2003-02-27 16:08:56 UTC
The validator says
 Invalid number : border-rightParse Error - [empty string]

The rule is

#all {
  border-top: 1px solid black;
  border-left: 1px solid black;
  border-right: 2px solid black;
  border-bottom: 2px solid black;
}
Comment 1 Mike Ballentine 2003-10-14 16:30:27 UTC
I see this error when:
http://jigsaw.w3.org/css-validator/validator?
uri=http://www.amherstyoga.com/index.shtml

but not when validating the style sheet the error refers to:
http://jigsaw.w3.org/css-validator/validator?
uri=http://www.amherstyoga.com/home.css

HTH
mikeb@mikeballentine.com
Comment 2 Rick Bull 2004-02-10 14:36:08 UTC
>but not when validating the style sheet the error refers to:
>http://jigsaw.w3.org/css-validator/validator?
>uri=http://www.amherstyoga.com/home.css

I think that's because when validating the stylesheet on its own the validator
assumes the media is screen (which is what the HTML 4.0 spec says the style/link
element should do). In my experience the problem occurs when media="projection"
is used, which is what the webpage (index.shtml) has as one of its mediums.

I'm pretty sure that this is a bug, as border attributes are valid for visual
media, and projection is in the visual group.

I would really like to see this bug fixed, as my page doesn't validate because
of it. Also Opera uses projection for its full-screen rendering mode, and you
either have to live with the validator saying the stylesheet is invalid, or
leave out features for Opera.
Comment 3 Bj 2004-03-05 10:49:54 UTC
This is caused by a typo in the configuration
files for the projection medium. Fixed in CVS.