Skip to content
Snippets Groups Projects
Commit d755c489 authored by Nazım Can Altınova's avatar Nazım Can Altınova
Browse files

Bug 1386848 - stylo: Add a reftest for `transform: translate()` r=xidorn

MozReview-Commit-ID: F2XSsSc7w5n

--HG--
extra : rebase_source : f04340ee5b363424f0860fce8d0618ee99049312
parent f41592eb
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,7 @@ fuzzy-if(webrender,1,27) == compound-1a.html compound-1-ref.html ...@@ -33,6 +33,7 @@ fuzzy-if(webrender,1,27) == compound-1a.html compound-1-ref.html
== translate-1d.html translate-1-ref.html == translate-1d.html translate-1-ref.html
== translate-1e.html translate-1-ref.html == translate-1e.html translate-1-ref.html
== translate-2a.html translate-2-ref.html == translate-2a.html translate-2-ref.html
== translate-3.html translate-3-ref.html
# rotate: Several rotations of the same object should be idempotent. These # rotate: Several rotations of the same object should be idempotent. These
# tests are currently disabled because of subpixel (< 0.00001 gfx units) # tests are currently disabled because of subpixel (< 0.00001 gfx units)
# rounding errors. # rounding errors.
......
<!DOCTYPE html>
<style>
div {
width: 100px; height: 100px;
background: green;
}
</style>
<div></div>
<!DOCTYPE html>
<style>
div {
width: 100px; height: 100px;
}
#outer {
background: green;
overflow: hidden;
}
#inner {
background: red;
transform: translateX(calc(100px));
}
</style>
<div id="outer">
<div id="inner">
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment