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

Side by Side Diff: LayoutTests/compositing/visibility/visibility-image-layers.html

Issue 9120020: Revert 98735 - Source/WebCore: The HTML5 video element in Safari does not respect "visibility:hid... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 .set {
7 display: inline-block;
8 border: 1px solid black;
9 }
10 .box {
11 height: 100px;
12 width: 100px;
13 }
14
15 .hidden {
16 visibility: hidden;
17 }
18
19 .container {
20 margin: 10px;
21 padding: 20px;
22 }
23 .container.hidden {
24 outline: 4px solid red;
25 }
26
27 .visible {
28 visibility: visible;
29 }
30 .should-be-hidden {
31 background-color: red !important;
32 }
33 .should-be-visible {
34 background-color: green !important;
35 }
36 .composited {
37 -webkit-transform: translateZ(1px);
38 }
39
40 .visible-indicator {
41 background-color: green;
42 }
43
44 .hidden-indicator {
45 background-color: red;
46 }
47 </style>
48 <script>
49 if (window.layoutTestController)
50 layoutTestController.dumpAsText(true);
51 </script>
52 </head>
53 <body>
54 <!-- Tests visibility with directly composited images. -->
55 <!-- Left and right sides should look the same -->
56 <div class="set">
57 <div class="container"><img src="../resources/thiswayup.png" class="hidden b ox"></div>
58 <div class="hidden container"><img src="../resources/thiswayup.png" class="b ox"></div>
59 <div class="hidden container"><img src="../resources/thiswayup.png" class="v isible box"></div>
60 </div>
61
62 <div class="set">
63 <div class="composited container"><img src="../resources/thiswayup.png" clas s="hidden composited box"></div>
64 <div class="composited hidden container"><img src="../resources/thiswayup.pn g" class="composited box"></div>
65 <div class="composited hidden container"><img src="../resources/thiswayup.pn g" class="visible composited box"></div>
66 </div>
67 </body>
68 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698