2009-08-26 Chris Toshok <toshok@ximian.com>
[moon.git] / perf / perf-suite-set / ftb-rendering.html
bloba977cb0dff708d0a4b98a86d200fb78f23b9d6ce
1 <html>
2 <head>
3 <style type="text/css">
4 body {
5 margin-left: 0;
6 margin-top: 0;
7 padding: 0;
8 };
10 embed {
11 margin-left: 0;
12 margin-top: 0;
13 margin-right: 0;
14 margin-bottom: 0;
16 </style>
17 </head>
18 <body>
19 <embed type="application/x-silverlight" data="data:," id="slControl" width="400" height="400" source="#xamlContent" windowless="true">
20 </embed>
21 <script type="text/xaml" id="xamlContent">
22 <?xml version="1.0"?>
23 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
24 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="MasterCanvas">
27 <Rectangle x:Name="obscured1" Canvas.Top="20" Canvas.Left="20" Width="50" Height="50">
28 <Rectangle.Fill>
29 <RadialGradientBrush>
30 <RadialGradientBrush.GradientStops>
31 <GradientStop x:Name="color1" Offset="0" Color="Red" />
32 <GradientStop x:Name="color2" Offset="3" Color="White" />
33 </RadialGradientBrush.GradientStops>
34 </RadialGradientBrush>
35 </Rectangle.Fill>
36 <Rectangle.Triggers>
37 <EventTrigger RoutedEvent="Rectangle.Loaded">
38 <BeginStoryboard>
39 <Storyboard>
40 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured1" Storyboard.TargetProperty="(Canvas.Left)" To="330" Duration="0:0:5" />
41 </Storyboard>
42 </BeginStoryboard>
43 </EventTrigger>
44 </Rectangle.Triggers>
45 </Rectangle>
47 <Rectangle x:Name="obscured2" Canvas.Top="330" Canvas.Left="20" Width="50" Height="50">
48 <Rectangle.Fill>
49 <RadialGradientBrush>
50 <RadialGradientBrush.GradientStops>
51 <GradientStop x:Name="color3" Offset="0" Color="Green" />
52 <GradientStop x:Name="color4" Offset="3" Color="White" />
53 </RadialGradientBrush.GradientStops>
54 </RadialGradientBrush>
55 </Rectangle.Fill>
56 <Rectangle.Triggers>
57 <EventTrigger RoutedEvent="Rectangle.Loaded">
58 <BeginStoryboard>
59 <Storyboard>
60 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured2" Storyboard.TargetProperty="(Canvas.Top)" To="20" Duration="0:0:5" />
61 </Storyboard>
62 </BeginStoryboard>
63 </EventTrigger>
64 </Rectangle.Triggers>
65 </Rectangle>
67 <Rectangle x:Name="obscured3" Canvas.Top="20" Canvas.Left="330" Width="50" Height="50">
68 <Rectangle.Fill>
69 <RadialGradientBrush>
70 <RadialGradientBrush.GradientStops>
71 <GradientStop x:Name="color5" Offset="0" Color="Black" />
72 <GradientStop x:Name="color6" Offset="3" Color="White" />
73 </RadialGradientBrush.GradientStops>
74 </RadialGradientBrush>
75 </Rectangle.Fill>
76 <Rectangle.Triggers>
77 <EventTrigger RoutedEvent="Rectangle.Loaded">
78 <BeginStoryboard>
79 <Storyboard>
80 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured3" Storyboard.TargetProperty="(Canvas.Top)" To="330" Duration="0:0:5" />
81 </Storyboard>
82 </BeginStoryboard>
83 </EventTrigger>
84 </Rectangle.Triggers>
85 </Rectangle>
87 <Rectangle x:Name="obscured4" Canvas.Top="330" Canvas.Left="330" Width="50" Height="50">
88 <Rectangle.Fill>
89 <RadialGradientBrush>
90 <RadialGradientBrush.GradientStops>
91 <GradientStop x:Name="color7" Offset="0" Color="Blue" />
92 <GradientStop x:Name="color8" Offset="3" Color="White" />
93 </RadialGradientBrush.GradientStops>
94 </RadialGradientBrush>
95 </Rectangle.Fill>
96 <Rectangle.Triggers>
97 <EventTrigger RoutedEvent="Rectangle.Loaded">
98 <BeginStoryboard>
99 <Storyboard>
100 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured4" Storyboard.TargetProperty="(Canvas.Left)" To="20" Duration="0:0:5" />
101 </Storyboard>
102 </BeginStoryboard>
103 </EventTrigger>
104 </Rectangle.Triggers>
105 </Rectangle>
107 <Rectangle Canvas.Left="10" Canvas.Top="10" Fill="Black" Width="380" Height="380"/>
109 </Canvas>
110 </script>
111 </body>
112 </html>