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

Unified Diff: LayoutTests/dialog/backdrop-does-not-inherit-expected.html

Issue 17654008: Implement the ::backdrop pseudo-element for modal <dialog>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use element directly Created 7 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
« no previous file with comments | « LayoutTests/dialog/backdrop-does-not-inherit.html ('k') | LayoutTests/dialog/backdrop-in-flow.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/dialog/backdrop-does-not-inherit-expected.html
diff --git a/LayoutTests/dialog/backdrop-does-not-inherit-expected.html b/LayoutTests/dialog/backdrop-does-not-inherit-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..bdc84186f6960f2f934fff0680f4e072dadb81e6
--- /dev/null
+++ b/LayoutTests/dialog/backdrop-does-not-inherit-expected.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<style>
+#backdrop {
+ position: absolute;
+ top: 100px;
+ left: 100px;
+ height: 100px;
+ width: 100px;
+ background: green;
+}
+</style>
+<body>
+Test that ::backdrop does not inherit from anything. The test passes if there is
+a green box and no red.
+<div id="backdrop"></div>
+</body>
« no previous file with comments | « LayoutTests/dialog/backdrop-does-not-inherit.html ('k') | LayoutTests/dialog/backdrop-in-flow.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698