summaryrefslogtreecommitdiff
path: root/layout/generic/TextOverflow.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-06 12:47:56 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-06 12:48:38 +0000
commit210f946557982e58cf0cac3b44102ca0f5ff467b (patch)
treef81d96cd75530809f24a171340e846b7713edd12 /layout/generic/TextOverflow.cpp
parent7aaa477df13512d9b25a9ad3546971bba8fadf9a (diff)
downloaduxp-210f946557982e58cf0cac3b44102ca0f5ff467b.tar.gz
Issue mcp-graveyard/UXP#1705 - Part 2: Add a ShowScrollbar enum to be used in ScrollReflowInput.
Overflow properties have two purposes: 1. controlling whether the scrollbar should be shown; 2. controlling whether the content is scrollable. However, with the scrollbar-width property being added, scrollability and presence of a scrollbar are no longer tied together. This patch makes a separation between the value of overflow and the presence of a scrollbar by making it clear that for ScrollReflowInput, we only care about whether scrollbar should be shown. This should make it easier to write the logic involving presence of the scrollbar based on webdev choice.
Diffstat (limited to 'layout/generic/TextOverflow.cpp')
0 files changed, 0 insertions, 0 deletions