Summary: | Implement flex-pack:distribute | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ojan Vafai <ojan> | ||||||
Component: | New Bugs | Assignee: | Ojan Vafai <ojan> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | eoconnor, macpherson, tony, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 62048 | ||||||||
Attachments: |
|
Description
Ojan Vafai
2012-01-23 14:43:27 PST
Created attachment 123626 [details]
Patch
Comment on attachment 123626 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=123626&action=review > Source/WebCore/ChangeLog:8 > + No new tests. (OOPS!) You'll need to fix this. It would also be nice to provide a link to the spec. > Source/WebCore/rendering/RenderFlexibleBox.cpp:584 > + if (flexPack == PackDistribute) > + return availableFreeSpace / (2 * numberOfChildren); What happens if we have 0 children? Can we add a test case for that? Created attachment 123637 [details]
Patch
Comment on attachment 123637 [details] Patch Clearing flags on attachment: 123637 Committed r105694: <http://trac.webkit.org/changeset/105694> All reviewed patches have been landed. Closing bug. |