Closed Bug 706776 Opened 13 years ago Closed 13 years ago

::first-line CSS3 pseudo-element makes columns wider without apparent reason

Categories

(Core :: Layout, defect)

8 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 385615

People

(Reporter: arthurx, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Steps to reproduce:

on my website www.arthurx.org/index.html i have used the ::first-line pseudo-element
for all <p>


Actual results:

The lay out engine of firefox decides the line end of the first line. 
Normally the red and blue columns are much smaller


Expected results:

Normally the big blue and red column are much smaller. FireFox seems to add much space, without apparent reason. Only after the addition of the  ::first-line and ::first-letter this happened.

Chrome seems to do this better.

Thanks a lot for all the good work
and greetings Arthur
Summary: ::first-line ,this css3 pseudo-element reacts to the \n newline character in the html text, which is not correct → ::first-line ,this css3 pseudo-element makes colums wider without apparent reason
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Summary: ::first-line ,this css3 pseudo-element makes colums wider without apparent reason → ::first-line CSS3 pseudo-element makes columns wider without apparent reason
If the issue is only the :first-letter then this is a duplicate of bug 385615.  I could imagine :first-letter causing a similar issue, though.
The main issue with the site in question certainly looks like :first-letter, though.  (I meant "I could imagine :first-line..." in the previous comment.)

Thanks for reporting this, though.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.