Summary: | Can't justify content when only child of flex container is a text node | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric <ericbidelman> | ||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED WORKSFORME | ||||||
Severity: | Normal | CC: | ojan, tony | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Bug Depends on: | 88443 | ||||||
Bug Blocks: | 62048 | ||||||
Attachments: |
|
Description
Eric
2012-06-05 20:34:54 PDT
Created attachment 145921 [details]
test case
Looks like it might have been a renaming regression as well. Changing the test-case to the old names makes the text center on Chrome 21.0.1155.2 (Official Build 139341) dev. Ah, this is because of the change in the initial value of flex. Since the initial value is 1, the text stretches to take all the space and there's no room for justify-content. This was brought up on the spec mailing list as to why we shouldn't have flexing by default. |