diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/fractional-translation-from-position-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-view-transitions/fractional-translation-from-position-ref.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/fractional-translation-from-position-ref.html b/testing/web-platform/tests/css/css-view-transitions/fractional-translation-from-position-ref.html new file mode 100644 index 0000000000..0674b265ac --- /dev/null +++ b/testing/web-platform/tests/css/css-view-transitions/fractional-translation-from-position-ref.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html> +<title>View transitions: fractional translation from position (ref)</title> +<link rel="help" href="https://www.w3.org/TR/css-view-transitions-1/"> +<link rel="author" href="mailto:khushalsagar@chromium.org"> +<style> +body { + width: 100vw; + height: 100vh; + background: grey; +} + +#target { + width: 100px; + height: 100px; + position: fixed; + top: 100.52px; + left: 100.37px; + + view-transition-name: target; + contain: layout; + will-change: filter; +} +</style> + +<div id=target> + Here is some text which should not be blurry. +</div> |