ATSC Standard
Total Page:16
File Type:pdf, Size:1020Kb
Doc. A/100-2 09 March 2003 DTV APPLICATION SOFTWARE ENVIRONMENT LEVEL 1 (DASE-1) PART 2: DECLARATIVE APPLICATIONS AND ENVIRONMENT ATSC Standard Advanced Television Systems Committee 1750 K Street, N.W. Suite 1200 Washington, D.C. 20006 www.atsc.org Blank Page ATSC DASE-1 Declarative Applications and Environment 09 Mar 2003 Table of Contents DASE-1 DECLARATIVE APPLICATIONS AND ENVIRONMENT ..................................1 1. SCOPE....................................................................................................................1 1.1 Status ............................................................................................................................... 1 1.2 Purpose............................................................................................................................ 1 1.3 Application....................................................................................................................... 1 1.4 Organization ....................................................................................................................1 2. REFERENCES........................................................................................................3 2.1 Normative References .................................................................................................... 3 2.2 Informative References .................................................................................................. 4 2.3 Reference Acquisition .................................................................................................... 5 3. DEFINITIONS..........................................................................................................6 3.1 Conformance Keywords................................................................................................. 6 3.2 Acronyms and Abbreviations ........................................................................................ 6 3.3 Terms................................................................................................................................ 6 4. BEHAVIOR .............................................................................................................7 4.1 Application Processing .................................................................................................. 7 4.2 Application Decoding ..................................................................................................... 7 4.3 Application Presentation................................................................................................ 7 4.3.1 Display Configuration................................................................................................. 8 4.4 Application Interaction ................................................................................................... 8 4.5 Trigger Processing ......................................................................................................... 9 4.5.1 Event Processing....................................................................................................... 9 4.5.1.1 bubbles attribute ................................................................................................. 9 4.5.1.2 cancelable attribute............................................................................................. 9 4.5.1.3 target attribute..................................................................................................... 9 4.5.2 Script Event Processing............................................................................................. 9 4.6 Relative Identifier Resolution ...................................................................................... 10 4.7 Ecmascript Identifier Scheme...................................................................................... 10 5. FACILITIES...........................................................................................................12 5.1 Markup Content............................................................................................................. 12 5.1.1 application/xhtml+xml .............................................................................................. 12 5.1.1.1 Well Formedness.............................................................................................. 12 5.1.1.2 Validity .............................................................................................................. 13 5.1.1.3 XML Declaration ............................................................................................... 13 5.1.1.4 Document Type Declaration ............................................................................. 14 5.1.1.5 Attribute Semantics........................................................................................... 14 5.1.1.5.1 Universal Resource Identifiers (URIs) ....................................................... 14 5.1.1.5.2 name attribute............................................................................................ 15 5.1.1.5.3 style attribute ............................................................................................. 15 5.1.1.5.4 xml:base attribute ...................................................................................... 16 5.1.1.5.5 xml:lang attribute ....................................................................................... 16 5.1.1.6 Element Semantics........................................................................................... 16 5.1.1.6.1 a (anchor) element..................................................................................... 16 5.1.1.6.2 base element ............................................................................................. 19 5.1.1.6.3 form element.............................................................................................. 19 5.1.1.6.4 img element ............................................................................................... 19 5.1.1.6.5 input element ............................................................................................. 19 5.1.1.6.6 link element................................................................................................ 20 5.1.1.6.7 meta element ............................................................................................. 20 5.1.1.6.8 object element ........................................................................................... 21 5.1.1.6.9 script element ............................................................................................ 23 5.1.1.6.10 style element.............................................................................................. 24 5.1.1.7 External Stylesheets......................................................................................... 24 5.2 Stylesheet Content........................................................................................................ 24 PAGE III ATSC DASE-1 Declarative Applications and Environment 09 Mar 2003 5.2.1 text/css..................................................................................................................... 24 5.2.1.1 Validity .............................................................................................................. 25 5.2.1.2 Selectors........................................................................................................... 25 5.2.1.3 Character Set Rules ......................................................................................... 26 5.2.1.4 Import Rules ..................................................................................................... 26 5.2.1.5 Font Face Rules ............................................................................................... 26 5.2.1.5.1 'src' descriptor............................................................................................ 27 5.2.1.6 Page Rules ....................................................................................................... 27 5.2.1.7 Media Types ..................................................................................................... 27 5.2.1.7.1 'atsc-tv' media type .................................................................................... 27 5.2.1.8 Style Properties ................................................................................................ 28 5.2.1.8.1 Alternative Semantic Interpretations.......................................................... 28 5.2.1.8.2 Standard Property Values.......................................................................... 30 5.2.1.8.3 Non-Standard Properties........................................................................... 30 5.2.1.8.4 Non-Standard Property Values.................................................................. 32 5.2.1.9 Inline Stylesheets.............................................................................................. 32 5.3 Script Content ............................................................................................................... 33 5.3.1 text/ecmascript......................................................................................................... 33 5.3.1.1 Native Objects .................................................................................................. 33 5.3.1.1.1 Non-Instantiable Built-In Objects ............................................................... 33 5.3.1.1.2 Instantiable Built-In Objects......................................................................