aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/css/css-overflow/inheritance.html
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-01-17 20:37:38 -0500
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2019-01-17 22:34:16 -0500
commit02c1eed9991623cfc2e282149ff2912c7092406b (patch)
treeae81466ea22f10ef18444c2b9adbdc2a5ec6e9d9 /tests/wpt/web-platform-tests/css/css-overflow/inheritance.html
parentfb95f9df9cab44afd66eae809af164637bd8f00a (diff)
downloadservo-02c1eed9991623cfc2e282149ff2912c7092406b.tar.gz
servo-02c1eed9991623cfc2e282149ff2912c7092406b.zip
Update web-platform-tests to revision 74bae78af4b95a2f0ca3a81df9c7fe3143f24bbc
Diffstat (limited to 'tests/wpt/web-platform-tests/css/css-overflow/inheritance.html')
-rw-r--r--tests/wpt/web-platform-tests/css/css-overflow/inheritance.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/wpt/web-platform-tests/css/css-overflow/inheritance.html b/tests/wpt/web-platform-tests/css/css-overflow/inheritance.html
new file mode 100644
index 00000000000..976406be413
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/css-overflow/inheritance.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Inheritance of CSS Overflow properties</title>
+<link rel="help" href="https://drafts.csswg.org/css-overflow/#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_inherited('block-ellipsis', 'none', 'auto');
+assert_not_inherited('continue', 'auto', 'discard');
+assert_not_inherited('max-lines', 'none', '2');
+assert_not_inherited('overflow-block', 'visible', 'scroll');
+assert_not_inherited('overflow-inline', 'visible', 'scroll');
+assert_not_inherited('overflow-x', 'visible', 'scroll');
+assert_not_inherited('overflow-y', 'visible', 'scroll');
+assert_not_inherited('text-overflow', 'clip', 'ellipsis');
+</script>
+</body>
+</html>