2009-08-26 Chris Toshok <toshok@ximian.com>
[moon.git] / perf / perf-suite-set / ftb-rendering-ref.html
blob5ac3506cde76a04d2124a4060c74329185472f9e
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">
26 <Rectangle Canvas.Left="10" Canvas.Top="10" Fill="Black" Width="380" Height="380"/>
28 <Rectangle x:Name="obscured1" Canvas.Top="20" Canvas.Left="20" Width="50" Height="50">
29 <Rectangle.Fill>
30 <RadialGradientBrush>
31 <RadialGradientBrush.GradientStops>
32 <GradientStop x:Name="color1" Offset="0" Color="Red" />
33 <GradientStop x:Name="color2" Offset="3" Color="White" />
34 </RadialGradientBrush.GradientStops>
35 </RadialGradientBrush>
36 </Rectangle.Fill>
37 <Rectangle.Triggers>
38 <EventTrigger RoutedEvent="Rectangle.Loaded">
39 <BeginStoryboard>
40 <Storyboard>
41 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured1" Storyboard.TargetProperty="(Canvas.Left)" To="330" Duration="0:0:5" />
42 </Storyboard>
43 </BeginStoryboard>
44 </EventTrigger>
45 </Rectangle.Triggers>
46 </Rectangle>
48 <Rectangle x:Name="obscured2" Canvas.Top="330" Canvas.Left="20" Width="50" Height="50">
49 <Rectangle.Fill>
50 <RadialGradientBrush>
51 <RadialGradientBrush.GradientStops>
52 <GradientStop x:Name="color3" Offset="0" Color="Green" />
53 <GradientStop x:Name="color4" Offset="3" Color="White" />
54 </RadialGradientBrush.GradientStops>
55 </RadialGradientBrush>
56 </Rectangle.Fill>
57 <Rectangle.Triggers>
58 <EventTrigger RoutedEvent="Rectangle.Loaded">
59 <BeginStoryboard>
60 <Storyboard>
61 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured2" Storyboard.TargetProperty="(Canvas.Top)" To="20" Duration="0:0:5" />
62 </Storyboard>
63 </BeginStoryboard>
64 </EventTrigger>
65 </Rectangle.Triggers>
66 </Rectangle>
68 <Rectangle x:Name="obscured3" Canvas.Top="20" Canvas.Left="330" Width="50" Height="50">
69 <Rectangle.Fill>
70 <RadialGradientBrush>
71 <RadialGradientBrush.GradientStops>
72 <GradientStop x:Name="color5" Offset="0" Color="Black" />
73 <GradientStop x:Name="color6" Offset="3" Color="White" />
74 </RadialGradientBrush.GradientStops>
75 </RadialGradientBrush>
76 </Rectangle.Fill>
77 <Rectangle.Triggers>
78 <EventTrigger RoutedEvent="Rectangle.Loaded">
79 <BeginStoryboard>
80 <Storyboard>
81 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured3" Storyboard.TargetProperty="(Canvas.Top)" To="330" Duration="0:0:5" />
82 </Storyboard>
83 </BeginStoryboard>
84 </EventTrigger>
85 </Rectangle.Triggers>
86 </Rectangle>
88 <Rectangle x:Name="obscured4" Canvas.Top="330" Canvas.Left="330" Width="50" Height="50">
89 <Rectangle.Fill>
90 <RadialGradientBrush>
91 <RadialGradientBrush.GradientStops>
92 <GradientStop x:Name="color7" Offset="0" Color="Blue" />
93 <GradientStop x:Name="color8" Offset="3" Color="White" />
94 </RadialGradientBrush.GradientStops>
95 </RadialGradientBrush>
96 </Rectangle.Fill>
97 <Rectangle.Triggers>
98 <EventTrigger RoutedEvent="Rectangle.Loaded">
99 <BeginStoryboard>
100 <Storyboard>
101 <DoubleAnimation BeginTime="00:00:00" Storyboard.TargetName="obscured4" Storyboard.TargetProperty="(Canvas.Left)" To="20" Duration="0:0:5" />
102 </Storyboard>
103 </BeginStoryboard>
104 </EventTrigger>
105 </Rectangle.Triggers>
106 </Rectangle>
109 </Canvas>
110 </script>
111 </body>
112 </html>