-
Notifications
You must be signed in to change notification settings - Fork 12
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
Improve overflow example #328
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please could you add a validating step to build.xml
to check the new example XML file?
Also requesting a colour change and less importantly a change to make the application of styles consistent.
spec/examples/ex4-overflow.xml
Outdated
<head> | ||
<styling> | ||
<style xml:id="s1" tts:backgroundColor="black" tts:wrapOption="noWrap" tts:padding="6px"/> | ||
<style xml:id="s2" tts:color="red" tts:backgroundColor="purple" tts:fontFamily="proportionalSansSerif" tts:fontSize="10px"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm finding the colour contrast between the purple and the red really horrible (and the luminance contrast is very low too) - please could you change one of them, e.g. change the purple to grey?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grey does not provide sufficient contrast with the background. Please pick another color.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
White?
spec/examples/ex4-overflow.xml
Outdated
<tt xmlns="http://www.w3.org/ns/ttml" xmlns:tts="http://www.w3.org/ns/ttml#styling" xml:lang="en" tts:extent="320px 240px"> | ||
<head> | ||
<styling> | ||
<style xml:id="s1" tts:backgroundColor="black" tts:wrapOption="noWrap" tts:padding="6px"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why put tts:wrapOption
in the region style? It seems inconsistent to do this but put tts:fontFamily
and tts:fontSize
in the p style - those three should probably all go on the same style, I don't mind which one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one more fix to make.
spec/build.xml
Outdated
<include name="ex4-overflow.xml"/> | ||
</fileset> | ||
</schemavalidate> | ||
</target> | ||
|
||
<target name="validate-examples" | ||
depends="validate-example-1, validate-example-2, validate-example-3"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to add validate-example-4
to the dependencies here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(also, separately, I see that the build
target does not call validate
first, which it should)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Closes #320