Bug 18809

Summary: Forms with block level generated content and absolutely positioned labels break inline layout (fixed on reflow)
Product: WebKit Reporter: Robin Whittleton <robin>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz
Priority: P2 Keywords: HasReduction
Version: 525.x (Safari 3.1)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Testcase demonstrating this bug
none
Further reduction
none
Further further reduction
none
Do not let out-of-flow objects break inline flows into two separate anonymous blocks
none
Do not let out-of-flow objects break inline flows into two separate anonymous blocks hyatt: review+

Description Robin Whittleton 2008-04-30 02:29:52 PDT
Given:

a) A form with generated content
b) Inline children
c) Absolutely positioned labels

The expected rendering doesn't happen until the page has reflowed at least once. Please see the attached testcase, where Firefox (tested with 2.0.0.14) and Opera (tested with 9.26) both do what I suspect, but Safari 3.1 fails by putting the selects on seperate lines until you've made the labels static and then absolute again. The button demonstrates this.
Comment 1 Robin Whittleton 2008-04-30 02:30:44 PDT
Created attachment 20900 [details]
Testcase demonstrating this bug
Comment 2 Robin Whittleton 2008-04-30 08:31:22 PDT
Oops, forgot to mention that the generated content must be display block to trigger this bug. Updated the subject.
Comment 3 mitz 2008-05-02 10:52:13 PDT
Created attachment 20927 [details]
Further reduction
Comment 4 mitz 2008-05-02 11:59:16 PDT
Created attachment 20928 [details]
Further further reduction
Comment 5 mitz 2008-05-02 16:28:27 PDT
Created attachment 20935 [details]
Do not let out-of-flow objects break inline flows into two separate anonymous blocks
Comment 6 mitz 2008-05-03 00:32:00 PDT
Created attachment 20944 [details]
Do not let out-of-flow objects break inline flows into two separate anonymous blocks
Comment 7 Dave Hyatt 2008-05-05 08:41:40 PDT
Comment on attachment 20944 [details]
Do not let out-of-flow objects break inline flows into two separate anonymous blocks

r=me
Comment 8 mitz 2008-05-05 09:35:25 PDT
Fixed in <http://trac.webkit.org/changeset/32872>.