New
authorPhilippe Le Hégaret <plh@w3.org>
Tue, 10 Feb 2009 13:53:10 +0000
changeset 88 6dfe036d1aab
parent 87 cf2cd9026bab
child 89 7effd556a17d
New
testsuite/Report/report.css
testsuite/Report/spec_toc.xml
testsuite/Report/tabs.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Report/report.css	Tue Feb 10 13:53:10 2009 +0000
@@ -0,0 +1,82 @@
+ul
+{
+  margin:0;
+  padding: 0;
+  padding-left: 3ex;
+  list-style-type: none;
+  }
+li
+{
+  border: 1px solid #778;
+  border-bottom: none;
+  display: inline;
+  width: 15ex;
+  margin: 0;
+  padding: 2px;
+  padding-bottom: 0;
+  cursor: pointer;
+  font-weight: bold;
+  color: #555;
+  background: #DDE; 
+}
+li.not_selected:hover 
+{ 
+  color: #000;
+  background: #AAE;
+  border-color: #227;
+  }
+.selected 
+{
+  background-color: #fff;
+  border-bottom: 1px solid #fff;
+  }
+.selected:hover 
+{ 
+  color: #000;
+  background: white;
+  border-bottom: 1px solid white;
+  }
+.tab 
+{ 
+  padding:5px;
+  border:1px solid black;
+  }
+table
+{
+  margin: auto; 
+  background: white; 
+  border-collapse: collapse;
+  font-size: 90%; 
+  }
+tbody th
+{
+  text-align: left; 
+  }
+caption
+{
+  font-size: 120%; 
+  padding-bottom: 0.5ex;
+  }
+thead th
+{
+  background: #ccc; 
+  }
+td, th
+{
+  border: 1px solid black; 
+  padding: 1px
+}
+#features td
+{ 
+  text-align: right;
+  }
+.notest 
+{ 
+  background: white;
+  color: white;
+  }
+.gotest 
+{ 
+  background: green;
+  color: white;
+  }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Report/spec_toc.xml	Tue Feb 10 13:53:10 2009 +0000
@@ -0,0 +1,301 @@
+<entries xmlns='http://www.w3.org/2008/11/dfxp-report'
+	 xml:base='http://www.w3.org/TR/2006/CR-ttaf1-dfxp-20061116/'>
+<h2><a name="contents" id="contents"></a>Table of Contents</h2>
+
+<entry section="1" href="#intro">Introduction</entry>
+<entry section="1.1" href="#model">System Model</entry>
+<entry section="1.2" href="#example">Document Example</entry>
+<entry section="2" href="#definitions">Definitions</entry>
+<entry section="2.1" href="#acronyms">Acronyms</entry>
+<entry section="2.2" href="#terms">Terminology</entry>
+<entry section="2.3" href="#conventions">Documentation Conventions</entry>
+<entry section="3" href="#conformance">Conformance</entry>
+<entry section="3.1" href="#conformance-content">Content Conformance</entry>
+<entry section="3.2" href="#conformance-processor">Processor Conformance</entry>
+<entry section="3.3" href="#claims">Claims</entry>
+<entry section="4" href="#doctypes">Document Types</entry>
+<entry section="4.1" href="#dfxp-content-doctype">DFXP Content</entry>
+<entry section="5" href="#vocabulary">Vocabulary</entry>
+<entry section="5.1" href="#vocabulary-namespaces">Namespaces</entry>
+<entry section="5.2" href="#vocabulary-profiles">Profiles</entry>
+<entry section="5.3" href="#vocabulary-overview">Catalog</entry>
+<entry section="5.3.1" href="#core-vocabulary-overview">Core Catalog</entry>
+<entry section="5.3.2" href="#extension-vocabulary-overview">Extension
+Catalog</entry>
+<entry section="6" href="#parameters">Parameters</entry>
+<entry section="6.1" href="#parameters-element-vocabulary">Element
+Vocabulary</entry>
+<entry section="6.2" href="#parameters-attribute-vocabulary">Attribute
+Vocabulary</entry>
+<entry section="6.2.1" href="#parameter-attribute-cellResolution">ttp:cellResolution</entry>
+<entry section="6.2.2" href="#parameter-attribute-clockMode">ttp:clockMode</entry>
+<entry section="6.2.3" href="#parameter-attribute-frameRate">ttp:frameRate</entry>
+<entry section="6.2.4" href="#parameter-attribute-frameRateMultiplier">ttp:frameRateMultiplier</entry>
+<entry section="6.2.5" href="#parameter-attribute-markerMode">ttp:markerMode</entry>
+<entry section="6.2.6" href="#parameter-attribute-pixelAspectRatio">ttp:pixelAspectRatio</entry>
+<entry section="6.2.7" href="#parameter-attribute-profile">ttp:profile</entry>
+<entry section="6.2.8" href="#parameter-attribute-smpteMode">ttp:smpteMode</entry>
+<entry section="6.2.9" href="#parameter-attribute-subFrameRate">ttp:subFrameRate</entry>
+<entry section="6.2.10" href="#parameter-attribute-tickRate">ttp:tickRate</entry>
+<entry section="6.2.11" href="#parameter-attribute-timeBase">ttp:timeBase</entry>
+<entry section="7" href="#content">Content</entry>
+
+<entry section="7.1" href="#content-element-vocabulary">Element Vocabulary</entry>
+<entry section="7.1.1" href="#document-structure-vocabulary-tt">tt</entry>
+<entry section="7.1.2" href="#document-structure-vocabulary-head">head</entry>
+<entry section="7.1.3" href="#document-structure-vocabulary-body">body</entry>
+<entry section="7.1.4" href="#content-vocabulary-div">div</entry>
+<entry section="7.1.5" href="#content-vocabulary-p">p</entry>
+
+<entry section="7.1.6" href="#content-vocabulary-span">span</entry>
+<entry section="7.1.7" href="#content-vocabulary-br">br</entry>
+<entry section="7.2" href="#content-attribute-vocabulary">Attribute
+Vocabulary</entry>
+<entry section="7.2.1" href="#content-attribute-id">xml:id</entry>
+<entry section="7.2.2" href="#content-attribute-lang">xml:lang</entry>
+<entry section="7.2.3" href="#content-attribute-space">xml:space</entry>
+
+<entry section="8" href="#styling">Styling</entry>
+<entry section="8.1" href="#styling-element-vocabulary">Element Vocabulary</entry>
+<entry section="8.1.1" href="#styling-vocabulary-styling">styling</entry>
+<entry section="8.1.2" href="#styling-vocabulary-style">style</entry>
+<entry section="8.2" href="#styling-attribute-vocabulary">Attribute
+Vocabulary</entry>
+<entry section="8.2.1" href="#style-attribute-style">style</entry>
+
+<entry section="8.2.2" href="#style-attribute-backgroundColor">tts:backgroundColor</entry>
+<entry section="8.2.3" href="#style-attribute-color">tts:color</entry>
+<entry section="8.2.4" href="#style-attribute-direction">tts:direction</entry>
+<entry section="8.2.5" href="#style-attribute-display">tts:display</entry>
+<entry section="8.2.6" href="#style-attribute-displayAlign">tts:displayAlign</entry>
+<entry section="8.2.7" href="#style-attribute-dynamicFlow">tts:dynamicFlow</entry>
+
+<entry section="8.2.8" href="#style-attribute-extent">tts:extent</entry>
+<entry section="8.2.9" href="#style-attribute-fontFamily">tts:fontFamily</entry>
+<entry section="8.2.10" href="#style-attribute-fontSize">tts:fontSize</entry>
+<entry section="8.2.11" href="#style-attribute-fontStyle">tts:fontStyle</entry>
+<entry section="8.2.12" href="#style-attribute-fontWeight">tts:fontWeight</entry>
+<entry section="8.2.13" href="#style-attribute-lineHeight">tts:lineHeight</entry>
+
+<entry section="8.2.14" href="#style-attribute-opacity">tts:opacity</entry>
+<entry section="8.2.15" href="#style-attribute-origin">tts:origin</entry>
+<entry section="8.2.16" href="#style-attribute-overflow">tts:overflow</entry>
+<entry section="8.2.17" href="#style-attribute-padding">tts:padding</entry>
+<entry section="8.2.18" href="#style-attribute-showBackground">tts:showBackground</entry>
+<entry section="8.2.19" href="#style-attribute-textAlign">tts:textAlign</entry>
+
+<entry section="8.2.20" href="#style-attribute-textDecoration">tts:textDecoration</entry>
+<entry section="8.2.21" href="#style-attribute-textOutline">tts:textOutline</entry>
+<entry section="8.2.22" href="#style-attribute-unicodeBidi">tts:unicodeBidi</entry>
+<entry section="8.2.23" href="#style-attribute-visibility">tts:visibility</entry>
+<entry section="8.2.24" href="#style-attribute-wrapOption">tts:wrapOption</entry>
+<entry section="8.2.25" href="#style-attribute-writingMode">tts:writingMode</entry>
+
+<entry section="8.2.26" href="#style-attribute-zIndex">tts:zIndex</entry>
+<entry section="8.3" href="#styling-style-value-expressions">Style Value
+Expressions</entry>
+<entry section="8.3.1" href="#style-value-alpha">&lt;alpha&gt;</entry>
+<entry section="8.3.2" href="#style-value-color">&lt;color&gt;</entry>
+<entry section="8.3.3" href="#style-value-digit">&lt;digit&gt;</entry>
+<entry section="8.3.4" href="#style-value-duration">&lt;duration&gt;</entry>
+
+<entry section="8.3.5" href="#style-value-familyName">&lt;familyName&gt;</entry>
+<entry section="8.3.6" href="#style-value-genericFamilyName">&lt;genericFamilyName&gt;</entry>
+<entry section="8.3.7" href="#style-value-flowFunction">&lt;flowFunction&gt;</entry>
+<entry section="8.3.8" href="#style-value-flowIntervalFunction">&lt;flowIntervalFunction&gt;</entry>
+<entry section="8.3.9" href="#style-value-hexDigit">&lt;hexDigit&gt;</entry>
+<entry section="8.3.10" href="#style-value-integer">&lt;integer&gt;</entry>
+
+<entry section="8.3.11" href="#style-value-length">&lt;length&gt;</entry>
+<entry section="8.3.12" href="#style-value-namedColor">&lt;namedColor&gt;</entry>
+<entry section="8.3.13" href="#style-value-quotedString">&lt;quotedString&gt;</entry>
+<entry section="8.3.14" href="#style-value-string">&lt;string&gt;</entry>
+<entry section="8.4" href="#semantics-style-association">Style Association</entry>
+<entry section="8.4.1" href="#semantics-style-association-inline">Inline
+Styling</entry>
+
+<entry section="8.4.2" href="#semantics-style-association-referential">Referential Styling</entry>
+<entry section="8.4.3" href="#semantics-style-association-chained-referential">Chained Referential
+Styling</entry>
+<entry section="8.5" href="#semantics-style-inheritance">Style Inheritance</entry>
+<entry section="8.5.1" href="#semantics-style-inheritance-content">Content
+Style Inheritance</entry>
+<entry section="8.5.2" href="#semantics-style-inheritance-region">Region
+Style Inheritance</entry>
+<entry section="9" href="#layout">Layout</entry>
+
+<entry section="9.1" href="#layout-element-vocabulary">Element Vocabulary</entry>
+<entry section="9.1.1" href="#layout-vocabulary-layout">layout</entry>
+<entry section="9.1.2" href="#layout-vocabulary-region">region</entry>
+<entry section="9.2" href="#layout-attribute-vocabulary">Attribute
+Vocabulary</entry>
+<entry section="9.2.1" href="#layout-attribute-region">region</entry>
+<entry section="9.3" href="#semantics-region-layout">Region Layout and
+Presentation</entry>
+
+<entry section="9.3.1" href="#semantics-region-layout-step-1">Synchronic
+Region Construction</entry>
+<entry section="9.3.2" href="#semantics-region-layout-step-2">Synchronic
+Flow Processing</entry>
+<entry section="9.3.3" href="#semantics-region-layout-example">Elaborated
+Example</entry>
+<entry section="9.4" href="#semantics-line-layout">Line Layout</entry>
+<entry section="10" href="#timing">Timing</entry>
+<entry section="10.1" href="#timing-element-vocabulary">Element Vocabulary</entry>
+
+<entry section="10.2" href="#timing-attribute-vocabulary">Attribute
+Vocabulary</entry>
+<entry section="10.2.1" href="#timing-attribute-begin">begin</entry>
+<entry section="10.2.2" href="#timing-attribute-end">end</entry>
+<entry section="10.2.3" href="#timing-attribute-dur">dur</entry>
+<entry section="10.2.4" href="#timing-attribute-timeContainer">timeContainer</entry>
+<entry section="10.3" href="#timing-time-value-expressions">Time Value
+Expressions</entry>
+
+<entry section="10.3.1" href="#timing-value-timeExpression">&lt;timeExpression&gt;</entry>
+<entry section="10.4" href="#timing-time-intervals">Time Intervals</entry>
+<entry section="11" href="#animation">Animation</entry>
+<entry section="11.1" href="#animation-element-vocabulary">Element
+Vocabulary</entry>
+<entry section="11.1.1" href="#animation-vocabulary-set">set</entry>
+<entry section="11.2" href="#animation-attribute-vocabulary">Attribute
+Vocabulary</entry>
+
+<entry section="12" href="#metadata">Metadata</entry>
+<entry section="12.1" href="#metadata-element-vocabulary">Element Vocabulary</entry>
+<entry section="12.1.1" href="#metadata-vocabulary-metadata">metadata</entry>
+<entry section="12.1.2" href="#metadata-vocabulary-title">ttm:title</entry>
+<entry section="12.1.3" href="#metadata-vocabulary-desc">ttm:desc</entry>
+<entry section="12.1.4" href="#metadata-vocabulary-copyright">ttm:copyright</entry>
+
+<entry section="12.1.5" href="#metadata-vocabulary-agent">ttm:agent</entry>
+<entry section="12.1.6" href="#metadata-vocabulary-name">ttm:name</entry>
+<entry section="12.1.7" href="#metadata-vocabulary-actor">ttm:actor</entry>
+<entry section="12.2" href="#metadata-attribute-vocabulary">Attribute
+Vocabulary</entry>
+<entry section="12.2.1" href="#metadata-attribute-agent">ttm:agent</entry>
+<entry section="12.2.2" href="#metadata-attribute-role">ttm:role</entry>
+<entry section="A" href="#reduced-infoset">Reduced XML Infoset</entry>
+<entry section="A.1" href="#reduced-infoset-document">Document Information
+Item</entry>
+<entry section="A.2" href="#reduced-infoset-element">Element Information
+Item</entry>
+<entry section="A.3" href="#reduced-infoset-attribute">Attribute Information
+Item</entry>
+
+<entry section="A.4" href="#reduced-infoset-character">Character Information
+Item</entry>
+<entry section="B" href="#dynamicFlowModel">Dynamic Flow Processing Model</entry>
+<entry section="B.1" href="#dynamicFlowIntroduction">Introduction</entry>
+<entry section="B.2" href="#dynamicFlowEvents">Flow Buffer</entry>
+<entry section="B.3" href="#dynamicFlowIntervalTimingCalculation">Flow Interval
+Timing Calculation</entry>
+<entry section="B.3.1" href="#flowIntervalFillTiming">Computed Fill Timing
+Interval</entry>
+
+<entry section="B.3.2" href="#flowIntervalClearTiming">Computed Clear
+Timing Interval</entry>
+<entry section="B.4" href="#dynamicFlowOperations">Flow Operations</entry>
+<entry section="B.4.1" href="#flowOperationFill">Fill Operation</entry>
+<entry section="B.4.2" href="#flowOperationReflow">Reflow Operation</entry>
+<entry section="B.4.3" href="#flowOperationClear">Clear Operation</entry>
+<entry section="B.5" href="#dynamicFlowTimers">Flow Timers</entry>
+
+<entry section="B.5.1" href="#flowTimerFill">Fill Timer</entry>
+<entry section="B.5.2" href="#flowTimerClear">Clear Timer</entry>
+<entry section="C" href="#schemas">Schemas</entry>
+<entry section="C.1" href="#dfxp-schema-rnc">Relax NG Schema</entry>
+<entry section="C.1.1" href="#rnc-dfxp-driver-schema">Driver</entry>
+<entry section="C.1.2" href="#rnc-dfxp-modules">Modules</entry>
+
+<entry section="C.1.2.1" href="#rnc-dfxp-animation-module">Animation Module</entry>
+<entry section="C.1.2.2" href="#rnc-dfxp-classes-module">Classes
+Module</entry>
+<entry section="C.1.2.3" href="#rnc-dfxp-content-module">Content
+Module</entry>
+<entry section="C.1.2.4" href="#rnc-dfxp-core-attribs-module">Core
+Attributes Module</entry>
+<entry section="C.1.2.5" href="#rnc-dfxp-datatypes-module">Data
+Types Module</entry>
+<entry section="C.1.2.6" href="#rnc-dfxp-document-module">Document
+Module</entry>
+
+<entry section="C.1.2.7" href="#rnc-dfxp-head-module">Header
+Module</entry>
+<entry section="C.1.2.8" href="#rnc-dfxp-layout-module">Layout
+Module</entry>
+<entry section="C.1.2.9" href="#rnc-dfxp-metdata-module">Metadata
+Module</entry>
+<entry section="C.1.2.10" href="#rnc-dfxp-metdata-items-module">Metadata Items Module</entry>
+<entry section="C.1.2.11" href="#rnc-dfxp-metadata-attribs-module">Metadata Attributes Module</entry>
+<entry section="C.1.2.12" href="#rnc-dfxp-parameter-attribs-module">Parameter Attributes Module</entry>
+
+<entry section="C.1.2.13" href="#rnc-dfxp-styling-attribs-module">Styling Attributes Module</entry>
+<entry section="C.1.2.14" href="#rnc-dfxp-styling-module">Styling
+Module</entry>
+<entry section="C.1.2.15" href="#rnc-dfxp-timing-attribs-module">Timing Attributes Module</entry>
+<entry section="C.2" href="#dfxp-schema-xsd">XML Schema Definition (XSD)
+Schema</entry>
+<entry section="C.2.1" href="#xsd-dfxp-driver-schema">Driver</entry>
+<entry section="C.2.2" href="#xsd-dfxp-modules">Modules</entry>
+
+<entry section="C.2.2.1" href="#xsd-dfxp-animation-module">Animation Module</entry>
+<entry section="C.2.2.2" href="#xsd-dfxp-content-module">Content
+Module</entry>
+<entry section="C.2.2.3" href="#xsd-dfxp-core-attribs-module">Core
+Attributes Module</entry>
+<entry section="C.2.2.4" href="#xsd-dfxp-datatypes-module">Data
+Types Module</entry>
+<entry section="C.2.2.5" href="#xsd-dfxp-document-module">Document
+Module</entry>
+<entry section="C.2.2.6" href="#xsd-dfxp-head-module">Header
+Module</entry>
+
+<entry section="C.2.2.7" href="#xsd-dfxp-layout-module">Layout
+Module</entry>
+<entry section="C.2.2.8" href="#xsd-dfxp-metdata-module">Metadata
+Module</entry>
+<entry section="C.2.2.9" href="#xsd-dfxp-metdata-items-module">Metadata Items Module</entry>
+<entry section="C.2.2.10" href="#xsd-dfxp-metadata-attribs-module">Metadata Attributes Module</entry>
+<entry section="C.2.2.11" href="#xsd-dfxp-parameter-attribs-module">Parameter Attributes Module</entry>
+<entry section="C.2.2.12" href="#xsd-dfxp-styling-attribs-module">Styling Attributes Module</entry>
+
+<entry section="C.2.2.13" href="#xsd-dfxp-styling-module">Styling
+Module</entry>
+<entry section="C.2.2.14" href="#xsd-dfxp-timing-attribs-module">Timing Attributes Module</entry>
+<entry section="C.2.2.15" href="#xsd-dfxp-xml-attrs-module">XML
+Attributes Module</entry>
+<entry section="D" href="#media-type-registration">Media Type Registration</entry>
+<entry section="E" href="#references">References</entry>
+<entry section="F" href="#other-references">Other References</entry>
+
+<entry section="G" href="#sample-code">Sample Code</entry>
+<entry section="G.1" href="#code-rxi">Reduced XML Infoset (RXI) –RXI.SCM</entry>
+<entry section="G.2" href="#code-adi">Abstract Document Instance (ADI)
+–ADI.SCM</entry>
+<entry section="G.3" href="#code-tir">Time Interval Resolver (TIR)
+–TIR.SCM</entry>
+
+<entry section="G.4" href="#code-fox">Flow Object Transformer (FOX)
+–FOX.SCM</entry>
+<entry section="G.5" href="#code-dtf">Dynamic Text Flow Processor (DTF)
+–DTF.SCM</entry>
+<entry section="G.6" href="#code-run">Sample Compile, Load, and Run Session</entry>
+<entry section="H" href="#requirements">Requirements</entry>
+<entry section="I" href="#derivation">Vocabulary Derivation</entry>
+
+<entry section="I.1" href="#IDA4XGQ">Element Derivation</entry>
+<entry section="I.2" href="#IDA3IHQ">Attribute Derivation</entry>
+<entry section="J" href="#qa">QA Framework Compliance</entry>
+<entry section="J.1" href="#IDAZMIQ">Requirements</entry>
+<entry section="J.2" href="#IDA0WIQ">Guidelines</entry>
+
+<entry section="K" href="#streaming">Streaming DFXP Content</entry>
+<entry section="L" href="#acknowledgements">Acknowledgments</entry>
+<entry section="M" href="#change-history">Change History</entry>
+<entry section="M.1" href="#change-history-lc1-to-lc2">Changes from First to Second
+Last Call Working Draft</entry>
+
+<entry section="M.2" href="#change-history-lc2-to-cr">Changes from Second Last Call
+Working Draft to Candidate Recommendation</entry>
+</entries>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testsuite/Report/tabs.js	Tue Feb 10 13:53:10 2009 +0000
@@ -0,0 +1,73 @@
+var W3C = {
+    init: function(menu, tabs) 
+    {
+	W3C.TabSet = new Array();
+
+	W3C.Tab = function(menu, tab)
+	{
+	    this.menu = menu;
+	    this.tab = tab;
+	}
+
+	var p = document.getElementById(tabs);
+	var _tabs = new Array();
+
+	for (n = p.firstChild; n != null; n = n.nextSibling) {
+	    if (n.nodeType == 1) {
+		_tabs[_tabs.length] = n;
+	    }
+	}    
+	p = document.getElementById(menu);
+	p.style.cssText = '';
+	var i = 0;
+	for (n = p.firstChild; n != null; n = n.nextSibling) {
+	    if (n.nodeType == 1) {
+		W3C.TabSet[W3C.TabSet.length] = new W3C.Tab(n, _tabs[i]);
+		n._TABS_item = i;
+		n.onclick = W3C.showTab;
+		i++;	    
+	    }
+	}    
+	var selectedTab = window.location.hash.replace('#', '');
+
+	var item = -1;
+	if (selectedTab != "undefined" && selectedTab) {
+	    for (i = 0; i < W3C.TabSet.length; i++) {
+		var id = W3C.TabSet[i].tab.getAttribute("id");
+		if (selectedTab == id) {
+		    item = i;
+		}
+	    }
+	}    
+	if (item != -1) {
+	    W3C.showTabItem(item);
+	} else {
+	    W3C.showTab();
+	}
+    },
+    
+    showTabItem: function(item)
+    {
+	for (i = 0; i < W3C.TabSet.length; i++) {
+	    if (i == item) {
+		W3C.TabSet[i].tab.style.cssText = '';
+		W3C.TabSet[i].menu.className = 'selected';
+	    } else {
+		W3C.TabSet[i].tab.style.cssText = 'display:none';
+		W3C.TabSet[i].menu.className = 'not_selected';
+	    }
+	}    
+    },
+
+    showTab: function()
+    {
+	var item = this._TABS_item;
+	if (item == "undefined" || !item) {
+	    item = 0;
+	}
+	var id = W3C.TabSet[item].tab.getAttribute("id");
+	//	window.location.hash = "#" + id;
+	W3C.showTabItem(item);
+
+    }
+}