[Webkit-unassigned] [Bug 53515] New: zeroing box-flex value after document load causes content to stay unexpectedly wide

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 11:51:31 PST 2011


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

           Summary: zeroing box-flex value after document load causes
                    content to stay unexpectedly wide
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ath at google.com


Created an attachment (id=80798)
 --> (https://bugs.webkit.org/attachment.cgi?id=80798&action=review)
CSS test case

tested on WebKit version: 534.17+

Setting an element's box-flex value to zero after a document has already loaded does not shrink the element to size as expected.  Instead, the element retains its former flexed size while neighboring elements are pushed beyond their parent container's bounds.

Having an element with an initial box-flex of zero does behave correctly, as does modifying an element's box-flex value immediately following document load.  The problem only manifests when JavaScript modifies the value some time after the document has loaded using an event handler.

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