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

Side by Side Diff: tools/perf/page_sets/layer_stress_tests/opacity.html

Issue 11783086: Rename remaining x_stress_test pagesets tests to tough_x_cases convention (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>Chrome 18 opacity test</title>
5 <style>
6 .ninety-nine{
7 opacity: 0.99;
8 }
9 </style>
10 <script>
11 function toggleOpacity() {
12 var pre = document.getElementById('label');
13 if (document.body.className == '') {
14 document.body.className='ninety-nine';
15 pre.innerHTML = 'opacity: 0.99';
16 } else {
17 document.body.className='';
18 pre.innerHTML = 'opacity: 1.0';
19 }
20 window.setTimeout("toggleOpacity();", 1000);
21 }
22 onload = toggleOpacity;
23 </script>
24 </head>
25 <body>
26 <div style="overflow: hidden">
27 <div style="-webkit-perspective: 10px">
28 Quite a lot of text: Opacity can be thought of as a postprocessing
29 operation. Conceptually, after the element (including its descendants)
30 is rendered into an RGBA offscreen image, the opacity setting specifies
31 how to blend the offscreen rendering into the current composite rendering .
32 The uniform opacity setting to be applied across an entire object. Any
33 values outside the range 0.0 (fully transparent) to 1.0 (fully opaque)
34 will be clamped to this range. If the object is a container element, then
35 the effect is as if the contents of the container element were blended
36 against the current background using a mask where the value of each pixel
37 of the mask is the opacity value
38 </div>
39 <pre id="label"></pre>
40 </div>
41 </body>
42 </html>
OLDNEW
« no previous file with comments | « tools/perf/page_sets/layer_stress_tests.json ('k') | tools/perf/page_sets/tough_image_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698