[Webkit-unassigned] [Bug 160551] New: Flex box container: some items do not render if added dynamically

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 4 07:58:41 PDT 2016


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

            Bug ID: 160551
           Summary: Flex box container:  some items do not render if added
                    dynamically
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeanfelixg at gmail.com
                CC: simon.fraser at apple.com

Created attachment 285325
  --> https://bugs.webkit.org/attachment.cgi?id=285325&action=review
Sample to reproduce the issue.

Webkit nightly and Safari tech preview both have the issue.

When adding HTML dynamically into a flex box containers, some of the elements are not painted. 
A page resize is needed to reveal all its content.  Mouse hover reveals the underlaying elements.

I extracted a sample from an app im working on...  I used a setTimeout to simulate an XHR request for dynamic HTML content.

So, in the sample, there are flex containers inside other flex container (which have other elements that i removed for brevity) and it adds the dynamic content in "#jsSectionContentsimpleList57a33a09696da". The dynamic content is also a flex box container with both a section (blue) and a footer (green).

Open flex_draw.html from the zip to have a look.


P.S. Chrome, FF, IE11, Edge render it without issue.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160804/0d6c88f4/attachment.html>


More information about the webkit-unassigned mailing list