Closed Bug 302970 Opened 19 years ago Closed 18 years ago

floating div with auto-width cancels text-align: justify

Categories

(Core :: Layout: Floats, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: micval, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: [reflow-refactor])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

Div without exactly specified width (ie. 300px, 100%) does not fully justify
text when the float property is also applied. This is the case of the class
"justified" in the page. On the other hand right/center-justified text is
rendered aligned to right/center even when the div is floating (class "centered"
in the page). Also if the fully justified div has fixed width (class
"widthjustified" in the page) it is also correctly fully justified.

Reproducible: Always

Steps to Reproduce:
This should be fixed by the reflow branch; until then, it could probably be
fixed pretty easily by setting BRS_NEEDRESIZEREFLOW appropriately.
Whiteboard: [reflow-refactor]
Keywords: testcase
fixed by reflow branch landing
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Depends on: reflow-refactor
Resolution: --- → FIXED
Adding in-testsuite? nomination per bz's request in m.d.t.l. Sorry for the bugspam.
Flags: in-testsuite?
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: