[Webkit-unassigned] [Bug 72318] New: Test getting / setting display: -webkit-flexbox and -webkit-flexbox-inline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 14 15:19:49 PST 2011


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

           Summary: Test getting / setting display: -webkit-flexbox and
                    -webkit-flexbox-inline
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jchaffraix at webkit.org
                CC: tony at chromium.org, ojan at chromium.org


The fix for bug 72296 did not see that -wap-marquee did impact querying back the display property for -webkit-flexbox and -webkit-flexbox-inline. This is because of the current code is using:

template<> inline CSSPrimitiveValue::operator EDisplay() const
{
    if (m_value.ident == CSSValueNone)
        return NONE;
    return static_cast<EDisplay>(m_value.ident - CSSValueInline);
}

Because of -wap-marquee, m_value.ident would be one off for any display property after it!

Patch forthcoming to add the missing testing.

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