[Webkit-unassigned] [Bug 105512] Avoid a second layout of flex items in computeMainAxisPreferredSizes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 20 11:56:33 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=105512
--- Comment #3 from Tony Chang <tony at chromium.org> 2012-12-20 11:58:47 PST ---
Here's an example:
http://plexode.com/eval3/#ht=%3Cdiv%20id%3D%22container%22%20style%3D%22height%3A%20200px%22%3E%0A%3Cdiv%20style%3D%22display%3A-webkit-flex%3B%20-webkit-flex-flow%3A%20column%3B%20height%3A%20100%25%22%3E%0A%20%20%3Cdiv%20id%3D%22a%22%20style%3D%22-webkit-flex%3A%201%20auto%3B%20background-color%3A%20pink%3B%22%3Ea%3C%2Fdiv%3E%0A%20%20%3Cdiv%20id%3Db%20style%3D%22-webkit-flex%3A%201%2050px%3B%20background-color%3A%20lime%3B%22%3Eb%3C%2Fdiv%3E%0A%3C%2Fdiv%3E%0A%3C%2Fdiv%3E&ohj=0&jt=container.style.height%20%3D%20%22100px%22%0AgetComputedStyle(a).height%20%2B%20%22%2C%22%20%2B%20getComputedStyle(b).height&ojh=0&ojj=0
Press the "eval JS now" button. It reduces the height of the container, but we don't relayout the flex children, so they stay the same size.
--
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