Closed Bug 243554 Opened 22 years ago Closed 22 years ago

display:none not completely hidden

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 33784

People

(Reporter: rb, Assigned: dbaron)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040114 Build Identifier: Mozilla/5.0 (X11; U; Linux i686;de-AT; rv:1.6) Gecko/20040114 A block-element with "style=display:none;" should be completely hidden. test1 should be rendered exactly as test2, but in test1 the displayed text "test" is not exactly in the middle, please have a look at http://mcw.blumenstrasse.vol.at/test.html ----test1----- [...] <td><p>test</p><p style="display:none;">hidden</p></td> [...] -------------- ----test2----- [...] <td><p>test</p></td> [...] -------------- Reproducible: Always Steps to Reproduce: go to http://mcw.blumenstrasse.vol.at/test.html Actual Results: displayed text is not in the middle Expected Results: it should be in the middle
This page is in quirks mode (see http://www.mozilla.org/docs/web-developer/quirks/ ) and thus gets the top margin of the first p and the bottom margin of the last p in any table cell removed by CSS selectors. *** This bug has been marked as a duplicate of 33784 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.