diff options
Diffstat (limited to 'layout/reftests/css-animations/containing-block-on-visibility-hidden-ref.html')
-rw-r--r-- | layout/reftests/css-animations/containing-block-on-visibility-hidden-ref.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/css-animations/containing-block-on-visibility-hidden-ref.html b/layout/reftests/css-animations/containing-block-on-visibility-hidden-ref.html new file mode 100644 index 0000000000..73bf27705b --- /dev/null +++ b/layout/reftests/css-animations/containing-block-on-visibility-hidden-ref.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<style> +#parent { + visibility: hidden; + will-change: transform; +} + +#fixed { + position: fixed; + background-color: green; + height: 100px; + width: 100px; +} + +#scroll { + overflow-y: scroll; + overflow-x: hidden; + height: 80px; + width: 100px; +} +</style> +<div id="scroll"> + <div id="parent"> + <div id="fixed"></div> + </div> +</div> |