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

Issue 0221 writing mode and direction #338

Merged
merged 6 commits into from
May 29, 2017

Conversation

skynavga
Copy link
Collaborator

Closes #221.

<div4 id="style-attribute-direction-special-semantics">
<head>Special Semantics</head>
<p>When performing style resolution processing (see <specref ref="semantics-style-resolution-processing"/>),
the resolution of the computed value of <att>tts:direction</att> on a <loc href="#layout-vocabulary-region"><el>region</el></loc> element
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

even though it applies to region only, tts:writingMode can be specified on any element, so this should read on an element instead of region element.

@skynavga
Copy link
Collaborator Author

skynavga commented May 26, 2017 via email

@palemieux
Copy link
Contributor

No. See my immediately previous comment. tts:writingMode would be ignore in
that context: it doesn't apply and isn't inherited.

Can you point to the provisions that state this?

@skynavga
Copy link
Collaborator Author

skynavga commented May 26, 2017 via email

@skynavga
Copy link
Collaborator Author

skynavga commented May 26, 2017 via email

@skynavga
Copy link
Collaborator Author

skynavga commented May 26, 2017 via email

@palemieux
Copy link
Contributor

It would definitely be the wrong approach to
call out tts:writingMode specifically in any such language that clarifies
what the negation of "applies to" means.

Yes -- I had actually deleted my comment since addressing #213 might clarify this :)

Regardless of the disposition of #213, it might be safer to extend the special resolution semantics of tts:direction + tts:writingMode to all elements (I do not see how it can hurt).

@skynavga
Copy link
Collaborator Author

skynavga commented May 26, 2017 via email

@palemieux
Copy link
Contributor

ok, i'll consider it and do so if it doesn't conflict with general language
to handle #213

#213 is specifically about "Initial values of non-inheritable styles should not be applied to elements to which the style does not apply."

It did not consider specified but non-applicable and non-inheritable styles.

I would very careful with changing the core style resolution algorithm to ignore specified but non-applicable and non-inheritable styles given the inter-dependencies of some style attributes.

I was happy with this PR, and was just asking to extend the special resolution semantics of tts:direction + tts:writingMode to all elements (I do not see how it can hurt).

@skynavga skynavga merged commit 7b1ac40 into gh-pages May 29, 2017
@skynavga skynavga deleted the issue-0221-writing-mode-and-direction branch August 21, 2017 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants