Skip to content

Commit

Permalink
Merge pull request #13060 from ewilligers/display-inheritance
Browse files Browse the repository at this point in the history
[css-display] Inheritance and initial value
  • Loading branch information
tabatkins committed Sep 20, 2018
2 parents c73ea25 + 4b1d0cf commit 479f209
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions css/css-display/inheritance.html
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of CSS display property</title>
<link rel="help" href="https://drafts.csswg.org/css-display/#the-display-properties">
<meta name="assert" content="Property 'display' does not inherit.">
<meta name="assert" content="Property 'display' has initial value 'inline'.">
<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('display', 'inline', 'table');
</script>
</body>
</html>

0 comments on commit 479f209

Please sign in to comment.