mirror of
https://github.com/servo/servo
synced 2026-05-12 18:06:32 +02:00
20 lines
570 B
HTML
20 lines
570 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="resources/dialog.css">
|
|
<style>
|
|
.pseudodialog {
|
|
height: 150px;
|
|
width: 150px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
This tests top layer element stacking order after dynamically calling show/close and removal from the DOM tree.
|
|
The test passes if you see a green rectangle stacked on top of a blue rectangle, and see no red rectangles.
|
|
|
|
<div class="pseudodialog" style="top: 50px; background-color: blue"></div>
|
|
<div class="pseudodialog" style="top: 100px; left: 50px; background-color: green"></div>
|
|
</body>
|
|
</html>
|