Closed Bug 266897 Opened 20 years ago Closed 18 years ago

{inc} shrink-wrap block resize on reflow of percentage width child

Categories

(Core :: Layout: Floats, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: jon, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: [reflow-refactor])

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002 Firefox/0.10.1 In the page at http://chrys.myphotos.cc/bug.html, each time you put the mouse over the "Voir les commentaires" link, the :hover comportment is ok (border-bottom), but the li block width's decrease, whereas it shouldn't. If I replace border-bottom with text-decoration for example, everything is fine (but i can't change the color of the underline). This bug is also available on Mozilla 1.7 and Firefox for Windows. Konqueror isn't affected, nor IE. Reproducible: Didn't try Steps to Reproduce: I haven't tried to reproduce the bug, but here is some tips : 1. The li block has a non fixed width (it's 70%). When i change to something fixed (like 500px), the bug doesn't appear Expected Results: The link should have got a black border at bottom, and the li block should keep it's actuel size
Assignee: bugs → nobody
Component: Web Site → Layout
Product: Firefox → Browser
QA Contact: core.layout
Version: unspecified → Trunk
Attached file Small testcase (obsolete) —
I can also see the bug with: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041030 Firefox/0.9.1+
Attached file Testcase #2
The first testcase depends on -moz-outline causing a reflow which it did not do until recently. This testcase is closer to the original. The bug does NOT occur in Mozilla 1.1 on Linux. The bug occurs in Mozilla 1.2 and later on Linux.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: Layout → Layout: R & A Pos
Ever confirmed: true
Keywords: testcase
QA Contact: core.layout → core.layout.r-and-a-pos
Summary: width of li block decrease when passing the mouse over a link → {inc} width:auto abs.pos. block resizes on reflow of percentage width child
I dont know if it can help, but the first testcase work as expected here (i mean, there is no bug) ... Tested on Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041002 Firefox/0.10.1 and Mozilla 1.7.3
This is not limited to abs. positioning, in both testcases you could replace position:absolute with float:left and get the same bug.
Attachment #164010 - Attachment is obsolete: true
Component: Layout: R & A Pos → Layout: Floats
QA Contact: core.layout.r-and-a-pos → core.layout.floats
Summary: {inc} width:auto abs.pos. block resizes on reflow of percentage width child → {inc} shrink-wrap block resize on reflow of percentage width child
Whiteboard: [reflow-refactor]
The abs.pos. case appears to have been somewhat fixed by bug 201897... but it's still not correct.
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
Fixed on trunk by reflow branch landing.
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Flags: in-testsuite?
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: