From 7c4d4bccd9ac46b0a80e494280e8352f45eb55d6 Mon Sep 17 00:00:00 2001 From: Nigel Megitt Date: Thu, 21 Nov 2024 16:29:32 +0000 Subject: [PATCH] Check feature dispositions (#265) * Alphabetise and add missing disposition features * Add links to all the TTML2 feature definitions * Reference TTML2 2nd Ed latest CRS instead of 1st Ed Rec * Address review feedback from @andreastai Also refactor how the row headers are styled, because I found them too hard to spot. * Fix dispositions of contentProfiles and represents Addresses @andreastai review feedback --- index.html | 181 +++++++++++++++++------------- profiles/dapt-content-profile.xml | 1 + 2 files changed, 106 insertions(+), 76 deletions(-) diff --git a/index.html b/index.html index bc4d212..3414d4c 100755 --- a/index.html +++ b/index.html @@ -60,7 +60,13 @@ publisher: "W3C", status: "2021-06-25", href: "https://www.w3.org/International/articles/inline-bidi-markup" - } + }, + "TTML2": { + title: "Timed Text Markup Language 2 (TTML2) (2nd Edition)", + publisher: "W3C", + status: "2021-03-09", + href: "https://www.w3.org/TR/2021/CR-ttml2-20210309" + }, }, postProcess: [ @@ -143,6 +149,7 @@ table.syntax td { border: 0px solid black } table.syntax div { background-color: #ffffc8 } table#table-features-and-extensions tbody tr td:nth-child(2) { text-align: center;} + td.table-row-header {text-align:center; font-style: italic; font-weight: bold; padding-top: 1.5rem !important;} div.exampleInner { border-top-width: 4px; border-top-style: double; border-top-color: #d3d3d3; @@ -3130,349 +3137,349 @@

Disposition of Features and Extensions

- Relative to the TT Feature namespace + Relative to the TT Feature namespace - #animate-minimal + #animate-fill permitted - #animate-fill + #animate-minimal permitted - #animation-out-of-line + #animation-out-of-line prohibited See . - #audio + #audio permitted - #audio-description + #audio-description permitted - #audio-speech + #audio-speech permitted - #bidi + #bidi permitted - #bidi-version-2 + #bidi-version-2 permitted - #chunk + #chunk permitted - #clockMode + #clockMode prohibited - #clockMode-gps + #clockMode-gps prohibited - #clockMode-local + #clockMode-local prohibited - #clockMode-utc + #clockMode-utc prohibited - #content + #content permitted #contentProfiles - optional + permitted See and . - #contentProfiles-combined + #contentProfiles-combined optional See . - #core + #core permitted - #data + #data permitted - #direction + #direction permitted - #dropMode + #dropMode prohibited - #dropMode-dropNTSC + #dropMode-dropNTSC prohibited - #dropMode-dropPAL + #dropMode-dropPAL prohibited - #dropMode-nonDrop + #dropMode-nonDrop prohibited - #embedded-audio + #embedded-audio permitted - #embedded-data + #embedded-data permitted - #frameRate + #frameRate permitted See [[[#ttp-framerate]]]. - #frameRateMultiplier + #frameRateMultiplier permitted - #gain + #gain permitted - #markerMode + #markerMode prohibited - #markerMode-continuous + #markerMode-continuous prohibited - #markerMode-discontinuous + #markerMode-discontinuous prohibited - #metadata + #metadata permitted - #metadata-item + #metadata-item permitted - #metadata-version-2 + #metadata-version-2 permitted - #pan + #pan permitted - #permitFeatureNarrowing + #permitFeatureNarrowing optional See . - #permitFeatureWidening + #permitFeatureWidening optional See . - #pitch + #pitch permitted - #presentation-audio + #presentation-audio permitted - #processorProfiles + #processorProfiles optional See . - #processorProfiles-combined + #processorProfiles-combined optional See . - #profile + #profile partially permitted See . - #profile-full-version-2 + #profile-full-version-2 partially permitted See . - #profile-version-2 + #profile-version-2 partially permitted See . - #resources + #resources permitted - #set + #set permitted - #set-fill + #set-fill permitted - #set-multiple-styles + #set-multiple-styles permitted - #source + #source permitted - #speak + #speak permitted - #speech + #speech permitted - #structure + #structure required - #styling + #styling permitted - #styling-chained + #styling-chained permitted - #styling-inheritance-content + #styling-inheritance-content permitted - #styling-inline + #styling-inline permitted - #styling-referential + #styling-referential permitted - #subFrameRate + #subFrameRate prohibited - #tickRate + #tickRate permitted See [[[#ttp-tickrate]]]. - #time-clock + #time-clock permitted - #time-clock-with-frames + #time-clock-with-frames prohibited - #time-offset-with-frames + #time-offset-with-frames permitted See [[[#ttp-framerate]]]. - #time-offset-with-ticks + #time-offset-with-ticks permitted See [[[#ttp-tickrate]]]. - #time-offset + #time-offset permitted - #time-wall-clock + #time-wall-clock prohibited - #timeBase-clock + #timeBase-clock prohibited - #timeBase-media + #timeBase-media required

See [[[#ttp-timebase]]].

@@ -3481,29 +3488,49 @@

Disposition of Features and Extensions

- #timeBase-smpte + #timeBase-smpte prohibited - #timeContainer + #timeContainer prohibited See [[[#timecontainer]]]. - #timing + #timing permitted See [[[#time-expressions]]]. - #transformation + #transformation permitted See constraints at #profile. - Relative to the DAPT Extension namespace + #unicodeBidi + permitted + + + + #unicodeBidi-isolate + permitted + + + + #unicodeBidi-version-2 + permitted + + + + #xlink + permitted + + + + Relative to the DAPT Extension namespace #agent @@ -3537,12 +3564,14 @@

Disposition of Features and Extensions

#profile-root prohibited - This is the profile expression of . + This is the profile expression of the prohibition of + the ttp:profile attribute on the <tt> element + as specified in . #represents - permitted + required This is the profile expression of Represents as applied to Script Event. diff --git a/profiles/dapt-content-profile.xml b/profiles/dapt-content-profile.xml index 15146f1..10f16ae 100644 --- a/profiles/dapt-content-profile.xml +++ b/profiles/dapt-content-profile.xml @@ -56,6 +56,7 @@ #time-offset-with-frames #time-offset-with-ticks #timing + #transformation #unicodeBidi #unicodeBidi-isolate #unicodeBidi-version-2