* added custome css
authorGiuseppe Pascale <giuseppep@opera.com>
Fri, 13 Jan 2012 18:31:39 +0100
changeset 24 2d1a8a757b58
parent 23 b2be22c3bb7b
child 25 90c6d647c2e3
* added custome css
* started work on CSS profiling
tvprofile/tv-src.html
tvprofile/tv.css
--- a/tvprofile/tv-src.html	Thu Jan 05 17:06:55 2012 +0100
+++ b/tvprofile/tv-src.html	Fri Jan 13 18:31:39 2012 +0100
@@ -44,7 +44,8 @@
 
           // if you want to have extra CSS, append them to this list
           // it is recommended that the respec.css stylesheet be kept
-          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
+          extraCSS:	["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css",
+          						"tv.css"],
 
           // editors, add as many as you like
           // only "name" is required
@@ -151,8 +152,11 @@
 
 <section>
 <h2>Terminology</h2>
-	<section id=conformance>
+
+	<section id="conformance">
+	
 	</section>
+	
 	<section>				
 	<h3>Definitions</h3>
 	<p>
@@ -203,15 +207,73 @@
 		<h2>Scripting</h2>
 			<dfn>Scripts</dfn> are small programs that can be embedded into <a>application</a>s. While defining features that rely on scripting, HTML5 do not mandate support for scripting for all user agents. Furthermore scripting is defined using a syntax that in most cases is independent from the underlying scripting language. For such reasons, this profile add the following additional requirements:
 			<ul>  
-				<li>Browser SHALL support <a class="externalDFN">scripting</a> as defined in [[!HTML5]]. </li>
-				<li>Browser SHALL support [[!ECMA-262]] scripting language</li> 
+				<li><a>Browser</a>s SHALL support <a class="externalDFN">scripting</a> as defined in [[!HTML5]]. </li>
+				<li><a>Browser</a>s SHALL support [[!ECMA-262]] scripting language</li> 
 			</ul>
 		</section>
 
 		<section>
 		<h2>CSS</h2>
 			Support for CSS as a whole is not required by HTML5, even though some features are defined in terms of specific CSS requirements.
-			<div class="note"> TODO: list requirements for CSS support,i.e. which modules needs to be supported. ALso need to discuss if a further profiling inside each module is needed.</i>
+			<div class="note"> TODO: this section is not complete yet. More modules needs to be added</div>
+			<section>
+			<h2>CSS3 Fonts</h2>
+			The [CSS3-fonts] module describes how font properties are specified and how font resources are loaded dynamically.
+			The features marked as included below SHALL be supported by conforming user-agent. 
+			<dt>Properties</dt>
+			<dd>
+			<table class="parameters" >
+  		<tr>
+   			<th>Name</th>
+   			<th>Notes</th>
+   			<th>Included</th>
+   		</tr>
+ 			<tr>
+ 				<td>font</td><td></td> 				
+ 				<td class="y">yes</td>
+ 			</tr>
+   		<tr> 
+   			<td>font-size</td><td></td> 
+   			<td class="y">yes</td>
+   		</tr>
+   		<tr>
+   			<td>font-size-adjust</td><td></td>
+   			<td class="n">no</td>
+   		</tr>
+   		<tr>
+   			<td>font-variant</td><td></td>
+   			<td class="y">yes</td>
+   		</tr>
+			</table>
+			</dd>
+			
+			<dt>Descriptors</dt>
+			<dd>
+			<table class="parameters">
+  		<tr>
+   			<th>Name</th>
+   			<th>Notes</th>
+   			<th>Included</th>
+   		</tr>
+   		<tr>
+ 				<td>font-family</td><td></td>
+ 				<td class="y">yes</td>
+ 			</tr>
+   		<tr> 
+   			<td>font-stretch</td><td></td> 
+   			<td class="n">no</td>
+   		</tr>
+   		<tr>
+   			<td>font-style</td><td></td>
+   			<td class="y">yes</td>
+   		</tr>
+   		<tr>
+   			<td>font-weight</td><td></td>
+   			<td class="y">yes</td>
+   		</tr>
+			</table>
+			</dd>
+			</section>
 		</section>
 		
 		<section>
@@ -262,6 +324,10 @@
 </section>
 
 <section>
+<h2>Testing</h2>
+
+</section>
+<section>
 	<h2>Performances</h2>
 </section>
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tvprofile/tv.css	Fri Jan 13 18:31:39 2012 +0100
@@ -0,0 +1,7 @@
+td.y{
+	background:#dfd;
+}
+
+td.n{
+	background:#fee;
+}