-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix paint issue with transparent scrollbars
LayoutBox::BackgroundClipBorderBoxIsEquivalentToPaddingBox now correctly accounts for non-auto scrollbar gutters, along with non-opaque scrollbars. ScrollbarDisplayItem::IsOpaque also now handles non-opaque non-overlay scrollbars. Bug: 1490798, 1459802 Change-Id: I7c3d5c3c1a498b43082dddfb7cab9850951e4ec6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4952560 Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Luke <lukewarlow156@gmail.com> Cr-Commit-Position: refs/heads/main@{#1212641}
- Loading branch information
1 parent
034ff93
commit 7176250
Showing
14 changed files
with
85 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...party/blink/web_tests/external/wpt/css/css-overflow/scrollbar-gutter-dynamic-003.html.ini
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
third_party/blink/web_tests/external/wpt/css/css-scrollbars/scrollbar-color-012-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html> | ||
<style> | ||
.container { | ||
overflow: auto; | ||
height: 200px; | ||
width: 200px; | ||
background-color: red; | ||
} | ||
</style> | ||
<div class="container"> | ||
<div class="content"></div> | ||
</div> |
24 changes: 24 additions & 0 deletions
24
third_party/blink/web_tests/external/wpt/css/css-scrollbars/scrollbar-color-012.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!doctype html> | ||
<html> | ||
<title>scrollbar-color with transparent colors works</title> | ||
<link rel="author" title="Luke Warlow" href="mailto:luke@warlow.dev" /> | ||
<link rel="match" href="scrollbar-color-012-ref.html" /> | ||
<link rel="help" href="https://drafts.csswg.org/css-scrollbars" /> | ||
<style> | ||
html {scrollbar-color: transparent transparent;} | ||
body {height: 200vh} | ||
.container { | ||
overflow: auto; | ||
height: 200px; | ||
width: 200px; | ||
background-color: red; | ||
} | ||
|
||
.content { | ||
height: 300px; | ||
width: 300px; | ||
} | ||
</style> | ||
<div class="container"> | ||
<div class="content"></div> | ||
</div> |