[Webkit-unassigned] [Bug 144581] New: [CSS Grid Layout] min-content row does not always shrink

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 4 09:42:14 PDT 2015


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

            Bug ID: 144581
           Summary: [CSS Grid Layout] min-content row does not always
                    shrink
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfernandez at igalia.com

Example URL:
http://www.scirra.com/labs/bugs/gridmincontent.html

Steps to reproduce the problem:
1. Visit the given URL
2. Click "Make 250px wide". Notice that since the width is now smaller, the text flows down further and makes the grid row taller.
3. Click "Make 500px wide", which restores the original width. Notice the grid height does not shrink back down to min-content: it stays the same height.
4. Click "Force reflow", which detaches then reinserts the grid to the DOM. It restores the correct height.

What is the expected behavior?
The grid should look the same on startup and after clicking both "Make 250px wide" and "Make 500px wide". Instead, it is too tall.

What went wrong?
After setting the width back to 500px, the grid should shrink the height back to min-content. Instead it stays the same height.

-- 
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/20150504/55711151/attachment.html>


More information about the webkit-unassigned mailing list