User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.6) Gecko/20040206 Firefox/0.8 I wanted to report a simple bug where div computed height was doubled when in had overflow:hidden set. But while preparing a test-case I discovered a mostly weird behaviour of such a div - it depends on a text in that div! See an example attached. All red bordered divs have overflow:hidden. The clientHeight of such divs are doubled (2 * # of lines * line-height). But if I put overflow:xxx inside the height becomes normal! Reproducible: Always Steps to Reproduce: This behaviour was intoduced in latest release of Firefox.
15 years ago
Depends on: 232838
Cubsequent investigation showed that this is not connected with 'overflow:*' text inside a DIV, it depens on whether the line has any whitespace or no.
Confirmed, same thing in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 but not in Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007. The bug can be observed with overflow:auto as well. Bug 233828 might be connected to this one.
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7a) Gecko/20040211
Not affected by patch for bug 232838
Sorry, my previous comment was wrong. I still can see the problem with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040310.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: dbaron → nobody
QA Contact: ian → style-system
You need to log in before you can comment on or make changes to this bug.