Bug 1425243 - Reftest. r=mstange
authorBotond Ballo <botond@mozilla.com>
Wed, 07 Feb 2018 23:39:28 -0500
changeset 403243 498f5e1caf9c5fa9f184b33d507ff86fb51c2f04
parent 403242 1866dea08fcba3717a64fbc8336eb6bb58274c5b
child 403244 794dc13908e5e45b0e8c08671d63d6b1bab33a23
push id99755
push userbtara@mozilla.com
push dateSat, 10 Feb 2018 10:02:59 +0000
treeherdermozilla-inbound@0417e1acfc10 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1425243
milestone60.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1425243 - Reftest. r=mstange MozReview-Commit-ID: HP5CfcTuMUZ
layout/reftests/bugs/1425243-1-ref.html
layout/reftests/bugs/1425243-1.html
layout/reftests/bugs/pinwheel_logo.svg
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1425243-1-ref.html
@@ -0,0 +1,21 @@
+<style>
+.logo {
+    display: flex;
+    align-items: center;
+    background-color: #4a4a4a;
+    mask: url(pinwheel_logo.svg) center center/contain no-repeat;
+    width: 60px;
+    height: 60px;
+}
+.logo .background {
+    background-image: linear-gradient(red, green);
+    width: 65px;
+    height: 65px;
+    background-size: cover;
+    background-position: 50%;
+    transform: rotate(270deg);
+}
+</style>
+<a class="logo">
+    <span class="background"></span>
+</a>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/1425243-1.html
@@ -0,0 +1,41 @@
+<html class="reftest-wait">
+<style>
+.logo {
+    display: flex;
+    align-items: center;
+    background-color: #4a4a4a;
+    mask: url(pinwheel_logo.svg) center center/contain no-repeat;
+    width: 60px;
+    height: 60px;
+}
+.logo .background {
+    background-image: linear-gradient(red, green);
+    width: 65px;
+    height: 65px;
+    background-size: cover;
+    background-position: 50%;
+    will-change: transform;
+}
+</style>
+<a class="logo">
+    <span class="background"></span>
+</a>
+<script>
+function doTest() {
+  var i = 0;
+  var e = document.getElementsByClassName("background")[0];
+  var rotator = function() {
+    var rotation = i / 60;
+    e.style.transform = "rotate(" + rotation + "turn)";
+    if (i < 45) {
+      i += 1;
+      window.requestAnimationFrame(rotator);
+    } else {
+      document.documentElement.removeAttribute("class");
+    }
+  };
+  window.requestAnimationFrame(rotator);
+};
+window.addEventListener("MozReftestInvalidate", doTest);
+</script>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/pinwheel_logo.svg
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg class="mark style-scope phusion-nav" width="60px" height="60px" viewBox="0 0 60 60" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title class="style-scope phusion-nav">Phusion logo</title>
+    <defs class="style-scope phusion-nav"></defs>
+    <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" class="style-scope phusion-nav">
+        <g id="PHeader" transform="translate(-250.000000, -50.000000)" fill-rule="nonzero" fill="#4A4A4A" class="style-scope phusion-nav">
+            <g id="Header" class="style-scope phusion-nav">
+                <path d="M272.496278,101.084044 C259.991723,99.5969298 250,88.7779024 250,75.6097561 C250,73.4544985 251.736404,71.7473919 253.891661,71.7473919 C256.046919,71.7473919 257.735328,73.4544985 257.735328,75.6097561 C257.735328,84.6128954 264.421863,92.1152701 273.042052,93.3493116 C271.724126,94.2226399 270.82061,95.6616211 270.82061,97.326422 C270.82061,98.9912228 271.515845,100.208413 272.496278,101.084044 Z M258.724038,75.6097561 C258.724038,73.4544985 260.512068,71.7544779 262.667326,71.7544779 C264.822583,71.7544779 266.455793,73.4544985 266.455793,75.6097561 C266.455793,79.7873026 269.450505,83.5636195 273.251,84.4879002 C271.664801,85.4942359 270.846989,86.8840811 270.846989,88.5773152 C270.846989,90.16831 271.315382,91.2236804 272.394841,92.2637195 C264.826362,90.8367473 258.724038,84.0372535 258.724038,75.6097561 Z M271.150796,71.7706745 C273.549956,71.7706745 275.156607,73.4544985 275.156607,75.6097561 L275.162916,79.7560976 C275.156607,82.2599085 276.867378,83.8496957 277.188572,83.8489663 C277.188726,83.8496955 277.949489,83.8489663 275.794231,83.8489663 C271.079605,83.8489663 267.424852,80.3724038 267.424852,75.6097561 C267.424852,73.4544985 269.23944,71.7706745 271.150796,71.7706745 Z M301.084044,87.5037217 C299.59693,100.008277 288.777902,110 275.609756,110 C273.454499,110 271.747392,108.263596 271.747392,106.108339 C271.747392,103.953081 273.454499,102.264672 275.609756,102.264672 C284.612895,102.264672 292.11527,95.5781369 293.349312,86.9579483 C294.22264,88.2758742 295.661621,89.1793898 297.326422,89.1793898 C298.991223,89.1793898 300.208413,88.4841547 301.084044,87.5037217 Z M275.609756,101.275962 C273.454499,101.275962 271.754478,99.4879319 271.754478,97.3326744 C271.754478,95.1774168 273.454499,93.5442073 275.609756,93.5442073 C279.787303,93.5442073 283.563619,90.549495 284.4879,86.7489996 C285.494236,88.3351991 286.884081,89.1530107 288.577315,89.1530107 C290.16831,89.1530107 291.22368,88.6846179 292.26372,87.6051591 C290.836747,95.1736376 284.037254,101.275962 275.609756,101.275962 Z M271.770675,88.8492045 C271.770675,86.4500445 273.454499,84.8433927 275.609756,84.8433927 L279.756098,84.8370844 C282.259909,84.8433927 283.849696,83.132622 283.848966,82.8114282 C283.849695,82.8112737 283.848966,82.0505113 283.848966,84.2057689 C283.848966,88.9203948 280.372404,92.5751477 275.609756,92.5751477 C273.454499,92.5751477 271.770675,90.7605596 271.770675,88.8492045 Z M287.503722,58.9159561 C300.008277,60.4030702 310,71.2220976 310,84.3902439 C310,86.5455015 308.263596,88.2526081 306.108339,88.2526081 C303.953081,88.2526081 302.264672,86.5455015 302.264672,84.3902439 C302.264672,75.3871046 295.578137,67.8847299 286.957948,66.6506884 C288.275874,65.7773601 289.17939,64.3383789 289.17939,62.673578 C289.17939,61.0087772 288.484155,59.7915873 287.503722,58.9159561 Z M301.275962,84.3902439 C301.275962,86.5455015 299.487932,88.2455221 297.332674,88.2455221 C295.177417,88.2455221 293.544207,86.5455015 293.544207,84.3902439 C293.544207,80.2126974 290.549495,76.4363805 286.749,75.5120998 C288.335199,74.5057641 289.153011,73.1159189 289.153011,71.4226848 C289.153011,69.83169 288.684618,68.7763196 287.605159,67.7362805 C295.173638,69.1632527 301.275962,75.9627465 301.275962,84.3902439 Z M288.849204,88.2293255 C286.450044,88.2293255 284.843393,86.5455015 284.843393,84.3902439 L284.837084,80.2439024 C284.843393,77.7400915 283.132622,76.1503043 282.811428,76.1510337 C282.811274,76.1503045 282.050511,76.1510337 284.205769,76.1510337 C288.920395,76.1510337 292.575148,79.6275962 292.575148,84.3902439 C292.575148,86.5455015 290.76056,88.2293255 288.849204,88.2293255 Z M258.915956,72.4962783 C260.40307,59.991723 271.222098,50 284.390244,50 C286.545501,50 288.252608,51.7364035 288.252608,53.8916611 C288.252608,56.0469187 286.545501,57.7353277 284.390244,57.7353277 C275.387105,57.7353277 267.88473,64.4218631 266.650688,73.0420517 C265.77736,71.7241258 264.338379,70.8206102 262.673578,70.8206102 C261.008777,70.8206102 259.791587,71.5158453 258.915956,72.4962783 Z M284.390244,58.7240377 C286.545501,58.7240377 288.245522,60.5120681 288.245522,62.6673256 C288.245522,64.8225832 286.545501,66.4557927 284.390244,66.4557927 C280.212697,66.4557927 276.436381,69.450505 275.5121,73.2510004 C274.505764,71.6648009 273.115919,70.8469893 271.422685,70.8469893 C269.83169,70.8469893 268.77632,71.3153821 267.73628,72.3948409 C269.163253,64.8263624 275.962746,58.7240377 284.390244,58.7240377 Z M288.229325,71.1507955 C288.229325,73.5499555 286.545501,75.1566073 284.390244,75.1566073 L280.243902,75.1629156 C277.740091,75.1566073 276.150304,76.867378 276.151034,77.1885718 C276.150305,77.1887263 276.151034,77.9494887 276.151034,75.7942311 C276.151034,71.0796052 279.627596,67.4248523 284.390244,67.4248523 C286.545501,67.4248523 288.229325,69.2394404 288.229325,71.1507955 Z" id="Phusion-logo" class="style-scope phusion-nav"></path>
+            </g>
+        </g>
+    </g>
+</svg>
\ No newline at end of file
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -2053,9 +2053,10 @@ needs-focus != 1377447-1.html 1377447-2.
 == 1410028.html 1410028-ref.html
 test-pref(font.size.systemFontScale,200) == 1412743.html 1412743-ref.html
 == 1419820-1.html 1419820-1-ref.html
 == 1420946-1.html 1420946-1-ref.html
 == 1422393.html 1422393-ref.html
 == 1424177.html 1424177-ref.html
 == 1424680.html 1424680-ref.html
 == 1424798-1.html 1424798-ref.html
+fuzzy(74,2234) random-if(webrender) == 1425243-1.html 1425243-1-ref.html
 == 1432541.html 1432541-ref.html