Closed
Bug 1681375
Opened 4 years ago
Closed 4 years ago
Chrome seems to force empty contenteditables to have some height, while Firefox may not
Categories
(Core :: Layout: Text and Fonts, defect, P2)
Core
Layout: Text and Fonts
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox86 | --- | fixed |
People
(Reporter: twisniewski, Assigned: emilio)
Details
Attachments
(2 files)
In the attached test-case, Firefox gives the empty div a zero height, while Chrome seems to force it to have a height because it is contenteditable (without contenteditable, it also lays out with zero height).
As seen on webcompaat.com, without this "forced height", the comment form on support.oppo.com breaks, as the actual (trasparent) comment box has no height, and so cannot actually be seen.
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → emilio
Status: NEW → ASSIGNED
| Assignee | ||
Updated•4 years ago
|
Severity: -- → S2
Priority: -- → P2
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/34938f7c55a3
Allow scrolled-content-block to have a height for editable elements. r=layout-reviewers,mats
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26890 for changes under testing/web-platform/tests
Comment 4•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox86:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•