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 157 - invalid handling of operator
Summary: invalid handling of operator
Status: RESOLVED DUPLICATE of bug 372
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-27 18:20 UTC by Philippe Le Hegaret
Modified: 2004-10-03 00:16 UTC (History)
1 user (show)

See Also:


Attachments
Invalid 'margin-top' declarations. (281 bytes, text/css)
2004-10-03 00:02 UTC, Etan Wexler
Details

Description Philippe Le Hegaret 2003-02-27 18:20:58 UTC
The following CSS statement must generated an error:
A { margin-top:12pt+2pt }
Comment 1 Etan Wexler 2004-10-03 00:02:37 UTC
Created attachment 372 [details]
Invalid 'margin-top' declarations.
Comment 2 Etan Wexler 2004-10-03 00:16:55 UTC
I don't understand why the operator is at fault. Phillipe, your example is
equivalent to:

A { margin-top:12pt +2pt }

...which is equivalent to:

A { margin-top:12pt 2pt }

...so this is just a case of too many terms.

I'm marking this bug as a duplicate of Bug 372

*** This bug has been marked as a duplicate of 372 ***