mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
ea20eb6bb5
According to the spec 7.2.10 [1], the step13 to step21 (snap-to-line is true) and the step3 to step5 (snap-to-line is false), we need to find the best position where the cue box has least overlap with other cue boxes. In addition, in order not to be affected by CSS transformation, use non-tranformed attribute in `BoxPosition`. [1] https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-12 https://w3c.github.io/webvtt/#ref-for-webvtt-cue-snap-to-lines-flag-13 Differential Revision: https://phabricator.services.mozilla.com/D22578 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
components.conf | ||
moz.build | ||
nsIWebVTTListener.idl | ||
nsIWebVTTParserWrapper.idl | ||
package.json | ||
update-webvtt.js | ||
vtt.jsm | ||
WebVTTParserWrapper.jsm |