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)

x86
All
defect

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.
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 ?
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). 
This should work. Replaced elements are just like oddly shaped characters.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: css1
agree. it should work according to spec.
and IE works for this. 
Keywords: testcase
Whiteboard: [CSS1-5.4.6]
happens on winXP too.
OS: Linux → All
Priority: -- → P3
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
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.

Attachment

General

Created:
Updated:
Size: