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 287 - 'Border'-declaration extra terms
Summary: 'Border'-declaration extra terms
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: qa-dev tracking
URL: http://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 10:20 UTC by Bj
Modified: 2005-08-08 13:07 UTC (History)
0 users

See Also:


Attachments
'Border' declarations with extra term (1.10 KB, text/css; charset=UTF-8)
2004-10-05 01:49 UTC, Etan Wexler
Details

Description Bj 2003-08-07 10:20:24 UTC
The validator does not report errors for

a {
   border: thin dashed 1pt white;
}

and produces an odd valid style sheet. See

http://jigsaw.w3.org/css-validator/validator?text=a+%7B%0D%0A++border%
3A+thin+dashed+1pt+white%3B%0D%0A%7D&warning=1&profile=css2&usermedium=all

And see
http://www.w3.org/mid/3F07179D.5080308@gmx.net
for details.
Comment 2 Etan Wexler 2004-10-05 01:49:45 UTC
Created attachment 375 [details]
'Border' declarations with extra term

The extra term for each declaration is a <border-color>, <border-style>, or
<border-width>. Each declaration has 4 terms.
Comment 3 Etan Wexler 2004-10-05 06:48:40 UTC
A non-null "usermedium" query parameter is required to produce the faulty
parsing. Contrast:

<http://jigsaw.w3.org/css-validator/validator?text=a%7Bborder%3A1pt+1pt+none+red%7D&usermedium=all>
(which accepts the invalid style sheet)

...versus...

<http://jigsaw.w3.org/css-validator/validator?text=a%7Bborder%3A1pt+1pt+none+red%7D>
(which raises an error about the style sheet).
Comment 4 Yves Lafon 2005-08-08 13:07:46 UTC
Fixed in today's patch, online version will be up soon at
http://qa-dev.w3.org:8001/css-validator/