Closed Bug 6514 Opened 25 years ago Closed 25 years ago

missing ; in @import url(...); causes Nav5 to fail to display page

Categories

(Core :: DOM: HTML Parser, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: ekrock, Assigned: peterl-retired)

Details

[External bug report. Not sure of Nav5 build. Not sure if CSS syntax requires the ;. Whether or not it does, this might be a candidate for and enhancement to gracefully handle bad markup. Sorry I have missed a ; mark - that's why Mozilla does have difficulties with index2.htlm - Opera and IE 5.9 read a little bit incorrect page, but hot Mozilla this was missin @import url(...); the ; Tapio Markula tapio.markula@nic.fi http://www.nic.fi/~tapio1/index.html http://www.nic.fi/~tapio1/index_lahtotaso.html (Finnish) kokeile http://gamma.nic.fi... jos edelliset eivät toimi
Assignee: rickg → peterl
Peter -- this appears to be a CSS parsing issue.
Tapio's report may be invalid, per David Baron: ---- There are a significant number of errors in your CSS. Mozilla does CSS error-handling according to the spec, unlike MSIE, which is way too generous and tricks authors into thinking their CSS is correct. Correct error-handling requires that the browser do such things as ignore the rule following a missing semicolon on an @import, etc. MSIE also seems to "support" many properties that are not CSS, such as "link-color". I recommend running your page through the W3C CSS validator (if you enter the url of the HTML file that links to the stylesheets, it will check all of the stylesheets): http://jigsaw.w3.org/css-validator/ It finds around 20-30 errors on the page you mention. It's too complicated for me to figure out which ones cause the problems you describe without being able to edit and correct your pages. If you're not sure why the validator is giving you a certain error message, feel free to ask me. David
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.