ttml - What happens if different region attribute values are specified on parent and child? -
suppose have following ttml document:
<tt xml:lang="en" xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling"> <head> <layout> <region xml:id="a"/> <region xml:id="b"/> </layout> </head> <body> <div region="a"> <p region="b">abc</p> </div> </body> </tt>
according 9.3.2 intermediate synchronic document construction, visual marks produced regions a
, b
?
at first expecting a
produce nothing , b
produce abc, specification seems contradict implying anonymous span abc pruned (directly or indirectly) both when evaluating region a
, b
, seems bit counter-intuitive.
the algorithm prunes content , nothing displayed. captured on w3c ttwg issue tracker in issue-341.
why author document behaviour though - mean, intend happen? under conditions not achieve same thing removing region reference div? ask interest - if there's use case here can use drive spec development in ttml.
Comments
Post a Comment