Create an absolutely-positioned container element which is a grid with max-height:100%. Have a child element with grid-area: 1/1 and with content that can overflow the container when the viewport gets too short, causing a scrollbar to appear.
Result when content can wrap (content wraps):
https://game-point.net/misc/stickyMaskO ... index6.htm
Result when content can't wrap (horizontal scrollbar is displayed):
https://game-point.net/misc/stickyMaskO ... index7.htm
In both cases, this seems incorrect to me. The browser should calculate the inline content according to the ideal content width, which is the width the content could expand to without taking any soft wrapping opportunities. In the latter case, it's not even expanding the width to fit the minimum content width with the scrollbar despite having plenty of room to do so.
A kind reminder we would like all registered users to weigh in on one of our forum's security policies.
Please take a moment to read this thread and place a vote.
https://forum.palemoon.org/viewtopic.php?f=17&t=32935
Please take a moment to read this thread and place a vote.
https://forum.palemoon.org/viewtopic.php?f=17&t=32935
Rendering issue with scrollbar in absolute positioning
Moderators: trava90, athenian200
-
jez9999
- Fanatic

- Posts: 109
- Joined: 2015-05-30, 19:35
- Location: UK
-
Moonchild
- Pale Moon guru

- Posts: 38503
- Joined: 2011-08-28, 17:27
- Location: Sweden
Re: Rendering issue with scrollbar in absolute positioning
This is likely related to Issue #1986 (UXP)
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite