Re: [ttml] Referential styling against multiple references

On Fri, Jun 14, 2024 at 8:35 PM Alexander Cerutti
<cerutti.alexander@gmail.com> wrote:
>
> Hi,
> According to 10.4.1.2 Referential Styling, "style properties may be expressed in an out-of-line manner and referenced by the affected element using the style attribute".
>
> The same section, then, says "if a style attribute specifies multiple references, then those references are evaluated in the specified order [...]".
>
> However, in the CR Snapshot there is no example or explanation about how multiple styles can be referenced (or, at least, I wasn't able to find one in the whole document and I was expecting one under 10.4.1.2).
>
> How is this list or references composed? Are they:
>
> - a list of strings divided by a linear white space (lwsp), just like HTML with its `class` attribute

See https://www.w3.org/TR/ttml2/#style-attribute-style:

"""If specified, the value of a style attribute must adhere to the
IDREFS data type defined by [XML Schema Part 2], ยง3.3.10, and,
furthermore, each IDREF must reference a style element which has a
styling element as an ancestor."""

> - a list of strings divided by an arbitrary by coherent character (just like HTML with CSS style attribute, in which couples are divided by a semicolon)
> - Something else
>
> Thank you!
> Alexander
>

Received on Sunday, 16 June 2024 02:07:39 UTC