зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1501246 [wpt PR 13677] - [css-overscroll-behavior] Inheritance, initial, a=testonly
Automatic update from web-platform-tests[css-overscroll-behavior] Inheritance, initial (#13677) Properties inherit or not according to the spec. Properties have initial values according to the spec. https://drafts.csswg.org/css-overscroll-behavior/#property-index -- wpt-commits: 69a295238d917c2438c0029a143757a99768f275 wpt-pr: 13677
This commit is contained in:
Родитель
c3cda79cb6
Коммит
0bf3dec27b
|
@ -0,0 +1,3 @@
|
|||
spec: https://drafts.csswg.org/css-overscroll-behavior/
|
||||
suggested_reviewers:
|
||||
- majido
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Inheritance of CSS Overscroll Behavior properties</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overscroll-behavior/#property-index">
|
||||
<meta name="assert" content="Properties inherit or not 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_not_inherited('overscroll-behavior-x', 'auto', 'contain');
|
||||
assert_not_inherited('overscroll-behavior-y', 'auto', 'contain');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче