Skip to content

Commit

Permalink
Merge pull request #394 from w3c/issue-0134-backgroundColor-and-borde…
Browse files Browse the repository at this point in the history
…r-examples

Fix #134 by changing examples
  • Loading branch information
skynavga committed Jun 17, 2017
2 parents a13cb6f + 76422b9 commit 9be28a8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
Binary file modified spec/images/backgroundColor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified spec/images/border.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 2 additions & 7 deletions spec/ttml2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7948,11 +7948,6 @@ that defined by <bibref ref="css3-bb"/>, &sect; 3.7.</p>
<p>The <att>tts:backgroundColor</att> attribute is used to specify a style property that
defines the background color of a region or an area generated by content flowed into a region.</p>
<p></p>
<issue id="issue-ttml2-134">
<head>Paragraph Background Width</head>
<source><loc href="https://github.com/w3c/ttml2/issues/134">https://github.com/w3c/ttml2/issues/134</loc></source>
<p>Improve specificity of background color width determination.</p>
</issue>
<p>This attribute may be specified by any
element type
that permits use of attributes in the TT Style Namespace; however, this attribute applies
Expand Down Expand Up @@ -8011,7 +8006,7 @@ span.</p>
&lt;style <phrase role="strong">tts:backgroundColor="red"</phrase>/&gt;
&lt;style tts:color="white"/&gt;
&lt;style tts:displayAlign="after"/&gt;
&lt;style tts:padding="3px 40px"/&gt;
&lt;style tts:padding="3px 30px"/&gt;
&lt;/region&gt;
...
&lt;p region="r1" <phrase role="strong">tts:backgroundColor="purple"</phrase> tts:textAlign="center"&gt;
Expand Down Expand Up @@ -8599,7 +8594,7 @@ is minimized.</p>
&lt;style <phrase role="strong">tts:border="2px solid red"</phrase>/&gt;
&lt;style tts:color="white"/&gt;
&lt;style tts:displayAlign="center"/&gt;
&lt;style tts:padding="3px 40px"/&gt;
&lt;style tts:padding="3px 30px"/&gt;
&lt;/region&gt;
...
&lt;p region="r1" <phrase role="strong">tts:border="4px solid green"</phrase> tts:textAlign="center"&gt;
Expand Down

0 comments on commit 9be28a8

Please sign in to comment.