- From: Kari Pihkala <kpihkala@cc.hut.fi>
- Date: Tue, 2 Oct 2001 11:27:39 +0300 (EET DST)
- To: www-smil@w3.org
Hi, I have a question about timing and hyperlinking. There is one example in the spec, which seems to contradict with the normative rules. In chapter Hyperlinks and timing http://www.w3.org/TR/2001/REC-smil20-20010807/smil-timing.html#Timing-HyperlinksAndTiming it says: -.-.-.-.-.-.-.-.-.- This section is informative These hyperlinking semantics assume that a record is kept of the resolved begin time for all elements, and this record is available to be used for determining the correct presentation time to seek to. For example: <html ...> ... <par begin="0"> <img id="A" begin="10s" .../> <img id="B" begin="A.begin+5s" .../> <img id="C" begin="B.click" .../> <img id="D" begin="C.begin+5s" .../> ... <a href="#D">Begin image D</a> </par> ... </html> The begin of elements C and D are unresolved when the document starts. Therefore activating the hyperlink will have no effect upon the presentation time or upon elements C and D. -.-.-.-.-.-.-.-.-.- So, clicking the hyperlink will not start C or D. But above that, the spec says: -.-.-.-.-.-.-.-.-.- Else (if the begin time is not resolved), just resolve the element begin time at the current time on its parent time container (given the current document position). Disregard the sync-base or event base of the element, and do not "back-propagate" any timing logic to resolve the element, but rather treat it as though it were defined with begin="indefinite" and just resolve begin time to the current parent time. This should create an interval and propagate to time dependents. -.-.-.-.-.-.-.-.-.- So, I would assume that element D will start when the hyperlink is activated. Have I misunderstood something? - Kari Pihkala
Received on Tuesday, 2 October 2001 04:27:41 UTC