If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Resizing width of a window, -moz-columns may eat a part of the text

NEW
Unassigned

Status

()

Core
Layout
9 years ago
8 years ago

People

(Reporter: Xavier Mouton-Dubosc, Unassigned)

Tracking

({testcase})

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061913 Mandriva/3.0-3mdv2008.1 (2008.1) Firefox/3.0 FirePHP/0.1.2
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9) Gecko/2008061913 Mandriva/3.0-3mdv2008.1 (2008.1) Firefox/3.0 FirePHP/0.1.2

A part of the text to be columned can disappear when viewport's width is widened

Reproducible: Always

Steps to Reproduce:
1.Go to the url, having your browser with a width < to 1280px
2.Resize the window to have a width upper than 1380, the page will have 2 columns. A part of the text is not displayed anymore
3.Resize back under 1280px.
Actual Results:  
When the page will be width enough to display two columns, a part of the text (after "Blanc Mat", #c04 , but may change ) disappears. Resizing back to one column doesn't display it again.

Expected Results:  
The text should not be truckated out of the view

Never noticied this before in my website. Perhaps a bug occurs with float elements ?

Here is the section of my css creating the columns :

.post-content,.col {
	column-width: 540px;
	column-gap: 1em;
	column-space-distribution: between;
	column-rule:1px solid #6096BF;
	-moz-column-width: 540px;
	-moz-column-gap: 1em;
	-moz-column-space-distribution: between;
	-webkit-column-width: 540px;
	-webkit-column-gap: 1em;
	-webkit-column-space-distribution: between;
	-webkit-column-rule:1px solid #6096BF;
}
(Reporter)

Comment 1

9 years ago
Created attachment 338162 [details]
Part of the document disappeared

Here is what is happening if the text is split between two columns  : a section of the text is missing
(Reporter)

Comment 2

9 years ago
Created attachment 338163 [details]
screenshot without bug

The normal view, with the full text, before resizing window
Created attachment 338247 [details]
Testcase
Confirming bug, 20080911020347 Minefield/3.1b1pre on Linux.
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
QA Contact: general → layout
The bug is reproducible in a debug build running with -layoutdebug.
Dumping the frame tree shows that the missing stuff are there but
the frames are stuck on Overflow-lists.

I see the following assertion:
###!!! ASSERTION: Shouldn't be incomplete if availableHeight is UNCONSTRAINED.: 'aReflowState.availableHeight != NS_UNCONSTRAINEDSIZE', file /usr/moz/hg5/layout/generic/nsBlockFrame.cpp, line 1397

Comment 6

9 years ago
This also sounds like bug 417847 and, maybe, bug 422089

Comment 7

9 years ago
(In reply to comment #6)
> This also sounds like bug 417847 and, maybe, bug 422089

Sorry, finger trouble.  bug 417487.
(Reporter)

Comment 8

9 years ago
Confirming Firefox 3.0.1 , on Mac Intel  OS X 10.4 .
As maybe the same than 422089 , I suppose this bug should also occurs on Windows.

Hint : zooming with ctrl + and ctrl - also "helps" to see the bug for smaller screens.
OS: Linux → All

Comment 9

8 years ago
I believe this has been fixed by the fix for bug 389462. Xavier, can you check a recent nightly?
(Reporter)

Comment 10

8 years ago
It seems to be NOT fixed. Resizing twice makes it appears again (from 2 cols, to one cols and again 2 cols)

Build identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.2a1pre) Gecko/20090713 Minefield/3.6a1pre
(arch : Linux x86-64 on Mandriva 2009.1)
You need to log in before you can comment on or make changes to this bug.