diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/bugs/630835-1.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bugs/630835-1.html')
-rw-r--r-- | layout/reftests/bugs/630835-1.html | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/layout/reftests/bugs/630835-1.html b/layout/reftests/bugs/630835-1.html new file mode 100644 index 000000000..627494042 --- /dev/null +++ b/layout/reftests/bugs/630835-1.html @@ -0,0 +1,44 @@ +<!DOCTYPE HTML> +<html class="reftest-wait"> +<head> +<style> +#d { + background: red; + position: absolute; + top: 8px; + left: 8px; + height: 200px; + width: 800px; + transform: rotate(40deg); + -moz-transform: rotate(40deg); +} +#d2 { + background: white; + position: absolute; + top: 6px; + left: 6px; + height: 204px; + width: 804px; + transform: rotate(45deg); + -moz-transform: rotate(45deg); +} +</style> +</head> +<body> +<script> +function doTest() { + // The first rotation here makes the transform active. The second rotation + // sets it back where it belongs. + var d = document.getElementById("d"); + d.style.transform = d.style.MozTransform = 'rotate(45deg)'; + document.documentElement.removeAttribute('class'); +} +window.addEventListener("MozReftestInvalidate", doTest, false); +</script> +<div id="d">test</div> +<!-- d2 covers up d completely so that we don't get a reftest failure due to a difference + between the rendering of an 'active transform' (transformed via layers) vs an inactive + transform (transformed via D2D or cairo) --> +<div id="d2">test</div> +</body> +</html> |