Make fade effects work on tables
|Reported by:||steven@…||Owned by:|
Effects don't work on tables, because in CSS2-compatible browsers, table elements have "display: table" "display: table-row" and "display: table-cell". Trying to apply revealing effects will end up setting "display: block", and destroying the table layout.
The following patch tries to fix this by setting the right display style based on the element's HTML tag. Fade effects work on table and td, but not on tr. Show/hide should probably work as well.
Doing size-dependant effects will probably not work well though, as you can't just isolate table elements with position: absolute to measure them. Still, it's a start.
Change History (12)
comment:1 Changed 11 years ago by john
- Component changed from core to fx
- Milestone set to 1.0
- Version set to 1.0
comment:4 Changed 10 years ago by john
- Milestone set to 1.1
- Summary changed from Make show/hide and fade effects work on tables to Make fade effects work on tables
- Type changed from enhancement to bug
- Version set to 1.1