-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(text): Inherit alignment from regions.
The recent changes to TTML parsing, to not inherit regions, inadvertently ended up breaking text alignment in situations where a region with alignment was on the p or div above a span. Previously, we only inherited the text and display alignment from a region on leaf nodes... which was a problem, since we also didn't apply any styles to text nodes. Change-Id: I62ac155bc4310a5f7da52c10ca2dd434f8015c97
- Loading branch information
Showing
2 changed files
with
40 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters