From 5fe0d184e94b5f7b499dfbc9be98497eb58ead6b Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Sat, 30 Dec 2017 14:23:59 -0700 Subject: [PATCH 1/2] Refactor repeated prose regarding the specification of style property attributes (#438). --- spec/ttml2.xml | 216 +++---------------------------------------------- 1 file changed, 12 insertions(+), 204 deletions(-) diff --git a/spec/ttml2.xml b/spec/ttml2.xml index b3b9776fb..19fb062b6 100644 --- a/spec/ttml2.xml +++ b/spec/ttml2.xml @@ -7782,6 +7782,14 @@ to implement features it has in common with this model.

No normative use of an <?xml-stylesheet ... ?> processing instruction is defined by this specification.

+

The styling attributes defined in this section may be specified by any element type +that permits use of attributes in the TT Style Namespaces; however, these attributes apply +as style properties only to those element types indicated by the definition of each attribute. Furthermore, +unless explicitly permitted by an element type definition, an attribute in the TT Style Namespaces should not be specified on an element +unless it either applies to that element or denotes an inheritable style property. If it does not apply to that element +and does not denote an inheritable style property, then it must be ignored for the purpose of non-validation processing. +In the case of validation processing, such usage should be reported as a warning, or, if strict validation is performed, +as an error.

Styling Element Vocabulary

The following elements specify the structure and principal styling aspects of a @@ -7980,11 +7988,6 @@ that support inline style specifications:

-

Unless explicitly permitted by an element type definition, an attribute in the TT Style Namespace should not be specified on an element -unless it either applies to that element or denotes an inheritable style property. If it does not apply to that element -and does not denote an inheritable style property, then it must be ignored for the purpose of non-validation processing. -In the case of validation processing, such usage should be reported as a warning, or, if strict validation is performed, -as an error.

Unless explicitly stated otherwise, linear white-space (LWSP) must appear between adjacent non-terminal components of a value of a TT Style property value unless some other delimiter is permitted and used.

@@ -8055,9 +8058,6 @@ further information on its semantics.

The tts:backgroundClip attribute is used to specify a style property that determines the background painting rectangle within which the background is painted.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8143,10 +8143,6 @@ span.

The tts:backgroundColor attribute is used to specify a style property that defines the background color of a region or an area generated by content flowed into a region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8231,9 +8227,6 @@ span.

tts:backgroundExtent

The tts:backgroundExtent attribute may be used to specify the extent (size) of a background image independently of the image's intrinsic extent (size).

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8348,10 +8341,6 @@ used to represent actual content, such as a raster image rendering of a caption. should be limited to styling the background of an element where the content is represented by other means. If it is necessary to represent content using a raster image, then it should be expressed by means of an image element in a block or inline context.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8465,9 +8454,6 @@ and not a tts:backgroundImage<

The tts:backgroundOrigin attribute is used to specify a style property that determines the background positioning rectangle within which the background is positioned.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8550,9 +8536,6 @@ span.

tts:backgroundPosition

The tts:backgroundPosition attribute is used to specify a style property that defines whether and how a background image is positioned in a region or an area generated by content flowed into a region.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8637,9 +8620,6 @@ A percentage value component for a vertical position offset is relative to the h tts:backgroundRepeat

The tts:backgroundRepeat attribute is used to specify a style property that defines whether and how a background image is repeated (tiled) into a region or an area generated by content flowed into a region.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8726,10 +8706,6 @@ defines the border of a region or an area generated by content flowed into a reg

When applied to a region, a border is applied as an inset to a region's extent, which is to say, the content rectangle of a region area is reduced by the presence of a border applied to the region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8888,10 +8864,6 @@ progression direction. Therefore, in horizontal writing modes, bpd while, in vertical writing mode, bpd expresses a horizontal measure, where horizontal and vertical are always interpreted in an absolute sense.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -8955,10 +8927,6 @@ however, the dimensions of the content rectangles of the generated areas are not tts:color

The tts:color attribute is used to specify a style property that defines the foreground color of marks associated with an area generated by content flowed into a region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9043,10 +9011,6 @@ background color of the root container

The tts:direction attribute is used to specify a style property that defines the directionality of an embedding or override according to the Unicode bidirectional algorithm.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9153,9 +9117,6 @@ has no affect on the resolution of the computed value of tts:direction for details on the relationship between disparity and perceived depth.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9261,10 +9222,6 @@ its associated text.

The tts:display attribute is used to specify a style property that defines whether an element is a candidate for layout and composition in a region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9399,10 +9356,6 @@ is a candidate for region layout and presentation. Furthermore, it is considered tts:displayAlign

The tts:displayAlign attribute is used to specify a style property that defines the alignment of block areas in the block progression direction.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9527,10 +9480,6 @@ of an image, overriding its intrinsic extent.

If either (or both) border or (and) padding are applied to a region, then the region's extent includes that border and padding, i.e., border and padding are both applied as insets, and, therefore, are interior to the extent of the region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9705,9 +9654,6 @@ while use of a smaller extent makes region overflow more likely.

The tts:fillLineGap attribute is used by the to determine whether a background color that applies to an inline area is extended to the before and after edges of a container line area when performing rendering processing.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespace; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9770,10 +9716,6 @@ example.

The tts:fontFamily attribute is used to specify a style property that defines the font family from which glyphs are selected for glyph areas generated by content flowed into a region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9876,9 +9818,6 @@ use the value default.

tts:fontKerning

The tts:fontKerning attribute is used to specify a style property that determines whether font kerning is applied when positioning glyph areas.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -9970,9 +9909,6 @@ with (local) platform defined font resourcestts:fontShear

The tts:fontShear attribute is used to specify a style property that determines whether and how a shear transformation is applied to glyph areas.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10099,9 +10035,6 @@ span.

The tts:fontSize attribute is used to specify a style property that defines the font size for glyphs that are selected for glyph areas generated by content flowed into a region.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10279,10 +10212,6 @@ defines the font style to apply to glyphs that are selected for @@ -10372,10 +10301,6 @@ then a presentation processor mu tts:fontVariant

The tts:fontVariant attribute is used to enable the selection of typographic glyph variants.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10462,10 +10387,6 @@ that defines the font weight to apply to glyphs that are selected for -

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10553,9 +10474,6 @@ then a presentation processor mu

The tts:inlineAreaBreak attribute is used to specify a style property that defines whether border and padding apply at the start and end edges of an inline area in the context of a fragmentation (break) boundary, for example, at line breaks.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespace; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10655,10 +10573,6 @@ progression direction. Therefore, in horizontal writing modes, ipd while, in vertical writing mode, ipd expresses a vertical measure, where horizontal and vertical are always interpreted in an absolute sense.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespace; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10728,10 +10642,6 @@ e.g., as used in cursive scripts or with cursive fonts, to become disconnected.<

Letter spacing is applied independently from kerning and justification. Depending upon the font(s) in use, the script(s) being presented, and the capabilities of a presentation processor, either or both kerning and justification may be applied in addition to letter spacing.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10825,10 +10735,6 @@ defines the inter-baseline separation between line areas generated by content fl the axis that corresponds with the block progression dimension of an associated line area, which is the vertical axis in horizontal writing modes, but is the horizontal axis in vertical writing modes.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -10974,10 +10880,6 @@ luminance, such as 10,000 cd∙m-2.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespace; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -11094,10 +10996,6 @@ of marks associated with a region or an area generated by content flowed into a

When presented onto a visual medium, the opacity of the region is applied uniformly and on a linear scale to all marks produced by content targeted to the region after having applied any content element specific opacity to areas generated by that content.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -11183,9 +11081,6 @@ region area with respect to the origin of the tts:position attributes are specified on an element and tts:position is a supported property, then the tts:origin attribute must be ignored for the purpose of presentation processing.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -11286,10 +11181,6 @@ the computed value, then the value least distant from [0,0], i.e., closest to th

The tts:overflow attribute is used to specify a style property that defines whether a region area is clipped or not if the descendant areas of the region overflow its extent.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -11418,10 +11309,6 @@ space on one or more sides of a region or an area generated by content flowed in

Padding is applied as an inset to a region area, which is to say, the content rectangle of a region area is reduced by the presence of padding applied to the region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -11602,9 +11489,6 @@ of a region area with respect to a positioning rectangle.

If both tts:position and tts:origin attributes are specified on an element and tts:position is a supported property, then the tts:origin attribute must be ignored for the purpose of presentation processing.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -11737,8 +11621,6 @@ centered in the horizontal dimension and has a bottom edge 10% above the bottom tts:ruby

The tts:ruby attribute is used to specify the application of ruby styling.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespaces; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12071,8 +11953,6 @@ is not supported by this version of this specification due to lack of market req tts:rubyAlign

The tts:rubyAlign attribute is used to specify the position of ruby text within the inline area generated by the ruby text container annotation.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespaces; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12201,8 +12081,6 @@ in the block progression dimension.

https://github.com/w3c/ttml2/issues/373

Add auto value to denote automatic offset determination. Change initial value to auto.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespace; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12319,8 +12197,6 @@ involving ruby text in potential overflow scenarios. For example, if the inline inline progression dimension of its associated base text, and that base text appears at the start or end edge of a line area, then the ruby text may potentially overflow its containing block area depending on the applicable ruby text alignment as determined by the tts:rubyAlign style property.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespaces; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12438,8 +12314,6 @@ the base text associated with the ruby text. In the case where the inline progre inline progression dimension of its associated base text, or in ruby overflow cases where the ruby text must be inset, then it is possible that the ruby text may overhang content set on the baseline that is not part of the ruby text's associated base text. In such cases, the tts:rubyOverhang attribute may be used to determine whether and how much overhang is allowed to occur.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespaces; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12572,8 +12446,6 @@ and , §5, Edge Effects.

the style property expressed by the tts:rubyOverhang attribute. In particular, it used to specify the set of base text characters which accept overhanging ruby text. If a base text character is not in this specified set, then ruby text is prevented from overhanging that character.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespaces; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12704,8 +12576,6 @@ and , §5, Edge Effects.

tts:rubyPosition

The tts:rubyPosition attribute is used to specify the position of ruby text in the block progression dimension with respect to its associated ruby base.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespace; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -12863,8 +12733,6 @@ the bounds of the line areas.

An author may use the tts:rubyReserve attribute in order to ensure that consecutive baselines of line areas in a block area retain a fixed placement regardless of the presence or absence of ruby text annotations.

-

This attribute may be specified by any element type that permits use of attributes in the TT Style Namespaces; however, -this attribute applies as a style property only to those element types indicated in the following table.

@@ -13008,10 +12876,6 @@ with a value equal to one half of the used value of the tts:l

The tts:showBackground attribute is used to specify constraints on when the background color of a region is intended to be presented.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13097,10 +12961,6 @@ then a presentation processor mu

The tts:textAlign attribute is used to specify a style property that defines how inline areas are aligned within a containing block area in the inline progression direction.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13269,10 +13129,6 @@ For example, half-width variant forms may be selected, a ligature may be selecte implementation that supports this style property must be able to select half-width variant forms if available. If none of these techniques are able to achieve the target dimension along the block progression dimension of the containing line area, then this dimension of the containing line area may be increased if permitted by the line stacking strategy in effect.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13359,10 +13215,6 @@ equal to or less than a specified count, or two (2) if no count is specified.

The tts:textDecoration attribute is used to specify a style property that defines a text decoration effect to apply to glyph areas or other inline areas that are generated by content flowed into a region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13482,10 +13334,6 @@ is then inherited by children of the p element.

tts:textEmphasis

The tts:textEmphasis attribute is used to specify a style property that determines whether and how text emphasis marks are presented on affected content.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13580,9 +13428,6 @@ this case, an author may redefine the default initial value for this attribute b

The tts:textOrientation attribute is used to specify a style property that defines a text orientation to apply to glyphs that are selected for glyph areas generated by content flowed into a region to which a vertical writing mode applies.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Style Namespace; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13697,10 +13542,6 @@ example.

The tts:textOutline attribute is used to specify a style property that defines a text outline effect to apply to glyphs that are selected for glyph areas generated by content flowed into a region.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13816,10 +13657,6 @@ are specified on an element and tts:textShadow is a supported propert then the tts:textOutline attribute must be ignored for the purpose of presentation processing.

If multiple text shadows apply, then they are drawn in the specified order immediately prior to drawing the glyph area to which they apply.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -13904,10 +13741,6 @@ And I use it for striking a light:</span>

The tts:unicodeBidi attribute is used to specify a style property that defines an explicit directional embedding, override or isolate according to the Unicode bidirectional algorithm.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -14000,10 +13833,6 @@ then a presentation processor mu

The tts:visibility attribute is used to specify a style property that defines whether generated areas are visible or not when rendered on a visual presentation medium.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -14126,10 +13955,6 @@ then a presentation processor mu

The tts:wrapOption attribute is used to specify a style property that defines whether or not automatic line wrapping (breaking) applies within the context of the affected element.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -14216,10 +14041,6 @@ then a presentation processor mu

The tts:writingMode attribute is used to specify a style property that defines the block and inline progression directions to be used for the purpose of stacking block and inline areas within a region area.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -14315,10 +14136,6 @@ top-to-bottom is referred to as a vertical writing mode.

tts:zIndex

The tts:zIndex attribute is used to specify a style property that defines the front-to-back ordering of region areas in the case that they overlap.

-

This attribute may be specified by any -element type -that permits use of attributes in the TT Style Namespaces; however, this attribute applies -as a style property only to those element types indicated in the following table.

@@ -14470,15 +14287,15 @@ that support inline style specifications:

--> - +

Unless explicitly stated otherwise, linear white-space (LWSP) must +appear between adjacent non-terminal components of a value of a TT Audio Style property +value unless some other delimiter is permitted and used, in which case linear white-space may appear +between a delimiter and a non-terminal component.

tta:gain

The tta:gain attribute is used to specify an audio style property that determines a gain multiplier to be applied to the the applicable audio content during the active duration of the element on which this attribute is specified.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Audio Style Namespace; however, this attribute applies -as an audio style property only to those element types indicated in the following table.

@@ -14569,9 +14386,6 @@ is the element's generated audio.

The tta:pan attribute is used to specify an audio style property that determines a stereoscopic pan vector to be applied to the the applicable audio content during the active duration of the element on which this attribute is specified.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Audio Style Namespace; however, this attribute applies -as an audio style property only to those element types indicated in the following table.

@@ -14659,9 +14473,6 @@ is the element's generated audio.

tta:pitch

The tta:pitch attribute is used to specify an audio style property that determines speech pitch when speech synthesis is enabled for the affected content

-

This attribute may be specified by any element type -that permits use of attributes in the TT Audio Style Namespace; however, this attribute applies -as an audio style property only to those element types indicated in the following table.

@@ -14723,9 +14534,6 @@ character content.

tta:speak

The tta:speak attribute is used to specify an audio style property that determines whether speech synthesis is enabled for the affected content, and, if enabled, which rate of speech to apply.

-

This attribute may be specified by any element type -that permits use of attributes in the TT Audio Style Namespace; however, this attribute applies -as an audio style property only to those element types indicated in the following table.

From c46fe72c1ab5c2c604963a21563307e75d3b172f Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Sat, 13 Jan 2018 18:20:00 -0700 Subject: [PATCH 2/2] Add links for TT Style Namespaces; remove unrelated LWSP text (#438). --- spec/ttml2.xml | 49 ++++++++++++++++++++---------------------- spec/xmlspec-ttml2.xsl | 12 +++++++++++ 2 files changed, 35 insertions(+), 26 deletions(-) diff --git a/spec/ttml2.xml b/spec/ttml2.xml index 19fb062b6..cfc73bddc 100644 --- a/spec/ttml2.xml +++ b/spec/ttml2.xml @@ -2361,7 +2361,8 @@ href="http://www.w3.org/2001/tag/doc/namespaceState#namespacedef">mutable< standardization by the W3C.

The TT Style Namespace (http://www.w3.org/ns/ttml#styling) and the TT Audio Style Namespace (http://www.w3.org/ns/ttml#audio) are collectively referred to as -the TT Style Namespaces. In particular, if this latter collection is referred to by specification text, +the TT Style Namespaces. +In particular, if this latter collection is referred to by specification text, then it means that the vocabulary item in question is in either the TT Style Namespace or the TT Audio Style Namespace.

In a specific document instance, it is not required that the default @@ -5550,7 +5551,7 @@ zero or one body element.

xml:lang = xsd:string xml:space = (default|preserve) : default {any attribute in TT Parameter Namespace} - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: head?, body? </tt> @@ -5680,7 +5681,7 @@ element group apply semantically to the body element.

xml:lang = xsd:string xml:space = (default|preserve) {any attribute in TT Metadata Namespace} - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, div element.

xml:lang = xsd:string xml:space = (default|preserve) {any attribute in TT Metadata Namespace} - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, p element.

xml:lang = xsd:string xml:space = (default|preserve) {any attribute in TT Metadata Namespace} - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, span element.

xml:lang = xsd:string xml:space = (default|preserve) {any attribute in TT Metadata Namespace} - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, br element.

xml:lang = xsd:string xml:space = (default|preserve) {any attribute in TT Metadata Namespace} - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, Animation.class* </br> @@ -6674,7 +6675,7 @@ zero or more elements in the An xml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute in TT Metadata Namespace} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, sourcexml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute in TT Metadata Namespace} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, <?xml-stylesheet ... ?> processing instruction is defined by this specification.

The styling attributes defined in this section may be specified by any element type -that permits use of attributes in the TT Style Namespaces; however, these attributes apply +that permits use of attributes in the TT Style Namespaces; however, these attributes apply as style properties only to those element types indicated by the definition of each attribute. Furthermore, -unless explicitly permitted by an element type definition, an attribute in the TT Style Namespaces should not be specified on an element -unless it either applies to that element or denotes an inheritable style property. If it does not apply to that element -and does not denote an inheritable style property, then it must be ignored for the purpose of non-validation processing. -In the case of validation processing, such usage should be reported as a warning, or, if strict validation is performed, -as an error.

+unless explicitly permitted by an element type definition, an attribute in the TT Style Namespaces +should not be specified on an element unless it either applies to that element or denotes an inheritable style property. +If it does not apply to that element and does not denote an inheritable style property, then it must be ignored for the purpose +of non-validation processing. In the case of validation processing, such usage should be reported as a warning, or, +if strict validation is performed, as an error.

Styling Element Vocabulary

The following elements specify the structure and principal styling aspects of a @@ -7815,7 +7816,7 @@ the specification defined initial value(s).

xml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class* </initial> @@ -7864,7 +7865,7 @@ specified style set in accordance with xml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class* </style> @@ -14287,10 +14288,6 @@ that support inline style specifications:

--> -

Unless explicitly stated otherwise, linear white-space (LWSP) must -appear between adjacent non-terminal components of a value of a TT Audio Style property -value unless some other delimiter is permitted and used, in which case linear white-space may appear -between a delimiter and a non-terminal component.

tta:gain

The tta:gain attribute is used to specify an audio style property that @@ -16980,7 +16977,7 @@ style inheritance).

xml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class*, Animation.class*, style* </region> @@ -18325,7 +18322,7 @@ elements in the Metadata.classxml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class* </animate> @@ -18495,7 +18492,7 @@ elements in the Metadata.classxml:id = ID xml:lang = xsd:string xml:space = (default|preserve) - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: Metadata.class* </set> @@ -24568,7 +24565,7 @@ by an existing isd:css element, then it is assigned a unique identifier <isd:css xml:id = ID - {any attribute in TT Style Namespaces} + {any attribute in TT Style Namespaces} {any attribute not in default or any TT Namespace}> Content: ttm:metadata* </isd:css> @@ -25796,7 +25793,7 @@ direct expression of the target attribute name and value by use of a

CSS style specification syntax is mapped to XML by use of -attributes defined in the TT Style Namespaces.

+attributes defined in the TT Style Namespace.

The xml:id attribute is defined for use on all element types.

diff --git a/spec/xmlspec-ttml2.xsl b/spec/xmlspec-ttml2.xsl index 304a03aa5..7f5e7b339 100644 --- a/spec/xmlspec-ttml2.xsl +++ b/spec/xmlspec-ttml2.xsl @@ -1212,4 +1212,16 @@ width: 100%; + + + + + + + + + + + +