[Bug 17473] New: Overflowing cues should be clipped, not removed

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17473

           Summary: Overflowing cues should be clipped, not removed
           Product: TextTracks CG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebVTT
        AssignedTo: ian@hixie.ch
        ReportedBy: philipj@opera.com
         QAContact: dave.null@w3.org
                CC: mike@w3.org, public-texttracks@w3.org


Step 10.14 of http://dev.w3.org/html5/webvtt/#webvtt-cue-text-rendering-rules
is:

"Done positioning: If there are any line boxes in the (possibly now
repositioned) boxes that do not completely fit inside video's rendering area,
remove those offending line boxes from boxes."

Rather than trying to remove parts of cues that fall outside of the video
content area, we'd like to apply overflow:hidden to simply clip to the content
area. This is easier to implement and is slightly better: a line overflow by a
single pixel will still be readable. (I bet it would also be easier to do in a
polyfill, FWIW.)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 12 June 2012 15:45:44 UTC