Closed Bug 392051 Opened 17 years ago Closed 16 years ago

Floats inside absolute positioned blocks do not float properly

Categories

(Core :: Layout, defect, P1)

x86
All
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: michlos, Unassigned)

References

()

Details

(Keywords: regression, testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a8pre) Gecko/2007081205 Minefield/3.0a8pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a8pre) Gecko/2007081205 Minefield/3.0a8pre

When clicking 'Help' - 'About Minefield' - 'Credits' - 'Friends' you get directed to mentioned URL. In Minefield the textbox hides the number of friends listed. This works in Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 ID:2007072518

Not sure if this should be reported under broken site : )

Reproducible: Always

Steps to Reproduce:
1. Click Help
2. Click About Minefield
3. Click Credits
4. Click Friends
5. Look at page
Actual Results:  
The searchbox covers the underlying text of amount of friends.
The poor site suffers from bug 300030 :)
Component: General → Layout
Keywords: qawanted, regression
OS: Windows Vista → All
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Still a problem.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a9pre) Gecko/2007102407 Minefield/3.0a9pre
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a9pre) Gecko/2007110515 Minefield/3.0a9pre

Problem still exists :)
Michael and Alexey, this bug is in the dependencies list of bug 300030 so it won't be forgotten. If you go to bug 300030 you can see it there :)
Attached file minimized testcase
Minimized testcase:
an abs-pos block containing
  a floated block
  a block containing
    a floated block

In firefox 2, the floated blocks are next to each other. Post-reflow-branch, they're not.
A quick scan for duplicates showed none, though many reflow-branch regressions have non-descriptive names.
Severity: trivial → normal
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.9?
Keywords: qawantedtestcase
Summary: Search box hides underlying text → Floats inside absolute positioned blocks do not float properly
We match Safari on attachment 302539 [details].  Does Safari behave the same on the site as well?
Can you explain why this rendering is (or could be) correct? I must be missing something, but shouldn't the preferred width be the sum of the float preferred widths?
Flags: blocking1.9? → blocking1.9-
Priority: -- → P1
Roc, you marked this P1 and blocking-. Was that supposed to be blocking+ ?
No. We're marking this WONTFIX. If we chose to reopen it, it would be P1.

The reasoning is that when we compute the preferred size of the abs-pos element, we don't know which floats will be next to each other, so we have to guess. We use the same heuristic that Safari uses, which is that if the floats are in the same block they could be next to each other. So in this case we guess they should not be next to each other.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: