[Webkit-unassigned] [Bug 99442] New: Incorrect preferred width calculation for Inline objects in RenderBlock.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 16 02:36:30 PDT 2012


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

           Summary: Incorrect preferred width calculation for Inline
                    objects in RenderBlock.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: arpitabahuguna at gmail.com


For scenarios such as:
1. InlineReplaced object followed by a Text object (wrapped in an InlineFlow object)
2. Text (wrapped in InlineFlow) followed by InlineReplaced objects
our preferred logical width is not being computed correctly (in a RenderBlock).

Uploading three test pages containing various scenarios that highlight the inconsistency in our block width's calculation.

1. InlineReplaced-Text.html - This contains various combinations for InlineReplaced objects followed by text objects (wrapped in InlineFlow).

2. Text-InlineReplaced.html - This is for Text objects followed by InlineReplaced objects and their various combinations.

3. InlineReplaced-InlineReplaced.html - For cases where InlineReplaced objects (wrapped in InlineFlow) are followed by other InlineReplaced objects.


FF handles most of these cases correctly, except for:

1. InlineReplaced followed by InlineReplaced wrapped in InlineFlow object.
2. Text wrapped in InlineFlow followed by InlineReplaced also wrapped in InlineFlow.
3. InlineReplaced (wrapped in InlineFlow) followed by Text.

Also, see https://bugs.webkit.org/show_bug.cgi?id=99194#c3 and https://bugs.webkit.org/show_bug.cgi?id=99194#c4.

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