Bug 1329784 - avoid layout warnings in animation inspector debug tests;r=pbro
MozReview-Commit-ID: DmwfvvYyQOJ
--- a/devtools/client/animationinspector/test/doc_keyframes.html
+++ b/devtools/client/animationinspector/test/doc_keyframes.html
@@ -6,16 +6,18 @@
<style>
div {
animation: wow 100s forwards;
}
@keyframes wow {
0% {
width: 100px;
height: 100px;
+ /* Add a border here to avoid layout warnings in Linux debug builds: Bug 1329784 */
+ border: 1px solid transparent;
border-radius: 0px;
background: #f06;
}
10% {
border-radius: 2px;
}
20% {
transform: rotate(13deg);
--- a/devtools/client/animationinspector/test/doc_multiple_animation_types.html
+++ b/devtools/client/animationinspector/test/doc_multiple_animation_types.html
@@ -1,16 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
.ball {
width: 80px;
height: 80px;
+ /* Add a border here to avoid layout warnings in Linux debug builds: Bug 1329784 */
+ border: 1px solid transparent;
border-radius: 50%;
}
.script-animation {
background: #f06;
}
.css-transition {
--- a/devtools/client/animationinspector/test/doc_simple_animation.html
+++ b/devtools/client/animationinspector/test/doc_simple_animation.html
@@ -1,16 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
.ball {
width: 80px;
height: 80px;
+ /* Add a border here to avoid layout warnings in Linux debug builds: Bug 1329784 */
+ border: 1px solid transparent;
border-radius: 50%;
background: #f06;
position: absolute;
}
.still {
top: 0;