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

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: Revert histograms.xml Created 3 years, 7 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/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
This is Rietveld 408576698