Side navigation
#7336 closed bug (fixed)
Opened October 28, 2010 12:12AM UTC
Closed December 03, 2010 10:08PM UTC
CSS width and height of hidden elements is different in opera from all other browsers
| Reported by: | jitter | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | 1.4.4 |
| Component: | offset | Version: | 1.4.2 |
| Keywords: | width opera | Cc: | miketaylr |
| Blocked by: | Blocking: |
Description
I made a test case on jsfiddle and all Opera versions and jQuery versions seem to be affected by this (excluding 1.4.3 because of the regressions).
Opera returns a different result from all other browsers (although I think returning 0px is correct when the display: none is set. No?).
For elements which have a height set via css and are hidden because of a display: none on the parent element we get
FF: 10px, Opera: 0px
For elements which have no css styling and are hidden because of a display: none on the parent element we get
FF: '' (previous versions auto), Opera: 0px (previous versions also 0px)
Attachments (0)
Change History (3)
Changed October 29, 2010 05:36AM UTC by comment:1
| cc: | → miketaylr |
|---|---|
| component: | unfiled → offset |
| keywords: | → width opera |
| priority: | undecided → low |
| status: | new → open |
Changed November 03, 2010 08:35PM UTC by comment:2
This can be closed and milestone 1.4.4 because of commit fb44450
Changed December 03, 2010 10:08PM UTC by comment:3
| milestone: | 1.5 → 1.4.4 |
|---|---|
| resolution: | → fixed |
| status: | open → closed |
Still valid on 10.70 internal build (the latest I could find) - cc-ing our local opera expert.
Thanks for the nice report jit :)