2009-11-12 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / perf / perf-suite-set / simple-text.html
blob1b9600e17fb5916039ecff9b6b2240466dbfbdb2
1 <html>
2 <head>
3 <style type="text/css">
4 body {
5 margin-left: 0;
6 margin-top: 0;
7 padding: 0;
8 background-color: #000
9 };
11 embed {
12 margin-left: 0;
13 margin-top: 0;
14 margin-right: 0;
15 margin-bottom: 0;
17 </style>
18 </head>
19 <body>
20 <embed type="application/x-silverlight" data="data:," id="slControl" width="720" height="160" source="#xamlContent" windowless="true">
21 </embed>
22 <script type="text/xaml" id="xamlContent">
23 <?xml version="1.0"?>
24 <Canvas xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
25 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Name="MasterCanvas">
27 <Rectangle Width="720" Height="160" Fill="Orange" />
28 <TextBlock x:Name="text1" FontFamily="Arial" Text="To be or not to be? A question." FontSize="10" Canvas.Left="10" Canvas.Top="10">
29 <TextBlock.RenderTransform>
30 <ScaleTransform ScaleX="1.0" ScaleY="1.0" />
31 </TextBlock.RenderTransform>
33 <TextBlock.Triggers>
34 <EventTrigger RoutedEvent="TextBlock.Loaded">
35 <BeginStoryboard>
36 <Storyboard>
37 <DoubleAnimation Storyboard.TargetName="text1" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)" To="5" Duration="00:00:10" />
38 <DoubleAnimation Storyboard.TargetName="text1" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)" To="5" Duration="00:00:10" />
39 </Storyboard>
40 </BeginStoryboard>
41 </EventTrigger>
42 </TextBlock.Triggers>
43 </TextBlock>
45 <TextBlock x:Name="text2" FontFamily="Arial" Text="To be or not to be? A question." FontSize="10" Canvas.Left="10" Canvas.Top="50">
46 <TextBlock.Triggers>
47 <EventTrigger RoutedEvent="TextBlock.Loaded">
48 <BeginStoryboard>
49 <Storyboard>
50 <DoubleAnimation Storyboard.TargetName="text2" Storyboard.TargetProperty="FontSize" To="50" Duration="00:00:10" />
51 </Storyboard>
52 </BeginStoryboard>
53 </EventTrigger>
54 </TextBlock.Triggers>
55 </TextBlock>
57 <TextBlock x:Name="text3" FontFamily="Arial" Text="To be or not to be? A question." FontSize="50" Canvas.Left="10" Canvas.Top="90" Opacity="0.0">
58 <TextBlock.Triggers>
59 <EventTrigger RoutedEvent="TextBlock.Loaded">
60 <BeginStoryboard>
61 <Storyboard>
62 <DoubleAnimation Storyboard.TargetName="text3" Storyboard.TargetProperty="(UIElement.Opacity)" To="1" Duration="00:00:10" />
63 </Storyboard>
64 </BeginStoryboard>
65 </EventTrigger>
66 </TextBlock.Triggers>
67 </TextBlock>
69 </Canvas>
70 </script>
71 </body>
72 </html>