[webkit-dev] Adding ENABLE_FLEXBOX to WebCore

Sam Weinig weinig at apple.com
Thu Jun 9 13:19:53 PDT 2011

Why should we implement this spec? We already have one flex box implementation that we can never remove (and corresponds closely to Firefox's) so it seems to me that we should work on standardizing that model. Adding a large bunch of code that duplicates existing functionality seems foolish.

If the issue is the syntax for describing flexing, perhaps the spec should be written in a backwards compatible way, that supports both the new syntax and the old syntax, but the underlying implementation can remain.


On Jun 8, 2011, at 10:57 AM, Tony Chang wrote:

> Hi webkit-dev,
> I wanted to let you know that Ojan and I plan to add flexbox layout support to WebCore.  WebCore already supports an older flexbox implementation (display: box), but the new spec is designed to be easier for developers to understand and more powerful.  The old flexbox will still remain in WebCore since none of the CSS properties overlap with the new flexbox spec.  The spec can be found at: http://www.w3.org/TR/css3-flexbox/ (http://dev.w3.org/csswg/css3-flexbox/)
> This support will be behind the ENABLE_FLEXBOX feature define (https://bugs.webkit.org/show_bug.cgi?id=62049) and there is a meta bug tracking the feature's development (https://bugs.webkit.org/show_bug.cgi?id=62048).  I expect this feature to eventually be enabled by all ports.
> I am ready to setup a buildbot for tracking the compile and flexbox related layout tests.  Should I go ahead and get this added to build.webkit.org's waterfall?
> Thanks,
> Tony
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110609/81e8a824/attachment.html>

More information about the webkit-dev mailing list