* SUMMARY Loading the URL on this bug sometimes results in a caption that is too tall. * STEPS TO REPRODUCE 1. Launch Safari/WebKit. 2. Open attached test case. 3. If caption under image is not a skinny column, reload the page until it is rendered that way. * EXPECTED RESULTS The caption under the image should fill the width of the image and only occupy 4-5 lines of text. * ACTUAL RESULTS The caption under the image is about 1 inch wide and occupies numerous lines of text. * REGRESSION Unknown since I can't test with archived Safari 2.0.4 (419.3) with the 3.0 beta installed. * NOTES See attached screenshot as well.
Created attachment 15091 [details] Screenshot
Created attachment 15092 [details] Test case (web page, complete) Test case for the bug. This page was saved from Firefox 2.0.0.4 as "Web page, complete". Unzip the file and open table-caption-issue-ff.html.
Note that there is also a JavaScript error on the page, but I don't think this impacts the layout: SyntaxError: Invalid regular expression: internal error: code overflow http://foxtv.us.intellitxt.com/v3/func_033.js?v=200706050032_patch1 Line: 2
Created attachment 15110 [details] Reduction
Created attachment 15115 [details] Mark the caption for relayout when the table width changes This improves the results on several Mozilla tests, but caption width still seems to be off by a few pixels when the table has a border. That's a separate bug, however.
Comment on attachment 15115 [details] Mark the caption for relayout when the table width changes r=me
Landed in r23762.