summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scrollbars/viewport-scrollbar.html
blob: 500da7a9f9584428f27624d1e877085c382c0429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: scrollbar style on root element should be propagated to the viewport</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">
<link rel="match" href="viewport-scrollbar-ref.html">
<style>
iframe {
  border: 1px solid black;
  width: 200px; height: 200px;
}
</style>
<p>Test passes if the scrollbars in the following box are styled:</p>
<iframe src="support/viewport-scrollbar-frame.html"></iframe>