Closed Bug 86186 Opened 24 years ago Closed 24 years ago

Navigator not rendering background color for a DIV box when specified in CSS

Categories

(Tech Evangelism Graveyard :: English US, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: joelbeach, Assigned: bc)

References

()

Details

(Whiteboard: [SYNTAX-CSS])

Hi, This page does not display div boxes with a coloured background. Check the stylesheet s340gt.css at the same location and index.html. It should work (does in Internet Explorer 5.0 and Opera)
you mean 340style.css ? there seem to be something wrong with the css file.
The css is invalid. The style for h5 is missing a closing brace. Try using the w3c stylesheet validator, then you get to add another image to you page ;) . Mozilla ignores all css after the invalid part if I'm not mistaken. h5 { margin-left: 0; color: black; font-family: sans-serif; font-weight: bold; font-size: 150%; h6 {
Over to evangelism. We _do_ ignore everything after the missing close brace because we think it's all style rules to apply to h5.
Assignee: asa → bclary
Status: UNCONFIRMED → NEW
Component: Browser-General → Evangelism
Ever confirmed: true
QA Contact: doronr → zach
Whiteboard: [SYNTAX-CSS]
Hi Guys.... I've now fixed up the css. Although the stylesheet was invalid, behaviour is different to other browsers.... I've saved the invalid stylesheet as 340style.css.old if anyone wants to view it. It's a simple syntax error.
The CSS spec is very strict about how invalid CSS is to be parsed. And in this case I believe we're following the spec. Marking fixed (since the site has been updated). If you believe that out parsing of the CSS in question does not conform to spec, please file a bug on the Style System and attach the stylesheet in question (or better yet a small testcase stylesheet) to the bug. Thanks for using Mozilla and reporting bugs!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verifying.
Status: RESOLVED → VERIFIED
All Evangelism Bugs are now in the Product Tech Evangelism. See bug 86997 for details.
Component: Evangelism → US English
Product: Browser → Tech Evangelism
Version: other → unspecified
No longer depends on: bz-admintemplates
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.