1
0
Fork 0
firefox/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-078-ref.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

29 lines
677 B
HTML

<!doctype HTML>
<html>
<meta charset="utf8">
<title>CSS Content Visibility: positioned movement update moves hidden container (reference)</title>
<link rel="author" title="Vladimir Levin" href="mailto:vmpstr@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
<style>
#target {
top: 50px;
left: 100px;
position: absolute;
width: 100px;
height: 100px;
background: blue;
}
#t2 {
top: 150px;
left: 100px;
position: absolute;
width: 100px;
height: 100px;
background: orange;
}
</style>
<p>Test passes if the blue and orange boxes are vertically aligned with each other.
<div id=target></div>
<div id=t2></div>