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

Unified Diff: sky/tests/lowlevel/layers.sky

Issue 883903003: Add opacity to the layers.sky test. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | sky/tests/lowlevel/layers-expected.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/lowlevel/layers.sky
diff --git a/sky/tests/lowlevel/layers.sky b/sky/tests/lowlevel/layers.sky
index f61ec8fb922ab1ff8d64bd775e862b2c18a0b2a6..c2709abcdaaadecffbf3dfd9a2885120ad6e7123 100644
--- a/sky/tests/lowlevel/layers.sky
+++ b/sky/tests/lowlevel/layers.sky
@@ -22,6 +22,23 @@ Transforms
</div>
</div>
+<div style="position: absolute; top: 250px;">
+ Opacity
+ <div style="opacity: 0.8; background-color: pink;">
+ One
+ <div style="opacity: 0.7; position: absolute; left: 10px; background-color: salmon;">
+ Two
+ <div style="opacity: 0.6; position: absolute; left: 20px; background-color: papayawhip;">
+ Three
+ <div style="opacity: 0; transform: translate3d(0, 10px, 0); background-color: papayawhip;">
+ Clear
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+
+
<div style="position: absolute; right: 50px;">
<div style="background-color: red;">
1
« no previous file with comments | « no previous file | sky/tests/lowlevel/layers-expected.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698