[Webkit-unassigned] [Bug 47148] CSS 2.1 failure: abspos-non-replaced-width-margin-000, abspos-replaced-width-margin-000

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 30 11:00:02 PDT 2011


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


Robert Hogan <robert at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|19124                       |




--- Comment #7 from Robert Hogan <robert at webkit.org>  2011-07-30 11:00:02 PST ---
The code asks the question:

    // QUESTIONS
    // FIXME 1: Which RenderObject's 'direction' property should used: the
    // containing block (cb) as the spec seems to imply, the parent (parent()) as
    // was previously done in calculating the static distances, or ourself, which
    // was also previously done for deciding what to override when you had
    // over-constrained margins?  Also note that the container block is used
    // in similar situations in other parts of the RenderBox class (see computeLogicalWidth()
    // and computeMarginsInContainingBlockInlineDirection()). For now we are using the parent for quirks
    // mode and the containing block for strict mode.

When calculating the static distance for non-replaced elements in computeInlineStaticDistance() the answer seems to be the parent() - that allows abspos-non-replaced-width-margin-000.htm to pass. It also improves the result for abspos-non-replaced-width-margin-000.htm, but there is still a problem with one or cases there.

-- 
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