forked from mirrors/gecko-dev
Automatic update from web-platform-tests Make the css-scrollbars reftest fail when properties are not implemented This is the reftest part of https://github.com/web-platform-tests/wpt/issues/44185 Similar work may be needed for testharness tests. Note however that these are minimal modifications of the test that do not account for overlay scrollbars anymore than the original tests did, as dicussed in https://github.com/web-platform-tests/wpt/issues/44196 It's likely that some tests that used to pass with overlay scrollbars regardless of what the browser did now fail even even if it does the right thing. That's unfortunate, but it seems better than claiming a PASS when we didn't effectively test anything, as we now at least have a failure to investigate, even if it's a limitation in the test rather than a bug in the browser. -- wpt-commits: 0030fb9898da9f847db285cebed63a5b6ec809fe wpt-pr: 44197
22 lines
628 B
HTML
22 lines
628 B
HTML
<!DOCTYPE html>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Reference: unstyled scrollbars</title>
|
|
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
|
|
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
|
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
|
|
<style>
|
|
#outer {
|
|
border: 1px solid black;
|
|
width: 200px; height: 200px;
|
|
overflow: scroll;
|
|
scrollbar-color: yellow blue;
|
|
}
|
|
#inner {
|
|
width: 400px; height: 400px;
|
|
}
|
|
</style>
|
|
<p>Test passes if the scrollbars in the following box are NOT styled:</p>
|
|
<div id="outer">
|
|
<div id="inner">
|
|
</div>
|
|
</div>
|