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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-zIndex-auto.html

Issue 2047283002: Avoid touching z-index in StyleAdjuster by using an isStackingContext flag instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comments Created 4 years, 5 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/css/getComputedStyle/getComputedStyle-zIndex-auto.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-zIndex-auto.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-zIndex-auto.html
deleted file mode 100644
index d6a4e5d0b0febfc0363d20419ccea4003cfd67a6..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-zIndex-auto.html
+++ /dev/null
@@ -1,35 +0,0 @@
-<html>
-<head>
- <script>
- function log(msg)
- {
- var console = document.getElementById('console');
- console.appendChild(document.createTextNode(msg + "\n"));
- }
-
- function test()
- {
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var element = document.getElementById('nonPositionedDiv');
- var compStyle = element.ownerDocument.defaultView.getComputedStyle(element, null);
- log("Non-positioned Div:");
- log(" Computed Style = " + compStyle.zIndex + " (Should be auto)");
- log(" element.style.zIndex = " + element.style.zIndex + " (Should be 20)");
- log("");
-
- element = document.getElementById('positionedDiv');
- compStyle = element.ownerDocument.defaultView.getComputedStyle(element, null);
- log("Positioned Div:");
- log(" Computed Style = " + compStyle.zIndex + " (Should be 20)");
- log(" element.style.zIndex = " + element.style.zIndex + " (Should be 20)");
- }
- </script>
-</head>
-<body onload="test();">
- <div style="z-index:20" id='nonPositionedDiv'></div>
- <div style="z-index:20; position: absolute" id='positionedDiv'></div>
- <pre id='console'></pre>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698