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

Constrain applicability of certain style properties to ruby container spans #156

Closed
palemieux opened this issue Jul 11, 2019 · 2 comments · Fixed by #157
Closed

Constrain applicability of certain style properties to ruby container spans #156

palemieux opened this issue Jul 11, 2019 · 2 comments · Fixed by #157
Assignees
Milestone

Comments

@palemieux
Copy link
Contributor

palemieux commented Jul 11, 2019

The following character-based style properties should not apply to any ruby container spans:

  • color
  • textCombine
  • textDecoration
  • textEmphasis
  • textOutline
  • textShadow

See w3c/ttml2#1043

@palemieux palemieux added the bug label Jul 11, 2019
@palemieux palemieux self-assigned this Jul 11, 2019
@palemieux palemieux added this to the 1.1 milestone Jul 11, 2019
@palemieux
Copy link
Contributor Author

In addition, the applicability code at

if (qnameb === imscStyles.byName.rubyAlign.qname) {
is broken since rubyAlign should be removed from elements beyond ruby container spans.

@palemieux palemieux changed the title Constrained applicability of certain style properties to ruby container spans Constrain applicability of certain style properties to ruby container spans Jul 13, 2019
@palemieux
Copy link
Contributor Author

The following does not prune text nodes from ruby container spans:

} else if (estack[0] instanceof Span || estack[0] instanceof P) {

palemieux added a commit that referenced this issue Jul 15, 2019
palemieux added a commit that referenced this issue Jul 17, 2019
… container spans (#156)

* Prune ruby container spans text nodes (#156)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant