RESOLVED CONFIGURATION CHANGED 11677
Display hidden row by script doesn't calculate heights correctly in specific case
https://bugs.webkit.org/show_bug.cgi?id=11677
Summary Display hidden row by script doesn't calculate heights correctly in specific ...
webkit
Reported 2006-11-22 06:50:46 PST
It is quite difficult to explain the problem clearly in few words. A quite look at the provided test case code makes you understand the problem. Anyway, I'll try to explain: if you have a two rows table with height set to 100%, and one of the rows (TR) height is set to 100%, that row is supposed to get as more space as available in the table height. It works well on a pure HTML case. If instead the row without height style is not displayed (display:none) and, after page load, you display it, the rows heights are not correctly calculated. The provided test case works well with IE 6, Opera 9 and Firefox 2. The code is quite simple and you will also find comments regarding a workaround for it.
Attachments
Test Case (1002 bytes, text/html)
2006-11-22 06:51 PST, webkit
no flags
webkit
Comment 1 2006-11-22 06:51:42 PST
Created attachment 11606 [details] Test Case
Pravin D
Comment 2 2012-06-27 03:40:13 PDT
The issue seem to be fixed... Atleast the test case is working properly on r118649 onwards
Brent Fulgham
Comment 3 2022-07-06 15:37:35 PDT
Safari, Chrome, and Firefox produce the same layout for this test.
Note You need to log in before you can comment on or make changes to this bug.