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

Side by Side Diff: LayoutTests/compositing/visibility/visibility-composited.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
« no previous file with comments | « no previous file | LayoutTests/compositing/visibility/visibility-composited-expected.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2
3 <html>
4 <head>
5 <style>
6 .set {
7 position: absolute;
8 top: 8px;
9 }
10 .box {
11 height: 100px;
12 width: 100px;
13 background-color: blue;
14 }
15
16 .hidden {
17 visibility: hidden;
18 }
19
20 .container.hidden {
21 outline: 4px solid red;
22 }
23
24 .visible {
25 visibility: visible;
26 }
27 .should-be-hidden {
28 background-color: red !important;
29 }
30 .should-be-visible {
31 background-color: green !important;
32 }
33 .composited {
34 -webkit-transform: translateZ(1px);
35 }
36
37 .visible-indicator {
38 background-color: green;
39 }
40
41 .hidden-indicator {
42 background-color: red;
43 }
44 </style>
45 </head>
46 <body>
47 <!-- Tests various configurations of visibility:hidden and visible compositing layers. -->
48 <!-- You should see a green vertical bar, with no red. -->
49 <div class="set">
50 <div class="visible-indicator box"></div>
51 <div class="visible-indicator box"></div>
52 <div class="hidden-indicator box"></div>
53 </div>
54
55 <div class="set">
56 <div class="container">
57 <div class="hidden composited box should-be-hidden">
58 </div>
59 </div>
60
61 <div class="hidden container">
62 <div class="composited box should-be-hidden">
63 </div>
64 </div>
65
66 <div class="hidden container">
67 <div class="visible composited box should-be-visible">
68 </div>
69 </div>
70 </div>
71 </body>
72 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/visibility/visibility-composited-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698