Update web-platform-tests to revision 10adbd6b133f1ccf77a27ed51ffd3e7a00a499ee

This commit is contained in:
WPT Sync Bot 2020-03-24 08:19:05 +00:00
parent ecef8994e0
commit 1d6ba62c8f
119 changed files with 4676 additions and 523 deletions

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<title>Test that rem units are responsive to animated font-size on root</title>
<link rel="help" href="https://drafts.csswg.org/css-animations/">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
@keyframes font_size_animation {
from { font-size: 10px; }
to { font-size: 20px; }
}
:root {
font-size: 1px;
animation: font_size_animation steps(2, end) 1000s -500s;
}
#target1 {
width: 1rem;
}
</style>
<div id="target1"></div>
<script>
test(() => {
assert_equals(getComputedStyle(target1).getPropertyValue('width'), '15px');
}, 'Animated font-size on root affects rem units');
</script>