-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added nested and referential styling priority test (#93)
- Loading branch information
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
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,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> |