hash
stringlengths
32
32
doc_id
stringlengths
7
13
section
stringlengths
3
121
content
stringlengths
0
2.2M
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.1.2.2 Handling of invalid but conformant documents
When using only the default style sheet, the user agent shall not present or allow interaction with elements that make a conformant document invalid. Such elements are removed from presentation by the default style sheet (see annex AB, "DVB HTML StyleSheet"), however the elements shall be retained in the DOM. Implement...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.2 Set of modules required by the present document
The DVB-HTML document type definitions are made up of the following abstract modules indicated in table 3. The modules are defined in page 15 of Modularization [32]. An implementation of the DTD is defined in annex AA. Table 3: Required modules for DVB-HTML Modularization Required Structure Yes Text Yes Hypertext Yes L...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3 Semantics for modules
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1 XHTML modules
For the modules defined by Modularization [32] the semantics are as defined there except as elaborated below and in clause 8.6, "Media Types".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.1 Structure
Media types for which semantics have been specified when used in the profile link in the <head> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.2 Text
Media types for which semantics have been specified when used in the cite attribute in the <q> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.3 Hypertext
Media types for which semantics have been specified when used in the href attribute (hypertext links) in the <a> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.4 Presentation
NOTE: The HTML conformance clause (see HTML 4 [41]) for this module does not require text to be rendered with a different appearance when these elements are used in the absence of other styling information.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.5 Forms
Media types for which semantics have been specified when used in the action attribute in the <form> element and the src attribute in the <input> element are defined in clause 8.6.2, "MIME media type use restrictions". NOTE: An implementation is not required to support uploading of local files, therefore where input typ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.6 Client-side Image Map
Semantics on the way to associate an image map with an element are defined in section 13.6.1 in HTML 4 [41] with the following exception: • the URI in the usemap attribute shall point to the identifier of the <map> element as set by the id attribute. If no <map> element is identified through the usemap attribute, then ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.7 Image
Media types for which semantics have been specified when used in the longdesc and src attributes in the <img> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.8 Object
Media types for which semantics have been specified when used in the archive, classid, codebase and data attributes in the <object> element are defined in clause 8.6.2, "MIME media type use restrictions". When the referenced object is an MPEG stream, see clause 8.6.7, "MPEG Audio" and clause 8.6.8, "MPEG Video". When t...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.9 Frames
Media types for which semantics have been specified when used in the src attributes in the <frame> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.10 Target
The semantics of specifying target frame information is described in section 16.3 in HTML 4 [41] with the following exception: • the value of the target attribute shall point to the identifier of the frame as set through the id attribute. If a target attribute refers to an unknown frame, then no action shall be perform...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.11 Iframes
Media types for which semantics have been specified when used in the src and longdesc attributes in the <iframe> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.12 Metainformation
See clause 8.10.2.1, "ECMAScript APIs for accessing DVB-J".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.13 Scripting
Media types for which semantics have been specified when used in the src attribute in the <script> element are defined in clause 8.6.2, "MIME media type use restrictions".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.14 Link
Only the following LinkTypes are required to be supported in DVB-HTML for the rev and rel attributes: Alternate: Designates substitute versions for the document in which the link occurs. When used together with the lang attribute, it implies a translated version of the document. When used together with the media attrib...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.1.15 Base
Any media type is allowed for the href attribute in the <base> element since it is the structure of the href itself which is relevant, and not the resource referenced (which need not be accessed, or even present).
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.2 XHTML attributes
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.2.1 Longdesc, alt and cite attributes
DVB-HTML user agents shall make available a mechanism to access the alternate text or referenced resource and present it to the user. The specific means are implementation dependent.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.2.2 Accesskey attribute
The accesskey attribute of HTML 4 [41] assigns an access key to an element. An access key is a single character from the document character set, which if pressed gives focus to the element, the semantics of giving focus to an element are element specific (see HTML 4 [41] section 17.11.2). In order to have some measure ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.3 DVB-HTML modules
7b7f70c9376325894becb0e57e5b31ab
102 727
8.5.3.3.1 DVB Intrinsic events
DVB Intrinsic events are attributes that are used in conjunction with elements that can have specific actions occur when certain events are performed by the user. The attributes indicated in the following table are added to the attribute set for their respective elements. Attributes defined by this module are: Table 4:...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6 Media Types
A DVB-HTML user agent shall be able to recognize and handle (in accordance with the appropriate conformance clauses see clause 7, "Content formats") the following media types. Table 5: Content types accessible in DVB-HTML MIME media type Common name text/xml XML application/xml text/css CSS text/plain Monomedia format ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.1 Uses of MIME media types
%ContentType.datatype: The DVB HTML DTDs define the entity "%ContentType.datatype;", for use in attribute declarations where MIME media types may be used. The following table lists these attributes along with the XHTML Modules in which they occur. Table 6: Use of ContentType attribute on elements elem.attr XHTML Module...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.2 MIME media type use restrictions
The behaviour of the MHP terminal is only specified where there is an "X" at the intersection of element.attribute and MIME media type in table 8. Table 8: Use of MIME media type by element Element. attribute MIME media type text/xml application/ xml text/css text/plain text/dvb.utf8 audio/mpeg image/jpeg image/png ima...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.3 Semantics of media type
a) See clause 8.16.5.2, "Exit locator". b) See clause 8.6.7, "MPEG Audio". c) See clause 8.6.8, "MPEG Video". d) See clause 8.6.5, "Application content". e) See clause 8.6.9, "DVB Services". f) See clause 8.5.3.2.1, "Longdesc, alt and cite attributes". g) See clause 8.6.4, "Frame content". h) See clause 8.6.10, "Graphi...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.4 Frame content
The contents of a frame are restricted to be conformant DVB-HTML documents. NOTE: An implementation is not required to provide a scrolling mechanism for frames.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.5 Application content
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.5.1 When referenced via an AIT locator
An AIT locator is a locator of the form "dvb://current.ait/..." which is used to refer to application content via the AIT signalling. Using this form of locator, DVB-HTML applications are able to refer to currently available applications (see clause 11.7.2, "Application discovery and launching APIs"). EXAMPLE: <a type=...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.5.2 When not referenced via an AIT locator
Other references to DVB-HTML documents or fragments content can occur as a result of: href: The semantics are as defined in HTML 4 [41]. usemap: The referenced element defines a map to overlay on the image. The semantics are as defined in HTML 4 [41]. object.data: The referenced document is rendered within the object a...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.6 Relative linking
The MIME media types allowed for this attribute depend on the value of the link.rel attribute. For link.rel="stylesheet", only the type "text/css" is defined and the user agent shall interpret this as specified in clause 14.3.2, "Specifying external style sheets" of HTML 4 [41]. For all other values of link.rel, the re...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.7 MPEG Audio
DVB HTML shall be able to reference MPEG audio as indicated in table 9. The referenced audio may be of either indefinite (see clause 7.2.1, "Audio") or definite duration (see clause 7.1.4, "Monomedia format for audio clips"). ETSI ETSI TS 102 727 V1.1.1 (2010-01) 53
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.7.1 Resources of indefinite duration
Links to an MPEG elementary stream of indefinite length carried in the broadcast as specified in clause 7.2.1, "Audio" shall select the service component for presentation into the current service context. If an audio service component is currently playing, it is replaced in its entirety by the specified selection. If t...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.7.1.1 Relation to document events
In the case of non-actioned references, the following constraints shall be observed: • The DVBDOMStable event shall be generated prior to playing the stream. • The media should be rendered as soon as possible after the DVBDOMStable event. • The load event shall only be generated after the stream is playing.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.7.2 Resources of definite duration
Referencing an audio file resource of finite length (e.g. carried in DSMCC carousel), that carries audio data as specified in clause 7.1.4, "Monomedia format for audio clips", shall cause audio to be rendered according to the restrictions in clause G.2, "Audio". If the reference requires specific interaction to invoke ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.7.2.1 Relation to document events
In the case of non-actioned references, the following constraints shall be observed: • The DVBDOMStable event and the load event shall be generated prior to playing the audio.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.8 MPEG Video
NOTE: MPEG video or images may only be displayable full- or quarter-screen: if authors ask an object to display it in a way the hardware does not support, the user agent should follow the usual fallback rules for unavailable resources in object. Authors may need to provide alternate content to cover this, probably also...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.8.1 Video Resources of indefinite duration
Referencing an MPEG elementary stream of indefinite length carried in the broadcast as specified in clause 7.2.2, "Video" shall cause the referenced video to be placed in the bounding rectangle of the element after styling is applied (see clause 8.8.4.2.1.3, "dvb-clip-video"). Access to the referenced video stream shal...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.8.1.1 Relation to document events
In the case of non-actioned references to video of indefinite length, the following constraints shall be observed: • The DVBDOMStable event shall be generated prior to playing the video. • The media should be rendered as soon as possible after the DVBDOMStable event. • The load event shall only be generated after the s...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.8.2 Resources of definite duration
This version of the specification does not define referencing of video segments of finite duration.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.9 DVB Services
Use of URLs with that reference a service in contexts that do not require user action (i.e object.data, object.archive) on objects of type "multipart/dvb.service" are defined only for the media aspects of a service (e.g. video, audio, subtitles) and shall not cause service selection, but the media components of that se...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.10 Graphics content
Graphics formats shall be supported as specified in clause 7.1, "Static formats". Such graphics shall be displayed inline with the content in the box generated as a result of processing any CSS rules. NOTE: Images of other types than the minimum requirements for the MHP may be referenced, but the implementation may not...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.11 Script content
The referenced resource shall be in a plain text format admitted by the present document clause 7.1.5, "Monomedia format for text". The content shall be ECMAScript source code as defined in ECMA-262 [33], and shall be handled as if it were inline.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.12 Style sheet content
The referenced resource shall be in a plain text format admitted by the present document clause 7.1.5, "Monomedia format for text". The content shall be CSS source code as defined in CSS 2 [39], and shall be handled as defined by the cascading rules therein.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.13 HTTP(S) URLs
For form.action only HTTP(S) URLs are valid (as form submission relies on GET/POST). The the user agent is only required to handle the case where the content returned is a conformant top-level document.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.14 CSS Properties
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.14.1 Sources of MIME media type use points
<uri>: The CSS 2 specification defines the value type <uri>. For the places where <uri> is a permitted value in CSS see CSS 2 [39].
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.14.2 MIME media type use restrictions
Behaviour when referencing the following MIME media types is not specified for any of the <uri> type in CSS (but may nevertheless be the MIME media types of some parts of a DVB-HTML application): • text/xml; • application/xml; • text/css; • audio/mpeg; • text/dvb.subtitle; • image/dvb.subtitle; • application/dvbj; • te...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.15 Generated Content
The referenced resource shall be in a plain text format admitted by the present document clause 7.1.5, "Monomedia format for text". The content shall be handled as if it were inline as defined in CSS 2 [39]. NOTE: Informative, authoring guideline, in CSS2 you cannot: Generate markup (only XML CDATA). Apply further ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.16 Graphics styling
Graphics formats shall be supported as specified in clause 7.1.1, "Bitmap image formats". Such graphics shall be handled as defined in CSS 2 [39].
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.17 Video Styling
Video and video drips may be used as the background-image style property. The resource shall be handled as an image type as defined in CSS 2 [39]. Video is displayed as defined in clause 8.6.8.1, "Video Resources of indefinite duration" as a reference that does not require user interaction. NOTE: MPEG video or images m...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.6.18 DVB Service styling
Use of URLs with that reference a service as background-video styling are defined only for the media aspects of a service (e.g. video, audio, subtitles) and shall not cause service selection, but the only the media components of that service shall be displayed see clause 8.8.5.3.2, "The @dvb-viewport rule".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7 Synchronization
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.1 Triggers Overview
Triggers provide a means by which the application provider can interact with an application running on an end user terminal. Although in principal this interaction could be delivered by any communication channel available to the MHP, the present document defines only a binding to DSM-CC stream events. Triggers are rece...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.1.1 Transport of triggers
We consider here transport of triggers in: • DSM-CC stream events.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.1.2 Application registration and reception
In order to integrate with W3C event models, triggers are delivered to DVB-HTML applications as DOM events. Registration is through: • Explicit registration using the DOM API Delivery is by DOM event. Trigger DOM event interfaces inherit from the interface Event in DOM (see Document Object Model (DOM) Level 2 Events Sp...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.1.3 Binding to DSM-CC Stream events
A mechanism is provided in clause 8.7.3, "Binding the event factory file to the application" that identifies the location of the DSMCC Stream Event message associated with any document entity of the DVB-HTML application that registers to a trigger event. However, it is possible to bypass this mechanism through a defaul...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2 Trigger Events
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.1 Converting stream events into DOM events
DVB-HTML triggering contains a mechanism by which the stream events are converted into DOM events. This has several features. a) A mechanism to override the default association between application and stream event message which provides a degree of abstraction between the transport mechanism of the stimulus aspect of t...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.2 Event Factory File definition
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.2.1 Syntax
The event factory file is an XML file with syntax defined by the following DTD. <!-- ....................................................................... --> <!-- ..................DVB HTML Event Factory File DTD...................... --> <!-- ....................................................................... -...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.2.2 Element semantics
The elements of the event factory file have the following semantics: htmleventfactoryfile: This element serves as the root element for an event factory file. trigger-event: This element specifies a relationship between: • A media stream event. • The DOM event interface to which it maps. • The DOM event destination. sys...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.2.3 Attributes semantics
The attributes of the event factory file have the following semantics: stream: Names the stream event message, this shall be a "dvb:" URI and must resolve to a DSM-CC StreamEvent message. It may be relative to the application files or provide a full reference to the file system that carries the StreamEvent message. So,...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.3 Default Event Factory Element
Media events that are not defined in any event factory files associated with a DVB-HTML document and whose name "event-name" does not start with "dvb." are treated as if associated with a default event factory element which is defined with the following piece of syntax: <trigger-event event = "event-name" type = "event...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.4 Default Event Factory File
In the absence of an event factory file associated with a DVB-HTML document, a default one is assumed. The default event factory file associated with a DVB-HTML document contains the definition of all the trigger events the document registers with. The aggregation of the default event factory elements constitutes the d...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.5 Worked example
An applications event factory file contains the following text: <trigger-event stream="dvb://233a..1234/goals" event="goal" type="score" cancelable="false"> <event-attribute attribute-name="score" attribute-data="/\[s(core)?:(\d+)-(\d+)/$1-$2" /> </trigger-event> ETSI ETSI TS 102 727 V1.1.1 (2010-01) 63 This defines th...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.6 System events
System events use the same transport and binding mechanisms as trigger-events, but instead of being converted into DOM events and being delivered to the DVB-HTML application they are entirely handled by the user agent. The mapping process from media event names to system event names is identical to that for trigger-eve...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.6.1 dvb.start event
• The dvb.start event causes a DVB-HTML application in the ACTIVE state to receive the AppStarting (see clause 8.11.2.2, "Lifecycle events") event. No payload data is defined for the start event: any event-attribute elements associated with this shall be ignored. • The dvb.start events are only defined in the context o...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.2.6.2 dvb.page event
The event-attribute element associated with the dvb.page system-event allows the broadcaster to direct the application at a specific page during execution. Referencing pages that are not reachable due to security or other restrictions (see clause 8.16.3, "Unrealizable locators") shall cause the event to be ignored. Aft...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.3 Binding the event factory file to the application
A DVB-HTML application is usually constructed of multiple DVB-HTML documents, each such file can have a different trigger event set to which it subscribes. Each file can be associated with zero or more event factory files. If no event factory file is associated with a DVB-HTML document then the default event factory fi...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.3.1 Syntax of event linkage file
This file provides a list of zero or more event factory attribute files for each document in the application. The event linkage file is an XML file using the following DTD. ETSI ETSI TS 102 727 V1.1.1 (2010-01) 65 <!-- ....................................................................... --> <!-- ..................DV...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.3.2 Semantics of event linkage file
htmleventlinkagefile: This element serves as the root element for an event linkage file. linkage: This element specifies a set of DVB-HTML documents with which the event factory files identified by the location element are to be associated. boundary: This is a regular expression identifying the set of documents. The en...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.3.3 Example
<?xml version="1.0"?> <!DOCTYPE linkage "-//DVB//DTD DVB HTML Event Linkage 1.0//EN" "http://www.dvb.org/mhp/dtd/htmleventlinkagefile-1-0.dtd"> <linkage boundary ="*"> <location URI="./events/app_events.evt" /> </linkage> <linkage boundary ="foo.htm"> <location URI="http://www.xx.com/app/ev1.evt" /> <location URI="http...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.3.4 Name and location of linkage file
The event linkage file is located in the same directory as the application entry point document. The file name of the linkage file is formed by replacing any file name extension with the string "lnk". So, for the application entry point document: foo.html The linkage file would be named: foo.lnk
7b7f70c9376325894becb0e57e5b31ab
102 727
8.7.4 Default Trigger Mechanism
The default trigger mechanism is assumed when there is no linkage file associated with a DVB-HTML application. This default mode provides a simple event mechanism in the case where a DVB-HTML application is associated with system events or with trigger events with simple data payload. An overview is provided in figure ...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8 CSS
Cascading Style Sheets (CSS) are a method to attach a look to HTML or XML content.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.1 Summary of CSS profiling for MHP
DVB-HTML shall support CSS2 as defined in CSS 2 [39] but amended by the profile statements in the following clauses: • Clause 8.8.2, "MHP profile of CSS data types". • Clause 8.8.3, "MHP profile of CSS @ rules". • Clause 8.8.4, "MHP profile of CSS media types". • Clause 8.8.5, "Graphics and video integration". • Clause...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.2 MHP profile of CSS data types
The implementations shall support all of the data types defined in CSS 2 [39] except as amended by table 13. Table 13: MHP profile of CSS data types Data type Profile <alphavalue> See clause 8.8.4.2.1.1, "opacity". The results of opacity blending may be implementation specific, see clause 13.6.1, "Approximations in com...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.3 MHP profile of CSS @ rules
The implementations shall support all of the @ rules defined in CSS 2 [39] except as amended by table 14. Table 14: MHP profile of CSS @ rules Rule Profile page Not required. viewport Required, See clause 8.8.5.3.2, "The @dvb-viewport rule".
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.4 MHP profile of CSS media types
A DVB-HTML user agent is required to support the media types in this clause, support for other media types is optional.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.4.1 "screen" media type
A DVB-HTML user agent shall support the screen media type.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.4.2 "dvb-tv" media type
A DVB-HTML user agent shall support the dvb-tv media type. The dvb-tv media type is a new media type introduced to enable content authors to differentiate an MHP terminal with a predominantly TV like environment (low resolution, possible interlace, specific gamut color, limited-scrollability, small screens, sound avail...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.4.2.1 Additional Properties of "dvb-tv" media type
8.8.4.2.1.1 opacity opacity: Objects may be rendered in a semi-transparent fashion in DVB-HTML using the opacity property defined in SVG [42]. Opacity can be thought of as a postprocessing operation. Conceptually, after an object or group of objects is rendered into an RGBA off-screen image, the opacity setting specifi...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.4.3 Clarifications on support of paged properties
The CSS2 specification CSS 2 [39], appendix F, lists properties associated with the paged media group as being also associated with the visual media group, which creates a possible ambiguity with the definition of the screen and dvb-tv media types which do not support the paged media group. For clarification, DVB-MHP d...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5 Graphics and video integration
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.1 General recap of the MHP graphics
The MHP defines three sets of planes, background, background video, and application. The DVB applications draw into the application layer, but may be transparent or translucent to the video planes beneath. Video objects can be placed in the application layer too, and these act as components (e.g. being clipped to the v...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.1.1 Input video space
This considers post upsampling MPEG pixels.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.1.2 Device space
Logical pixels in the various display devices.There may be different device spaces for the various device types (e.g.video and graphics).
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.1.3 Normalized space
Normalized coordinates relative to the screen.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.1.4 Colour
MHP defines a 4 dimensional colour space coordinate system, which covers the sRGB gamut with semi opaque colours. In DVB-HTML points in the three chroma dimensions are specified using the CSS rgb() or #rgb syntax, the opacity property is used to specify the fourth translucency component (see clause 8.8.4.2.1.1, "opacit...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.2 Coordinate spaces
DVB-HTML applications do not have to fill the entire graphic space, but can specify a rectangle in the screen space, to locate the initial viewport for the application. It can also specify and use a local pixel coordinate space in that viewport for placement of elements within the application. DVB-HTML applications can...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.2.1 Screen coordinates
The screen space coordinates are normalized, and can therefore be expressed in CSS % units where it is defined for MHP that this means percent of screen real estate, i.e. full screen is top:0 % left:0 % width:100 % height:100 %.
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.2.2 Pixel coordinates
Pixel coordinates use CSS px units, these describe logical pixels in the viewport (which in the same way as HGraphicsDevice, may not actually map to physical device pixels), and define the coordinate space of the viewport. ETSI ETSI TS 102 727 V1.1.1 (2010-01) 71
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.2.3 Video coordinates
To address positions based on the video coordinate space the pel numeric type is defined, e.g. the style: #captions { position: fixed; top: 23pel; left: 43pel; width: 100pel; height: 60pel } establishes a fixed box in the viewport, the rectangle of which is based on (43, 23, 100, 60) in the source video (see clause 8.8...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.3 How to define the initial containing block
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.3.1 Problem
The rectangle on screen that is the logical equivalent of the HScene in DVB-J, is called the viewport in CSS. Since this does not have to fill the screen, it is required to be able to establish the coordinate space that this viewport has (if this is not specified by the application then the user agent can use the natur...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.3.2 The @dvb-viewport rule
Viewport context: The @dvb-viewport rule is used to define the viewport for the application. This is roughly equivalent to the @page rule for printed output. The declarations that it contains are defined to be in the viewport context. Only one viewport can be in effect at a time, and this is defined by the cascade refe...
7b7f70c9376325894becb0e57e5b31ab
102 727
8.8.5.3.3 Establishing a viewport
8.8.5.3.3.1 Viewport properties The following properties may be used inside a @dvb-viewport rule. DOM access to these properties is provided by clause 8.8.5.9, "DOM Access to CSS". Implementations are not required to respect property requests in the @dvb-viewport rule that would require the implementation to exceed the...