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 288 - invalid margin operators not detected
Summary: invalid margin operators not detected
Status: RESOLVED WORKSFORME
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://jigsaw.w3.org/css-validator/va...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-07 10:22 UTC by Bj
Modified: 2004-10-05 06:54 UTC (History)
1 user (show)

See Also:


Attachments

Description Bj 2003-08-07 10:22:14 UTC
The following

  h1 { margin: 0,0,0,0 }

is invalid. The validator does not report this error but generates a 
NullPointerException in org.w3c.css.properties.CssMargin.setInfo because the 
CssMargin constructor just returns if the operator between the values is not a 
space.

See
http://www.w3.org/mid/3f3dd4c1.170929453@smtp.bjoern.hoehrmann.de
Comment 1 Bj 2004-02-17 13:18:46 UTC
See also http://www.w3.org/Bugs/Public/show_bug.cgi?id=157