[Bug 22029] New: <track> Overlapping avoidance for non-snapToLines cue is underspecced

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

            Bug ID: 22029
           Summary: <track> Overlapping avoidance for non-snapToLines cue
                    is underspecced
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: jer.noble@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

5.2.1.10.14.<non snapToLines condition>.4 states:

"If there is a position to which the boxes in boxes can be moved while
maintaining the relative positions of the boxes in boxes to each other such
that none of the boxes in boxes would overlap any of the boxes in output, and
all the boxes in output would be within the video's rendering area,..."

The "if there is" clause does a lot of heavy lifting here. This implies the UA
has to solve a difficult fitting problem without providing an algorithm to do
so.

"then move the boxes in boxes to the closest such position to their current
position, and then jump to the step labeled done positioning below. If there
are multiple such positions that are equidistant from their current position,
use the highest one amongst them; if there are several at that height, then use
the leftmost one amongst them."

This clause implies that, not only must the UA find one solution to the fitting
problem, but many-or-all possible solutions, and score them.

Without an actual algorithm describing this behavior, this section is basically
unimplementable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 14 May 2013 16:05:14 UTC