Closed Bug 49595 Opened 26 years ago Closed 26 years ago

CSS is not handled correctly.

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: dylang, Assigned: pierre)

References

()

Details

Attachments

(3 files)

From Bugzilla Helper: User-Agent: Mozilla/4.7 [en] (Win98; U) BuildID: 2000081308 Mozilla does not properly handle the CSS used to indicate a bordered piece of text. Reproducible: Always Steps to Reproduce: Load http://www.thock.com/Dylan/changelog/08-2000/css_testcase.html Note how it fails to follow spec. :) Actual Results: http://www.thock.com/Dylan/changelog/08-2000/css_testcase_mozilla.png Expected Results: http://www.thock.com/Dylan/changelog/08-2000/css_testcase_netscape4.png Don't feel too badly, everyone else's browser manages to suck for proper CSS implementation too. Look at Opera: http://www.thock.com/Dylan/changelog/08-2000/css_testcase_opera4.png http://www.thock.com/Dylan/changelog/08-2000/css_testcase_opera36.png
<script type="text/css"> is not a valid declaration of styles. see: http://www.w3.org/TR/REC-html40/present/styles.html If you change script->style you will see that IE 5.00, Opera 4.01 and Mozilla all pick up the style (with various results though).
That's the other problem. I initially had the border class defined for usage on my homepage, which does not use emebedded styles like that (it uses the proper <link rel="stylesheet" ..> construct). Mozilla also managed to muck that one up nicely. So this is a genuine problem, and not just be going off for no reason :)
updating component and setting default owner
Assignee: asa → pierre
Component: Browser-General → Style System
QA Contact: doronr → chrisd
Closed as invalid. As Mats wrote, <script type="text/css"> is not a valid declaration. Nav4 may support this but the quirk doesn't present much interest since: - it is not implemented by any competitors - it is very unlikely that important sites have used it - anyhow Nav4 doesn't render the testcase correctly (the "Bordered text" element should extend to the parent's width). FYI, the rendering of a double border is slightly UA dependant. The only thing the spec says is "The sum of the two lines and the space between them equals the value of 'border-width'". When using double-borders, it is safer to use a pixel unit and a value that is a multiple of 3.
Status: UNCONFIRMED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
Verified invalid.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: