Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Null dereference loading Blink layout test scrollbars/custom-scrollba…
…r-appearance-property.html https://bugs.webkit.org/show_bug.cgi?id=149312 <rdar://problem/22748910> Reviewed by Darin Adler. Source/WebCore: This is a merge from Blink r167503: https://codereview.chromium.org/173433002 Test: scrollbars/custom-scrollbar-appearance-property.html * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintSearchFieldCancelButton): (WebCore::RenderThemeMac::paintSearchFieldResultsDecorationPart): LayoutTests: * scrollbars/custom-scrollbar-appearance-property-expected.txt: Added. * scrollbars/custom-scrollbar-appearance-property.html: Added. Canonical link: https://commits.webkit.org/169076@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
74 additions
and
0 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
@@ -0,0 +1,2 @@ | ||
PASS, WebKit didn't crash. | ||
|
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
@@ -0,0 +1,40 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<style> | ||
::-webkit-scrollbar { | ||
width: 16px; | ||
height: 16px; | ||
-webkit-appearance: searchfield-results-decoration; | ||
} | ||
|
||
::-webkit-scrollbar-track { | ||
background-color: #E3E3E3; | ||
-webkit-appearance: searchfield-cancel-button; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
background: black; | ||
} | ||
|
||
.scroll-container { | ||
overflow: scroll; | ||
width: 50px; | ||
height: 50px; | ||
} | ||
|
||
.overflowing { | ||
width: 200px; | ||
height: 200px; | ||
} | ||
</style> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> | ||
</head> | ||
<body> | ||
PASS, WebKit didn't crash. | ||
<div class="scroll-container"><div class="overflowing"></div></div> | ||
</body> | ||
</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
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