mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-19 16:47:01 +03:00
e9df8fb10c
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