commit | 6aaef9abdac4d4a95365d5cc3d8a9fdee27d7201 | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com> | Fri Jan 16 21:51:49 2015 |
committer | fs@opera.com <fs@opera.com> | Fri Jan 16 21:51:49 2015 |
tree | 3e21539745db76eb57a95c4bd1da3ee1360f0813 | |
parent | 281df26d494e670740f59bd452eda431467f08a8 [diff] |
VTTCue: Simplify computation of direction-aware text position Add a helper resolveCueAlignment to resolve 'start' and 'end' to the corresponding "visual" value, and also compute the visual text position once. BUG=448000 Review URL: https://codereview.chromium.org/852233002 git-svn-id: svn://svn.chromium.org/blink/trunk@188545 bbb929c8-8fbe-4397-9dbb-9b2b20218538