You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question is, what is the intended behaviour here regarding visibility (or, being active) of the instance of myregion bound to p1 p element?
Spec (I'm using the one from https://www.w3.org/TR/ttml2/ ) says
A region satisfies the whenActive case if (1) it is a temporally active region and (2) content is selected into the region, where that content is also temporally active.
The spec also says
if the value is whenActive, then the background color of a region is rendered only when some content is flowed into the region.
Now, because there are no begin nor end attributes for p1, then does it say that instance of region bound to p1 always satisfies (1)? And is it true that it satisfies also (2) (which is equivalent to "content flowing into region" I guess?) if and only if s1 is between its begin and end attributes' values? So that, as a result, region from p1 should be visible if and only if the "1" from s1 element is visible?
I'm uncertain about satisfying point (2) above, because there is no region bound to s1 (or if there is an implicit one, then how does it relate to p1's ?).
The text was updated successfully, but these errors were encountered:
pkajdas
changed the title
Question for region visibility
Question for region visibility with whenActiveOct 25, 2017
Hi @pkajdas the answer here is that the p1<p>'s computed begin and end times are determined in this example by its child(ren), i.e. it is active from 0.120 seconds to 1.880 seconds. This comes from the SMIL definitions, which admittedly can be a little hard to follow.
The result of this is that content is only flowed into the myregion region for the time when the descendant <span> (s1) is active, and for all other times the region background is not visible.
One resource that goes through some examples of computed element times is EBU-TT Live, Tech3370 (PDF) - see Annex B. It is a constrained profile of TTML, for existence it only uses par time containers and not seq ones, but it could be helpful for you.
If this answers your question please could you close the issue?
Hi!
I'm sorry if that is a lame question, I've started fiddling with TTML not that long ago.
And to the crux of the matter, let's consider such example:
The question is, what is the intended behaviour here regarding visibility (or, being active) of the instance of
myregion
bound top1
p element?Spec (I'm using the one from https://www.w3.org/TR/ttml2/ ) says
The spec also says
Now, because there are no
begin
norend
attributes forp1
, then does it say that instance of region bound top1
always satisfies (1)? And is it true that it satisfies also (2) (which is equivalent to "content flowing into region" I guess?) if and only ifs1
is between itsbegin
andend
attributes' values? So that, as a result, region fromp1
should be visible if and only if the "1" froms1
element is visible?I'm uncertain about satisfying point (2) above, because there is no region bound to
s1
(or if there is an implicit one, then how does it relate top1
's ?).The text was updated successfully, but these errors were encountered: