Page MenuHomePhabricator

CSS Print Error
Closed, ResolvedPublic

Description

Posted from OTRS ticket #2007101010005588

I just wanted to report a minor error in
http://en.wikipedia.org/style/commonPrint.css
The border: property in line 76 (in the div.tleft section) produces an
error in the Firefox 2.0 Error Console:

Warning: Expected end of value for property but found '1.4em'. Error in
parsing value for property 'border'. Declaration dropped.

I am fairly certain that if you want to specify different borders for the
four sides of the page, rather than the same border all around, you need
to use the individual border-top: border-bottom: border-left: and
border-right: properties.

Thanks.


Version: 1.11.x
Severity: normal

Details

Reference
bz11626

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:57 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz11626.
bzimport added a subscriber: Unknown Object (MLST).

I don't encoutner any errors on FF 2.0.0.7 but CSS validator fails on that point http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fstyle%2FcommonPrint.css&warning=1&profile=css21&usermedium=all
div.tleft Invalid property : border Missing parameters or unrecognised values : 0.5em 1.4em 0.8em 0
div.townBox Invalid property : border Grey is not a color value : 1px solid Grey

Appears to have been fixed at some point. Current commonPrint.css validates with no problems.