NEW 105569
WebVTT line breaks should try to make lines close to the same size
https://bugs.webkit.org/show_bug.cgi?id=105569
Summary WebVTT line breaks should try to make lines close to the same size
Dean Jackson
Reported 2012-12-20 12:44:50 PST
From the WebVTT spec: "Regardless of the value of the 'white-space' property, any line breaks inserted by the user agent for the purposes of line wrapping must be placed so as to minimize Δ across each run of consecutive lines between preserved newlines in the source. Δ for a set of lines is defined as the sum over each line of the absolute of the difference between the line's length and the mean line length of the set." e.g. avoid this: Hello World How Are You
Attachments
Radar WebKit Bug Importer
Comment 1 2012-12-20 12:45:23 PST
Dean Jackson
Comment 2 2012-12-20 12:46:18 PST
The obvious solution is: Hello World How Are You Kidding!
Ian 'Hixie' Hickson
Comment 3 2012-12-20 12:47:35 PST
Or: |ello World How Are Yo| :-)
Note You need to log in before you can comment on or make changes to this bug.