vttPositionAlign.vtt (3280B)
1 WEBVTT 2 3 00:00.000 --> 00:00.500 4 Cue 0 : PositionAlign should be "auto". 5 6 00:00.700 --> 00:00.800 position:50%,line-left 7 Cue 1 : PositionAlign should be "line-left". 8 9 00:00.700 --> 00:00.800 position:50%,center 10 Cue 2 : PositionAlign should be "center". 11 12 00:00.700 --> 00:00.800 position:50%,line-right 13 Cue 3 : PositionAlign should be "line-right". 14 15 00:00.700 --> 00:00.800 position:50%,auto 16 Cue 4 : PositionAlign should be "auto" 17 18 00:00.700 --> 00:00.800 position:50%,auto align:left 19 Cue 5 : PositionAlign should be "auto", but computedPositionAlign should be "line-left". 20 21 00:00.700 --> 00:00.800 position:50%,auto align:right 22 Cue 6 : PositionAlign should be "auto", but computedPositionAlign should be "line-right". 23 24 00:00.700 --> 00:00.800 position:50%,auto align:middle 25 Cue 7 : PositionAlign should be "auto", but computedPositionAlign should be "center". 26 27 NOTE ### These following cues are set with `align:start` ### 28 29 00:00.700 --> 00:00.800 align:start 30 LTR character in the beginning and align is "start", so computedPositionAlign should be "line-left". 31 32 00:00.700 --> 00:00.800 align:start 33 שלום RTL character in the beginning and align is "start", so computedPositionAlign should be "line-right". 34 35 00:00.700 --> 00:00.800 align:start 36 @ neutral charater in the beginning, but the first strong charater is LTR in "align:start". So computedPositionAlign should be "line-left". 37 38 00:00.700 --> 00:00.800 align:start 39 @ש neutral charater in the beginning, but the first strong charater is RTL in "align:start". So computedPositionAlign should be "line-right". 40 41 NOTE 42 This line contains only neutral charater, we would treat its base direction as 43 LTR. However, if there are other following lines contains non-neutral 44 charaters, we would detemine the base direction by the following line. 45 46 00:00.700 --> 00:00.800 align:start 47 @ 48 49 00:00.700 --> 00:00.800 align:start 50 @ 51 The second line starts with LTR charater, computedPositionAlign should be "line-left". 52 53 00:00.700 --> 00:00.800 align:start 54 @ 55 שThe second line starts with RTL charater, computedPositionAlign should be "line-right". 56 57 NOTE ### These following cues are set with `align:end` ### 58 59 00:00.700 --> 00:00.800 align:end 60 LTR character in the beginning and align is "end", so computedPositionAlign should be "line-right". 61 62 00:00.700 --> 00:00.800 align:end 63 ש RTL character in the beginning and align is "end", so computedPositionAlign should be "line-left". 64 65 00:00.700 --> 00:00.800 align:end 66 @ neutral charater in the beginning, but the first strong charater is LTR in "align:end". So computedPositionAlign should be "line-right". 67 68 00:00.700 --> 00:00.800 align:end 69 @ש neutral charater in the beginning, but the first strong charater is RTL in "align:end". So computedPositionAlign should be "line-left". 70 71 NOTE 72 This line contains only neutral charater, we would treat its base direction as 73 LTR. However, if there are other following lines contains non-neutral 74 charaters, we would detemine the base direction by the following line. 75 76 00:00.700 --> 00:00.800 align:end 77 @ 78 79 00:00.700 --> 00:00.800 align:end 80 @ 81 The second line starts with LTR charater, computedPositionAlign should be "line-right". 82 83 00:00.700 --> 00:00.800 align:end 84 @ 85 שThe second line starts with RTL charater, computedPositionAlign should be "line-left". 86