Closed
Bug 295476
Opened 19 years ago
Closed 18 years ago
tables inside a fieldset do not render properly if fieldset display is "inline"
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: robzilla, Unassigned)
References
Details
(Keywords: testcase, Whiteboard: [reflow-refactor])
Attachments
(3 files)
If you have a table inside a fieldset, the fieldset won't render properly if its "display" style is set to "inline". The problem (in my case) is that the width of the columns is not consistent across rows. Please see forthcoming attachment for a test case
Reporter | ||
Comment 1•19 years ago
|
||
oh, sorry - using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050516 Firefox/1.0.4 (MOOX M2)
This looks like a missing reflow, this happens usually when a unconstrained initial reflow is not followed by constrained size resize reflow.
Reporter | ||
Comment 3•19 years ago
|
||
any suggested temporary workarounds?
>any suggested temporary workarounds?
supply a patch for review ;-)
or change the fontsize by the DOM to get another reflow
Reporter | ||
Comment 5•19 years ago
|
||
> or change the fontsize by the DOM to get another reflow
I'm not sure what you mean by this - I don't know anything about Mozilla
internals. Any chance you'd be willing to provide an example?
Just enter CTRL + to increase the font szize and then CTRL - to revert.
Reporter | ||
Comment 7•19 years ago
|
||
Comment 8•19 years ago
|
||
This behavior is also exhibited when the fieldset is floated.
Comment 9•19 years ago
|
||
This is basically bug 210876.
Depends on: 210876
Whiteboard: [reflow-refactor]
Comment 10•19 years ago
|
||
This also happens if the fieldset is floated.
Comment 11•18 years ago
|
||
Forcing a reflow with Ctrl+/Ctrl- doesn't entirely fix this bug. In my testcase, hit ctrl+ and then ctrl- (or vice versa). The cells will become aligned but their widths become incorrect. A better workaround is to use JS to apply width:100% to either the table or the tbody. This fixes it entirely (even after playing with font scaling). Oddly, it ONLY works if applied dynamically; hardcoding width:100% in the HTML has no effect.
Comment 12•18 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20061208 Minefield/3.0a1 ID:2006120812 [cairo] Seems fixed by reflow branch landing
Updated•18 years ago
|
Comment 13•18 years ago
|
||
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Updated•12 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•