diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-06 12:47:56 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-06 12:48:38 +0000 |
commit | 94c09b557608ae3bd8e2cb031ac268a1261346c3 (patch) | |
tree | f81d96cd75530809f24a171340e846b7713edd12 /layout/base/nsCSSFrameConstructor.cpp | |
parent | 0e999e41a5a2476982010889d9e2325f8d8c358c (diff) | |
download | aura-central-94c09b557608ae3bd8e2cb031ac268a1261346c3.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/base/nsCSSFrameConstructor.cpp')
0 files changed, 0 insertions, 0 deletions