mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Update web-platform-tests to revision ebeb032b23de5abb7f9fd7fffcf471eaa6e2c154
This commit is contained in:
parent
b3c0ed295f
commit
a45a4f8e2b
55 changed files with 895 additions and 104 deletions
|
@ -25,8 +25,6 @@ assert_not_inherited('max-height', 'none', '10px');
|
|||
assert_not_inherited('max-width', 'none', '10px');
|
||||
assert_not_inherited('min-height', 'auto', '10px');
|
||||
assert_not_inherited('min-width', 'auto', '10px');
|
||||
|
||||
// height, width not yet tested.
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Inheritance of CSS Intrinsic & Extrinsic Sizing properties</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-sizing-3/#property-index">
|
||||
<meta name="assert" content="Properties do not inherit.">
|
||||
<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>
|
||||
<style>
|
||||
#target {
|
||||
position: absolute;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container">
|
||||
<div id="target"></div>
|
||||
</div>
|
||||
<script>
|
||||
// Without position absolute, the initial value
|
||||
// 'auto' gives the size of the parent element.
|
||||
assert_not_inherited('height', '0px', '10px');
|
||||
assert_not_inherited('width', '0px', '10px');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue