Open Bug 595479 Opened 14 years ago Updated 2 years ago

moz-box-pack:justify not supported

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: stream, Unassigned)

References

Details

(Keywords: parity-ie, parity-safari, testcase)

Attachments

(1 file)

The value justify is in the documentation, but there is no description about it.
https://developer.mozilla.org/en/CSS/-moz-box-pack
On this demo its not working:
http://peter.sh/examples/?/css/flexbox.html

Its working with latest versions of Chrome and Safari and IE9 PP4
OS: Windows 7 → All
Yeah, it seems that we parse the value but do nothing with it.  That's a layout issue, not a CSS one.
Component: Style System (CSS) → Layout
QA Contact: style-system → layout
I noticed that this doesn't work.

From what I've read of the description it's supposed to not use the whitespace at the beginning and end of child elements being packed, and evenly distribute the whitespace between the child elements.

Something I could see working with navigation menus at the top of pages.
Component: Layout → Layout: Block and Inline
QA Contact: layout → layout.block-and-inline
Hardware: x86 → All
This isn't a block/inline issue.  Please don't randomly move bugs.
Component: Layout: Block and Inline → Layout
QA Contact: layout.block-and-inline → layout
Attached file testcase
Keywords: testcase
I wonder if the layout engine has anything for whitespace between the packed elements.

Because it has whitespace for the start and end of such elements.

When the whitespace between N objects with W whitespace leftover of some unit is something like: W/(N-1)
(In reply to Boris Zbarsky (:bz) from comment #1)
> Yeah, it seems that we parse the value but do nothing with it.  That's a
> layout issue, not a CSS one.

Yup, looks like bug 71471's patch (attachment 44288 [details] [diff] [review], landed back in 2001) added support for parsing it (by putting it in nsCSSProps::kBoxPackKTable[]), but no layout support for it.

Adding dependency on that bug.
Depends on: 71471
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Whiteboard: [parity-webkit][parity-ie]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: