Open
Bug 1801710
Opened 3 years ago
Updated 3 years ago
`element.scrollHeight` for `overflow: visible` elements takes in-flow position of relatively positioned elements
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
NEW
People
(Reporter: dshin, Unassigned)
References
Details
Attachments
(1 file)
|
351 bytes,
text/html
|
Details |
STR: Load attached test case, examine console for the value of scrollHeight
Expected: Should print 100
Actual: Prints 200
The element contains a relatively positioned element.
From the entry point, nsLayoutUtils::UnionChildOverflow gets called, which combines normal and actual position of relatively positioned elements.
| Reporter | ||
Updated•3 years ago
|
Summary: `element.scrollHeight` for `overflow: visible` elements can be larger than the element's size → `element.scrollHeight` for `overflow: visible` elements takes in-flow position of relatively positioned elements
| Reporter | ||
Updated•3 years ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•