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 13061 - outline-style: hidden should be reported as invalid CSS property value or invalid declaration
Summary: outline-style: hidden should be reported as invalid CSS property value or inv...
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-25 18:41 UTC by Gérard Talbot
Modified: 2012-10-19 15:17 UTC (History)
0 users

See Also:


Attachments

Description Gérard Talbot 2011-06-25 18:41:58 UTC
Testcase
--------
http://test.csswg.org/suites/css2.1/latest/html4/outline-style-hidden-001.htm


Validation report (with CSS 2.1 profile)
----------------------------------------
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Ftest.csswg.org%2Fsuites%2Fcss2.1%2Flatest%2Fhtml4%2Foutline-style-hidden-001.htm&profile=css21&usermedium=all&warning=1&vextwarning=&lang=en

Relevant chunk of spec
----------------------
"
The 'outline-style' property accepts the same values as 'border-style', except that 'hidden' is **not a legal** outline style. 
"

Actual result
-------------
outline-style : hidden; 
is shown in the Valid CSS information section

Expected result
---------------
An error should be reported with regards to the use of hidden value for outline-style.


Notes
-----
- Firefox 5.0 Error console will report "Error in parsing value for outline-style. Declaration dropped."
- Opera 11.11 Error console and DragonFly will also report "Invalid value for property: outline-style"
- Chrome 12.0.742.100 will also use a (yellow triangle with a white exclamation mark inside) icon for such problematic declaration.

regards, Gérard
Comment 1 Yves Lafon 2012-10-19 15:17:06 UTC
Fixed on http://qa-dev.w3.org:8001/css-validator/ soon in production.
Thanks!
(it was also fixed for css2 and css3 as the spec has the same provision for 'hidden')