mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 06:08:24 +02:00
These tests were using chrome mochitest which forces the test page to be running in chrome and in parent process. This doesn't reflect typical setup where the page runs unprivileged in content process. Also, with the current bug, the pages running in system principal will be debugged with a special setup. Actors will be run with modules loaded in a distinct loader in order to be executed in a distinct compartment, distinct from the shared system principal compartment. That a prerequisite for the Debugger API. It has to run in a distinct compartment than its debuggee. Depends on D16825 Differential Revision: https://phabricator.services.mozilla.com/D16826 --HG-- rename : devtools/server/tests/mochitest/animation-data.html => devtools/server/tests/browser/animation-data.html rename : devtools/server/tests/mochitest/test_inspector-mutations-childlist.html => devtools/server/tests/browser/browser_inspector-mutations-childlist.js rename : devtools/server/tests/mochitest/inspector-helpers.js => devtools/server/tests/browser/inspector-helpers.js extra : moz-landing-system : lando
115 lines
2 KiB
HTML
115 lines
2 KiB
HTML
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Animation Test Data</title>
|
|
<style>
|
|
.ball {
|
|
width: 80px;
|
|
height: 80px;
|
|
border-radius: 50%;
|
|
background: #f06;
|
|
|
|
position: absolute;
|
|
}
|
|
|
|
.still {
|
|
top: 0;
|
|
left: 10px;
|
|
}
|
|
|
|
.animated {
|
|
top: 100px;
|
|
left: 10px;
|
|
|
|
animation: simple-animation 2s infinite alternate;
|
|
}
|
|
|
|
.multi {
|
|
top: 200px;
|
|
left: 10px;
|
|
|
|
animation: simple-animation 2s infinite alternate,
|
|
other-animation 5s infinite alternate;
|
|
}
|
|
|
|
.delayed {
|
|
top: 300px;
|
|
left: 10px;
|
|
background: rebeccapurple;
|
|
|
|
animation: simple-animation 3s 60s 10;
|
|
}
|
|
|
|
.multi-finite {
|
|
top: 400px;
|
|
left: 10px;
|
|
background: yellow;
|
|
|
|
animation: simple-animation 3s,
|
|
other-animation 4s;
|
|
}
|
|
|
|
.short {
|
|
top: 500px;
|
|
left: 10px;
|
|
background: red;
|
|
|
|
animation: simple-animation 2s;
|
|
}
|
|
|
|
.long {
|
|
top: 600px;
|
|
left: 10px;
|
|
background: blue;
|
|
|
|
animation: simple-animation 120s;
|
|
}
|
|
|
|
.negative-delay {
|
|
top: 700px;
|
|
left: 10px;
|
|
background: gray;
|
|
|
|
animation: simple-animation 15s -10s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.no-compositor {
|
|
top: 0;
|
|
right: 10px;
|
|
background: gold;
|
|
|
|
animation: no-compositor 10s cubic-bezier(.57,-0.02,1,.31) forwards;
|
|
}
|
|
|
|
@keyframes simple-animation {
|
|
100% {
|
|
transform: translateX(300px);
|
|
}
|
|
}
|
|
|
|
@keyframes other-animation {
|
|
100% {
|
|
background: blue;
|
|
}
|
|
}
|
|
|
|
@keyframes no-compositor {
|
|
100% {
|
|
margin-right: 600px;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
</body>
|
|
<div class="ball still"></div>
|
|
<div class="ball animated"></div>
|
|
<div class="ball multi"></div>
|
|
<div class="ball delayed"></div>
|
|
<div class="ball multi-finite"></div>
|
|
<div class="ball short"></div>
|
|
<div class="ball long"></div>
|
|
<div class="ball negative-delay"></div>
|
|
<div class="ball no-compositor"></div>
|
|
</body>
|
|
</html>
|