Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/inert/resources/dialog-layout.css

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dmazzoni comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/fast/dom/inert/resources/dialog-layout.css
diff --git a/third_party/WebKit/LayoutTests/fast/dom/inert/resources/dialog-layout.css b/third_party/WebKit/LayoutTests/fast/dom/inert/resources/dialog-layout.css
new file mode 100644
index 0000000000000000000000000000000000000000..709b4505869c2efb85461eabfa1e523a345b70d4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/inert/resources/dialog-layout.css
@@ -0,0 +1,25 @@
+/* Remove body margin and dialog styles for easier positioning expected values */
+body {
+ height: 10000px;
+ margin: 0;
+}
+
+dialog {
+ border: 0;
+ padding: 0;
+ height: auto;
+ width: auto;
+}
+
+#absolute-div {
+ position: absolute;
+ top: 800px;
+ height: 50px;
+ width: 90%;
+}
+
+#relative-div {
+ position: relative;
+ top: 20px;
+ height: 30px;
+}

Powered by Google App Engine