<!DOCTYPE html>
<title>Cue text position from settings</title>
<script src="track-helpers.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
check_cues_from_track("resources/positioning.vtt", testTrack);
check_cues_from_track("resources/positioning-ltr.vtt", testTrack);

check_cues_from_track("resources/positioning-bad.vtt", function(track) {
    var expected = [
        { position: "auto" },
        { position: "auto" },
        