[Webkit-unassigned] [Bug 78562] RenderBlock::createAnonymousBlockWithSameTypeAs needs to know about the new flexboxes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 18:45:32 PST 2012


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





--- Comment #2 from Ojan Vafai <ojan at chromium.org>  2012-02-13 18:45:32 PST ---
And to round out the trio, RenderObject.h:
    bool isAnonymousBlock() const
    {
        // This function is kept in sync with anonymous block creation conditions in
        // RenderBlock::createAnonymousBlock(). This includes creating an anonymous
        // RenderBlock having a BLOCK or BOX display. Other classes such as RenderTextFragment
        // are not RenderBlocks and will return false. See https://bugs.webkit.org/show_bug.cgi?id=56709. 
        return isAnonymous() && (style()->display() == BLOCK || style()->display() == BOX) && style()->styleType() == NOPSEUDO && isRenderBlock() && !isListMarker()
#if ENABLE(FULLSCREEN_API)
            && !isRenderFullScreen()
            && !isRenderFullScreenPlaceholder()
#endif
            ;
    }

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