diff options
Diffstat (limited to 'layout/reftests/display-list/retained-dl-style-change-with-prerender-transform-1-ref.html')
-rw-r--r-- | layout/reftests/display-list/retained-dl-style-change-with-prerender-transform-1-ref.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/display-list/retained-dl-style-change-with-prerender-transform-1-ref.html b/layout/reftests/display-list/retained-dl-style-change-with-prerender-transform-1-ref.html new file mode 100644 index 0000000000..81682df6f6 --- /dev/null +++ b/layout/reftests/display-list/retained-dl-style-change-with-prerender-transform-1-ref.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<style> +.wrapper { + width: 810vw; + transform: translateX(-50%); + height: 90vh; +} +.slides { + will-change: transform; +} +.button { + background-color: green; + position: absolute; + left:50%; +} +</style> +<div class="wrapper"> + <div class="slides"> + <span class="button">Add to cart</span> + </div> +</div> +</html> |