[Webkit-unassigned] [Bug 105569] New: WebVTT line breaks should try to make lines close to the same size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 12:42:36 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105569

           Summary: WebVTT line breaks should try to make lines close to
                    the same size
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dino at apple.com
                CC: eric.carlson at apple.com, dino at apple.com,
                    webkit-bug-importer at group.apple.com,
                    silviapf at chromium.org
        Depends on: 105496


>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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list