Closed
Bug 387512
Opened 17 years ago
Closed 17 years ago
block with :first-line pseudo-element, subsequent text vanishes
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
People
(Reporter: phiw2, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(3 files)
When styling the first line of a block with the ::first-line pseudo-element, then only the second line of a block will display; all subsequent lines of text disappear.
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a7pre) Gecko/2007070917 Minefield/3.0a7pre ID:2007070917
Regressed before 20070702 (fails with the last available Camino build).
Reporter | ||
Comment 1•17 years ago
|
||
regressed:
OK
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a6pre) Gecko/20070620 Minefield/3.0a6pre ID:2007062004
Fails
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a6pre) Gecko/20070621 Minefield/3.0a6pre ID:2007062104
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2007-06-20+04%3A00%3A00&maxdate=2007-06-21+04%3A00%3A00&cvsroot=%2Fcvsroot
--> bug 367177, I guess.
Reporter | ||
Updated•17 years ago
|
Summary: :first-line pseudo-element, subsequent text vanishes → block with :first-line pseudo-element, subsequent text vanishes
Updated•17 years ago
|
Flags: blocking1.9?
OS: Mac OS X → All
Hardware: Macintosh → All
Depends on: 385270
Flags: blocking1.9? → blocking1.9+
Comment 2•17 years ago
|
||
Comment 3•17 years ago
|
||
Interesting... the bug seems to be masked for certain browser window sizes when there are regular linebreaks in the paragraph.
Attachment #274997 -
Attachment is obsolete: true
Updated•17 years ago
|
Attachment #274997 -
Attachment description: reduced test case → reduced test case (with linebreaks)
Attachment #274997 -
Attachment is obsolete: false
Comment 4•17 years ago
|
||
Possibly a dup of 385270, based on lots of "ASSERTION: Invalid offset" being printed.
Reporter | ||
Comment 5•17 years ago
|
||
This works correctly now on Mac OS X.
Fixed by the patch in bug 388049 ? (or the one in bug 391068, mac only)
Other platforms ?
Fails
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a8pre) Gecko/2007080919 Minefield/3.0a8pre ID:2007080919
(20070809_1906_firefox-3.0a8pre.en-US.mac.dmg)
works
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a8pre) Gecko/2007080919 Minefield/3.0a8pre ID:2007080919
(20070809_1937_firefox-3.0a8pre.en-US.mac.dmg)
Reporter | ||
Comment 6•17 years ago
|
||
After the landing of bug 385270, all lines are visible, but the font-weight:bold is propagated to all lines (instead of affecting just the first-line).
Comment 7•17 years ago
|
||
color and background attributes correctly stick to just the first line.
font-weight, font-style, and font-size go past the first line, but are stopped when they hit an explicit <br> tag.
Comment 8•17 years ago
|
||
Bug 392435 has been filed for the issue raised in comment 6.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•