Bug 1329784 - avoid layout warnings in animation inspector debug tests;r=pbro draft
authorJulian Descottes <jdescottes@mozilla.com>
Tue, 24 Jan 2017 20:19:08 +0100
changeset 465740 f28a1887aa246f17fb19750e5325cfd5c500bd84
parent 465739 7661b5076f62722962c5c3f2c5a8c01c5e37dbee
child 543238 0db2b91eb9c78624880ae2bc5838fb12edc5c74e
push id42696
push userjdescottes@mozilla.com
push dateTue, 24 Jan 2017 19:34:13 +0000
reviewerspbro
bugs1329784
milestone54.0a1
Bug 1329784 - avoid layout warnings in animation inspector debug tests;r=pbro MozReview-Commit-ID: DmwfvvYyQOJ
devtools/client/animationinspector/test/doc_keyframes.html
devtools/client/animationinspector/test/doc_multiple_animation_types.html
devtools/client/animationinspector/test/doc_simple_animation.html
--- 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;