Closed
Bug 89598
Opened 24 years ago
Closed 24 years ago
text with font size 0pt should be invisible, rather than in small font
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
People
(Reporter: hvv, Assigned: karnaze)
Details
If for some piece of text the following CSS specification is applied "font-size: 0pt;", that text should be made invisible. Mozilla 0.9.1 uses just small font for it (approx 7pt).
It's a severe limitation. IE 5 makes text invisible, and it's extremely useful - e.g. using this feature you can turn "annotated version" of your document to "not annotaed" by just setting font size to 0pt in CSS for "div.annotation" style (provided all annotations are enclosed as "<div class=annotation></div>').
| Reporter | ||
Comment 1•24 years ago
|
||
Sorry, it was wrongly categorized. Fixed it.
Component: ActiveX Wrapper → Layout
Comment 3•24 years ago
|
||
Reporter: for the time being, is it possible to workaround by setting "display:
none" on the div instead/as well?
Comment 4•24 years ago
|
||
*** This bug has been marked as a duplicate of 89503 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 5•24 years ago
|
||
To Christopher Hoess: yes, "display: none;" works fine in IE and Mozilla. But font size == 0 is OK per CSS2 spec too.
Comment 6•24 years ago
|
||
"font-size: 0pt" doesn't make the text invisible on IE5/win98, it makes it 1px
high.
You need to log in
before you can comment on or make changes to this bug.
Description
•