Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added imsc1/png/Style002/0.000000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions imsc1/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@
"path": "styling/Style001.ttml"
},
{
"path": "styling/Style002.ttml"
},
{
"path": "styling/styleInheritance-001.ttml"
},
{
Expand Down
20 changes: 20 additions & 0 deletions imsc1/ttml/styling/Style002.ttml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en"
xmlns="http://www.w3.org/ns/ttml"
xmlns:tts="http://www.w3.org/ns/ttml#styling"
xmlns:ttp="http://www.w3.org/ns/ttml#parameter"
ttp:contentProfiles="http://www.w3.org/ns/ttml/profile/imsc1/text">
<head>
<styling>
<style xml:id="s1" tts:backgroundColor="blue"/>
</styling>
<layout>
<region xml:id="r1" style="s1">
<style tts:color="red" tts:backgroundColor="yellow"/>
</region>
</layout>
</head>
<body>
<div region="r1"><p>The background should be yellow.</p></div>
</body>
</tt>