mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Update web-platform-tests to revision 8d1253647cfe3809ddf58a4ad7c9da5f26985d7e
This commit is contained in:
parent
553ff20468
commit
48c420fdb5
440 changed files with 6186 additions and 3542 deletions
|
@ -0,0 +1,27 @@
|
|||
<!doctype HTML>
|
||||
<meta charset="utf8">
|
||||
<title>CSS Content Visibility: content-visibility is not animatable.</title>
|
||||
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
|
||||
<meta name="assert" content="content-visibility is not animatable">
|
||||
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<style>
|
||||
@keyframes cv {
|
||||
from { content-visibility: auto }
|
||||
to { content-visibility: hidden }
|
||||
}
|
||||
|
||||
#container { animation: cv 1s; }
|
||||
</style>
|
||||
|
||||
<div id=container></div>
|
||||
|
||||
<script>
|
||||
test(() => {
|
||||
const computedStyle = getComputedStyle(container);
|
||||
assert_equals(computedStyle.contentVisibility, "visible");
|
||||
}, "Content-visibility is not animatable");
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue