Fix bug TTS-1761 to modify the repeat font-family of default-src_cross_origin
authoryuex.ma <yuex.ma@intel.com>
Wed, 17 Jul 2013 08:00:45 +0000 (01:00 -0700)
committeryuex.ma <yuex.ma@intel.com>
Wed, 17 Jul 2013 08:00:45 +0000 (01:00 -0700)
Change-Id: Ic128c2779cfd5b1488a64540b3aa54e245005a7d
Signed-off-by: yuex.ma <yuex.ma@intel.com>
tct-ext02-wrt-tests/default-src_cross_origin/index.html

index ba43342..6d6a07c 100644 (file)
@@ -33,11 +33,11 @@ Authors:
 <html>
   <head>
     <title>Test: default-src_cross_origin</title>
-    <link rel="author" title="Intel" href="http://www.intel.com" />
-    <link rel="help" href="http://www.w3.org/TR/2012/CR-CSP-20121115/#default-src" />
-    <meta name="flags" content="" />
-    <meta name="assert" content="default-src http://127.0.0.1:8081 http://www.w3.org 'unsafe-inline'" />
-    <meta charset="utf-8" />
+    <link rel="author" title="Intel" href="http://www.intel.com"/>
+    <link rel="help" href="http://www.w3.org/TR/2012/CR-CSP-20121115/#default-src"/>
+    <meta name="flags" content=""/>
+    <meta name="assert" content="default-src http://127.0.0.1:8081 http://www.w3.org 'unsafe-inline'"/>
+    <meta charset="utf-8">
     <script src="http://127.0.0.1:8081/opt/tct-ext02-wrt-tests/support/test81.js"></script>
     <script src="http://127.0.0.1:8083/opt/tct-ext02-wrt-tests/support/test83.js"></script>
     <script src="support/csp.js"></script>
@@ -56,19 +56,19 @@ Authors:
             background-color: green;
         }
         @font-face {
-            font-family: Canvas;
+            font-family: Canvas1;
             src: url("http://127.0.0.1:8082/opt/tct-ext02-wrt-tests/w3c/support/CanvasTest.ttf");
         }
         #test1 {
-            font-family: Canvas;
+            font-family: Canvas1;
         }
     </style>
   </head>
   <body>
     <div>Test passes if the first two lines have the same font style and different from the third line and two "PASS" are displayed.</div>
-    <div id="test">1234 ABCD</div>
     <div>1234 ABCD</div>
     <div id="test1">1234 ABCD</div>
+    <div id="test">1234 ABCD</div>
     <h3 id="h3"></h3>
     <div id="result_connect"></div>
     <div id="result">
@@ -121,4 +121,4 @@ Authors:
         }
     </script>
   </body>
-</html>
+</html>
\ No newline at end of file