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)

defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 89503

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>').
Sorry, it was wrongly categorized. Fixed it.
Component: ActiveX Wrapper → Layout
Comment.
Assignee: locka → karnaze
QA Contact: cpratt → petersen
Reporter: for the time being, is it possible to workaround by setting "display: none" on the div instead/as well?
*** This bug has been marked as a duplicate of 89503 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
To Christopher Hoess: yes, "display: none;" works fine in IE and Mozilla. But font size == 0 is OK per CSS2 spec too.
"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.