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 | 4681e04dc5263a6cbb3f76ae20b0e44509bfee7b (patch) | |
tree | f81d96cd75530809f24a171340e846b7713edd12 /layout/base/nsPresContext.h | |
parent | e16ed489a4236ce1cb724c8e276400ddf3f74262 (diff) | |
download | UXP-4681e04dc5263a6cbb3f76ae20b0e44509bfee7b.tar UXP-4681e04dc5263a6cbb3f76ae20b0e44509bfee7b.tar.gz UXP-4681e04dc5263a6cbb3f76ae20b0e44509bfee7b.tar.lz UXP-4681e04dc5263a6cbb3f76ae20b0e44509bfee7b.tar.xz UXP-4681e04dc5263a6cbb3f76ae20b0e44509bfee7b.zip |
Issue #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/nsPresContext.h')
0 files changed, 0 insertions, 0 deletions