Skip to content

Commit

Permalink
[css-scrollbars] Inheritance, initial values (web-platform-tests#13647)
Browse files Browse the repository at this point in the history
Properties inherit or not according to the spec.
Properties have initial values according to the spec.
https://drafts.csswg.org/css-scrollbars/#property-index
  • Loading branch information
ewilligers authored and loly89 committed May 6, 2019
1 parent 003003e commit 47ab81e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions css/css-scrollbars/inheritance.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of CSS Scrollbars properties</title>
<link rel="help" href="https://drafts.csswg.org/css-scrollbars/#property-index">
<meta name="assert" content="Properties inherit according to the spec.">
<meta name="assert" content="Properties have initial values according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_inherited('scrollbar-color', 'auto', 'rgb(1, 2, 3) rgb(4, 5, 6)');
assert_not_inherited('scrollbar-width', 'auto', 'thin');
</script>
</body>
</html>

0 comments on commit 47ab81e

Please sign in to comment.