mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
119f85db3a
According to the spec [1] 7.2.10.2, we should use the first line box's height or width as positioning unit to adjust box's position. We will also use this value to adjust box when `snap-to-line` is false. There, we implement a new chrome-only API to acquire this information, which would return the first line box's size in the `block` frame. [1] https://www.w3.org/TR/webvtt1/#ref-for-webvtt-cue-snap-to-lines-flag-12 Differential Revision: https://phabricator.services.mozilla.com/D29745 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
components.conf | ||
moz.build | ||
nsIWebVTTListener.idl | ||
nsIWebVTTParserWrapper.idl | ||
package.json | ||
update-webvtt.js | ||
vtt.jsm | ||
WebVTTParserWrapper.jsm |