Closed Bug 150941 Opened 22 years ago Closed 22 years ago

Floating first-letter hides all further content

Categories

(Core :: Layout, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 158037
Future

People

(Reporter: undeconstructed, Assigned: attinasi)

Details

Attachments

(1 file)

Build 2002061008 Win98 SE:

Floating first-letter of an element hides all further content - This can be seen
in the "Basic Styles" viewer demo in Moz, and I'll attach a cut down version. 
If element:first-letter {float:*} is applied to an element, no further content
seems to be visible.  This occurs every time for me.
Attached file Test case
I see the problem in Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1a)
Gecko/20020610.

Not displaying text is a major problem.

This might be CSS, not Layout.

pi
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Priority: -- → P2
Target Milestone: --- → Future
Why is this marked Future by kmcclusk@netscape.com? Missing text on a web page
is evil. And QA set priority to P2 anyways.

pi
This seems to have been fixed somewhere.  It works in 2002062508 for me.  Could
someone check on a non win9x platform.
WFM MOX 2002-08-18-03
The bug is still there with build 2002091110 WinXP, I was about to file a bug
about it !

Here is the code I tried that showed the bug :

p { text-align: justify; }

p.centre { text-align: center; }

p.centre:first-letter {  
	float: none !important;
 }

 p:first-letter  {  
  color: #ad8014;
  font-weight: bold;
  font-size: 200%;
  float: left ;
 }


The paragraph with the class "centre' totally disappears apart from the first
letter.

Pascal
Pascal, please attach a testcase in valid HTML. Anyways, as David suggested, bug
158037 is related. I even think it is a dupe, so please use that bug.

pi

*** This bug has been marked as a duplicate of 158037 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Sorry, could I just ask the logic of marking this bug as a dupe of one posted
after it?
The other bug seems to have more information.

pi
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: