mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move transition_calc.html to wpt reftests.
This commit is contained in:
parent
089fc93ff7
commit
57244111db
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/transition_calc.html": [
|
||||
{
|
||||
"path": "css/transition_calc.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/transition_calc_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/transition_calc.html"
|
||||
}
|
||||
],
|
||||
"css/upper_id_attr.html": [
|
||||
{
|
||||
"path": "css/upper_id_attr.html",
|
||||
|
@ -2012,6 +2024,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/transition_calc.html": [
|
||||
{
|
||||
"path": "css/transition_calc.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/transition_calc_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/transition_calc.html"
|
||||
}
|
||||
],
|
||||
"css/upper_id_attr.html": [
|
||||
{
|
||||
"path": "css/upper_id_attr.html",
|
||||
|
|
26
tests/wpt/mozilla/tests/css/transition_calc.html
Normal file
26
tests/wpt/mozilla/tests/css/transition_calc.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<link rel='match' href='transition_calc_ref.html'>
|
||||
<style>
|
||||
.outer {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.inner {
|
||||
transition: height 0s;
|
||||
height: calc(100px + 5%);
|
||||
width: 100px;
|
||||
background: red;
|
||||
display: inline-block;
|
||||
}
|
||||
.inner.active {
|
||||
height: 200px;
|
||||
}
|
||||
</style>
|
||||
<div class=outer>
|
||||
<div class=inner id=inner></div>
|
||||
</div>
|
||||
<script>
|
||||
requestAnimationFrame(function() {
|
||||
document.getElementById('inner').className = 'inner active';
|
||||
requestAnimationFrame(function() {});
|
||||
});
|
||||
</script>
|
17
tests/wpt/mozilla/tests/css/transition_calc_ref.html
Normal file
17
tests/wpt/mozilla/tests/css/transition_calc_ref.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<style>
|
||||
.outer {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
.inner {
|
||||
width: 100px;
|
||||
height: 200px;
|
||||
background: red;
|
||||
display: inline-block;
|
||||
}
|
||||
.inner.active {
|
||||
}
|
||||
</style>
|
||||
<div class=outer>
|
||||
<div class=inner id=inner></div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue