-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clarify fillLineGap semantics when applied to successive p elements (#…
…263)
- Loading branch information
Showing
3 changed files
with
58 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<tt xmlns="http://www.w3.org/ns/ttml" | ||
xmlns:ttp="http://www.w3.org/ns/ttml#parameter" | ||
xmlns:tts="http://www.w3.org/ns/ttml#styling" | ||
xmlns:itts="http://www.w3.org/ns/ttml/profile/imsc1#styling" | ||
ttp:timeBase="media" | ||
xml:lang="en" | ||
ttp:cellResolution="50 30" | ||
ttp:profile="http://www.w3.org/ns/ttml/profile/imsc1/text"> | ||
<head> | ||
<styling> | ||
<style xml:id="spanStyle" tts:color="#ffffff" tts:backgroundColor="#000000" /> | ||
<style xml:id="paragraphStyleNoGap" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%" tts:lineHeight="165%" itts:fillLineGap="true"/> | ||
<style xml:id="paragraphStyle" tts:fontFamily="monospaceSerif" tts:textAlign="center" tts:fontSize="200%" tts:lineHeight="165%" itts:fillLineGap="false"/> | ||
|
||
</styling> | ||
<layout> | ||
<region xml:id="bottom" tts:origin="10% 10%" tts:extent="80% 80%" tts:displayAlign="after" /> | ||
<region xml:id="top" tts:origin="10% 10%" tts:extent="80% 80%" tts:displayAlign="before" /> | ||
|
||
</layout> | ||
</head> | ||
<body> | ||
<div region="bottom" begin="00:00:00.000" end="00:00:30.000"> | ||
<p xml:id="subtitle1" style="paragraphStyle"> | ||
<span style="spanStyle">Paragraph 1</span> | ||
</p> | ||
<p xml:id="subtitle1" style="paragraphStyle"> | ||
<span style="spanStyle">Paragraph 2</span> | ||
</p> | ||
</div> | ||
<div region="top" begin="00:00:00.000" end="00:00:30.000"> | ||
<p xml:id="subtitle1" style="paragraphStyleNoGap"> | ||
<span style="spanStyle">Paragraph 1</span> | ||
</p> | ||
<p xml:id="subtitle1" style="paragraphStyleNoGap"> | ||
<span style="spanStyle">Paragraph 2</span> | ||
</p> | ||
</div> | ||
</body> | ||
</tt> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters