Closed Bug 371354 Opened 13 years ago Closed 11 years ago

Incorrect line break with floating element inside a table element

Categories

(Core :: Layout: Tables, defect)

1.8 Branch
defect
Not set

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Fallen, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Attached file Testcase
Consider the attached testcase html.

I expect the image to be in the same line as the caption.

After some discussion on IRC it was found that this does not work in firefox 2.0.0.1 and 1.5.0.9 on windows and linux as well as todays windows build of minefield, but works fine in today's seamonkey linux build. Internet Explorer 6 also displays this as I expect it.

Note it sometimes works on the first load but as soon as you reload, it should show the unexpected behavior.

I am not sure what is correct w.r.t the css specs, but in any case the behavior should be the same at least on seamonkey and minefield.
is this wfm?
Keywords: testcase
Attached patch reftestSplinter Review
(In reply to comment #1)
> is this wfm?

Yes, starting with Gecko 1.9.0. Since we're in line with other engines now, we should take care to not regress this.

The image used by the reftest is already in the reftest/bugs directory.
Attachment #373292 - Flags: review?(bernd_mozilla)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Comment on attachment 373292 [details] [diff] [review]
reftest

http://hg.mozilla.org/mozilla-central/rev/753004a66668
Attachment #373292 - Flags: review?(bernd_mozilla) → review+
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.