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

Unified Diff: LayoutTests/compositing/visibility/visibility-remove-layer-expected.html

Issue 185653011: RenderLayer::hasVisibleContent() incorrect when layer removed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 years, 10 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/compositing/visibility/visibility-remove-layer-expected.html
diff --git a/LayoutTests/compositing/visibility/visibility-remove-layer-expected.html b/LayoutTests/compositing/visibility/visibility-remove-layer-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..d42c6fa523fc31562e213afe4cdabd738437d8ce
--- /dev/null
+++ b/LayoutTests/compositing/visibility/visibility-remove-layer-expected.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ .set {
+ position: absolute;
+ top: 8px;
+ }
+ .box {
+ height: 100px;
+ width: 100px;
+ background-color: blue;
+ }
+
+ .hidden {
+ visibility: hidden;
+ }
+
+ .container.hidden {
+ outline: 4px solid red;
+ }
+
+ .visible {
+ visibility: visible;
+ }
+ .should-be-hidden {
+ background-color: red !important;
+ }
+ .should-be-visible {
+ background-color: green !important;
+ }
+
+ .visible-indicator {
+ background-color: green;
+ }
+
+ .hidden-indicator {
+ background-color: red;
+ }
+ </style>
+</head>
+<body>
+ <div class="set">
+ <div class="hidden-indicator box"></div>
+ </div>
+
+ <div class="set">
+ <div class="hidden container">
+ <div id="target" class="hidden">
+ <div class="visible box should-be-visible"></div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/compositing/visibility/visibility-remove-layer.html ('k') | Source/core/rendering/RenderLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698