Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html
deleted file mode 100644
index c549f7ca6c530289800caf28e99504bc25eb4670..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/top-layer-position-static.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<style>
-.green-box {
- background-color: green;
- height: 50px;
- width: 50px;
- border: none;
- padding: 0;
- margin: 0;
-}
-
-#left-div {
- position: absolute;
- top: 100px;
- left: 100px;
-}
-
-#middle-dialog {
- position: static;
- top: 100px;
- left: 150px;
-}
-
-#right-dialog {
- position: static;
- top: 100px;
- left: 200px;
-}
-</style>
-<script src="../../../resources/check-layout.js"></script>
-</head>
-<body onload="checkLayout('dialog')">
-<p>Bug <a href="http://webkit.org/b/106538">106538</a>: Top layer fails for inline elements
-<p>This tests that position 'static' computes to 'absolute' in the top layer. The test passes if you see a single green box.</p>
-<div id="left-div" class="green-box"></div>
-<dialog id="middle-dialog" class="green-box" data-offset-x="150" data-offset-y="100"></dialog>
-<dialog id="right-dialog" class="green-box" data-offset-x="200" data-offset-y="100"></dialog>
-<script>
-document.getElementById('middle-dialog').showModal();
-var rightDialog = document.getElementById('right-dialog');
-rightDialog.showModal();
-rightDialog.style.position = 'absolute';
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698