forked from mirrors/gecko-dev
Automatic update from web-platform-tests WebKit export of https://bugs.webkit.org/show_bug.cgi?id=272496 -- wpt-commits: cde638c5ac106e4b18fb3abbcdcb3de9c51e561b wpt-pr: 45699
20 lines
440 B
HTML
20 lines
440 B
HTML
<!DOCTYPE html>
|
|
<title>View transitions: capture elements and then change overflow (ref)</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-view-transitions-1/">
|
|
<style>
|
|
body { background: pink }
|
|
#target {
|
|
position: relative;
|
|
background: green;
|
|
left: 10px;
|
|
width: 100px;
|
|
height: 100px;
|
|
view-transition-name: target;
|
|
}
|
|
#target.toggle {
|
|
outline: 300px solid transparent;
|
|
}
|
|
</style>
|
|
|
|
<div id=target class=toggle></div>
|
|
|