Blink and Gecko differ on how wide to make the input in this floating test-case
Categories
(Core :: Layout, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | affected |
People
(Reporter: twisniewski, Unassigned)
References
Details
Attachments
(3 files)
In the attached test-case, the presence of the .icon
div (among other potential things) seems to lead to Firefox and Chrome defaulting to different widths for the input
element (which has width:100%
).
Chrome renders it as widely as possible, while Firefox seems to ignore its 100% width.
Firefox will render it as widely as possible if I add width:100%
to the form element, or remove the float:right
.
Chrome makes the input element as wide as possible unless I remove the display-table-cell
properties or the width:auto
on the .icon
div.
As such I'm not sure which layout component to file this under.
Whatever is causing this, Loblaws' mobile search bar is being crammed to the right edge of the viewport in Firefox because of it.
Comment 1•6 years ago
|
||
Simplified testcase.
Comment 2•6 years ago
|
||
Same as #2, with 'display: table' added on the FORM.
In this case we render it the same as in Chrome.
I wonder if the difference is that Chrome skips the block box in both cases.
The difference in frame trees are:
Testcase #2:
FloatList <
Block(form)
TableWrapper(form)
Table(form)
Testcase #2b:
FloatList <
TableWrapper(form)
Table(form)
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 3•5 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Comment 4•5 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Updated•5 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 5•6 months ago
|
||
The two sites with known breakage have changed layouts and no longer have the issue. Dropping the webcompat priority until we find more breakage.
Reporter | ||
Updated•6 months ago
|
Description
•