Closed Bug 297628 Opened 20 years ago Closed 20 years ago

align="justify" does not work on last line

Categories

(Firefox :: General, defect)

defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: golam, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8b2) Gecko/20050522 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8b2) Gecko/20050522 Firefox/1.0+

As to W3C align="justify" should mean "text lines are justified to both
margins". (http://www.w3.org/TR/html4/present/graphics.html#h-15.1.2)
However, the last line is aligned to left.
See the testcase.

Reproducible: Always

Steps to Reproduce:
1. Open testcase 
2. Resize browser window
3. Watch the last line

Actual Results:  
The last line aligned to left

Expected Results:  
Elements in the last line should be justified.
Attached file testcase
typo in the topic
Summary: align="justify" dos not work on last line → align="justify" does not work on last line
I think this is INVALID. As far as I can see neither HTML nor CSS (< 3) says
anything about the last line of a justified block. However, the modern Western
typographical convention seems to be that the last line of a left-to-right
paragraph is aligned left with no stretching, and this is what I would expect to
see in the absence of a text-align-last property.
Correct. A 'text-align-last' property will be introduced in CSS3.
Status: NEW → RESOLVED
Closed: 20 years ago
OS: Windows Server 2003 → All
Hardware: PC → All
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: