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

position003.ttml uses height-relative units for horizontal lengths, and vice-versa #95

Open
palemieux opened this issue Oct 25, 2020 · 3 comments
Assignees
Labels

Comments

@palemieux
Copy link
Contributor

palemieux commented Oct 25, 2020

<region style="s1" xml:id="r19" tts:extent="60rw 20rh" tts:position="left 25rw" />

<region style="s1" xml:id="r6" tts:extent="60rw 20rh" tts:position="25rh" />

<region style="s1" xml:id="r23" tts:extent="60rw 20rh" tts:position="right 25rw" />

@palemieux palemieux added the bug label Oct 25, 2020
@palemieux palemieux self-assigned this Oct 25, 2020
palemieux added a commit to sandflow/imsc-tests that referenced this issue Oct 25, 2020
@nigelmegitt
Copy link
Contributor

@palemieux I think those tests are valid as is; it is permitted to do this. Is the problem here that there are no similar tests where height relative units are used for vertical positions and width relative units are used for horizontal positions? Perhaps it makes sense to add a test for that case rather than change this one.

@palemieux
Copy link
Contributor Author

@nigelmegitt IMSC 1.1, 7.2.9 prohibits rh in horizontal length components, and rw in vertical length components.

@nigelmegitt
Copy link
Contributor

Ah, thanks for that @palemieux , distant bells are ringing in my memory about discussing this. I agree this test is broken and that the h/v length units are the wrong way around. Sorry for the mistake before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants