mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision e2eb25aaa6dd3c512b172588f3400f9c25a410c3
This commit is contained in:
parent
3d4a416c6b
commit
8b66216ed2
484 changed files with 1945 additions and 1089 deletions
29
tests/wpt/web-platform-tests/css/css-box/inheritance.html
Normal file
29
tests/wpt/web-platform-tests/css/css-box/inheritance.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Inheritance of CSS Box Model properties</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-box-3/#property-index">
|
||||
<meta name="assert" content="Properties do not inherit.">
|
||||
<meta name="assert" content="length-percentage properties have initial value 0.">
|
||||
<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('margin-bottom', '0px', '10px');
|
||||
assert_not_inherited('margin-left', '0px', '10px');
|
||||
assert_not_inherited('margin-right', '0px', '10px');
|
||||
assert_not_inherited('margin-top', '0px', '10px');
|
||||
assert_not_inherited('margin-trim', 'none', 'all');
|
||||
assert_not_inherited('padding-bottom', '0px', '10px');
|
||||
assert_not_inherited('padding-left', '0px', '10px');
|
||||
assert_not_inherited('padding-right', '0px', '10px');
|
||||
assert_not_inherited('padding-top', '0px', '10px');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue