Closed
Bug 182649
Opened 22 years ago
Closed 18 years ago
text-align: justify does not work for all-image paragraphs
Categories
(Core :: Layout: Block and Inline, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Jos.vandenOever, Unassigned)
Details
(Keywords: css1, testcase, Whiteboard: [CSS1-5.4.6])
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021126 A paragraph with only images and the attribute text-align: justify does not display the right-most image per line completely to the right. Reproducible: Always Steps to Reproduce: 1.see attachement 2. 3.
Reporter | ||
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Well, they don't call it text-align for nothing :-) http://www.w3.org/TR/REC-CSS2/text.html#propdef-text-align only speaks about text. While it would be nice to fix this, it's not a requirement (the justification-algorithm is browser-dependent). Are there other pages that want to align images like this ?
Reporter | ||
Comment 3•22 years ago
|
||
I do not know any pages that do this. Probably because it doesn't work. :-) The spec says: This property describes how inline content of a block is aligned. So it's not only about text. The spec says that a justification is browser dependant. But only in the sense that justify may be interpreted as left or right. Since justify is implemented for text, it would be nice if other inline elements would be justified too. This is a lovely way of having image galleries that adjust to the width of the browser window. (using inline-table for that would be even better, since it would allow for captions above or below the picture).
Comment 4•22 years ago
|
||
This should work. Replaced elements are just like oddly shaped characters.
Comment 7•20 years ago
|
||
Comment 8•20 years ago
|
||
This CSS 1.0 feature still does not work. The original attachment is broken due to old age ;-) so I Created an attachment (id=184080) Perhaps this will put this bug back on someone's radar. Gus
Comment 9•18 years ago
|
||
Works for me in Fx 2.0 and trunk; marking such.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•