Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify LWSP in color expressions #323

Merged
merged 2 commits into from
Jan 23, 2018
Merged
Changes from 1 commit
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
10 changes: 8 additions & 2 deletions spec/ttml1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6203,8 +6203,8 @@ defined by <bibref ref="srgb"/>.</p>
&lt;color&gt;
: "#" rrggbb
| "#" rrggbbaa
| "rgb" "(" r-value "," g-value "," b-value ")"
| "rgba" "(" r-value "," g-value "," b-value "," a-value ")"
| "rgb(" r-value "," g-value "," b-value ")"
| "rgba(" r-value "," g-value "," b-value "," a-value ")"
| <loc href="#style-value-namedColor">&lt;namedColor&gt;</loc>

rrggbb
Expand All @@ -6226,6 +6226,12 @@ non-negative-integer
</tr>
</tbody>
</table>
<note role="clarification">
<p>While permitted, the use of linear whitespace (LWSP) around the comma delimiters in
<code>&lt;color&gt;</code> expressions is not recommended. The rationale for this recommendation
is that some existing processors may not be tolerant of this usage.
</p>
</note>
<p>When expressing RGB component values, these values are considered
to <phrase role="strong">not</phrase> be premultiplied by alpha.</p>
<p>For the purpose of performing presentation processing such that
Expand Down