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

Unified Diff: LayoutTests/dialog/backdrop-descendant-selector-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
Index: LayoutTests/dialog/backdrop-descendant-selector-expected.html
diff --git a/LayoutTests/dialog/backdrop-descendant-selector-expected.html b/LayoutTests/dialog/backdrop-descendant-selector-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..70d84c21ff4b01ef933172c676679e04b9333f14
--- /dev/null
+++ b/LayoutTests/dialog/backdrop-descendant-selector-expected.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<head>
+<style>
+.backdrop {
+ position: absolute;
+ height: 100px;
+ width: 100px;
+ background: green;
+}
+</style>
+</head>
+<body>
+Test ::backdrop used in descendant selectors. The test passes if there are two green boxes and no red.
+<div class="backdrop" style="top: 100px; left: 100px"></div>
+<div class="backdrop" style="top: 100px; left: 300px"></div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/dialog/backdrop-descendant-selector.html ('k') | LayoutTests/dialog/backdrop-does-not-inherit.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698