Closed
Bug 229764
Opened 20 years ago
Closed 15 years ago
float with :first-letter causes doubling of text if the stylesheet is set to disabled
Categories
(Core :: Layout: Floats, defect)
Core
Layout: Floats
Tracking
()
RESOLVED
FIXED
People
(Reporter: penorman, Unassigned)
References
()
Details
(Keywords: css2, testcase)
Attachments
(1 file)
541 bytes,
application/xhtml+xml
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/106.2 (KHTML, like Gecko) Safari/100.1 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20031230 Firebird/0.7+ When a stylesheet floats the :first-letter of a paragraph and is set to disabled = true, the paragraph's text is duplicated. If the stylesheet is then later set to disabled = false, the :first-letter psudo-classes do not work correctly. Tests by other people show that this bug is cross-platform. Reproducible: Always Steps to Reproduce: 1. Load a page which meets the above conditions Actual Results: The text of the paragraph is duplicated, and selecting is very odd. Expected Results: Rendered as it does with no CSS at all
![]() |
||
Comment 1•20 years ago
|
||
Worskforme with Windows trunk build 2003-12-28 or so.... Is this a more recent regression? Or mac-only?
Reporter | ||
Comment 2•20 years ago
|
||
I'm told the buggy behavior is present on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007, which is a older build, and on "linux with a cvs build from 20031230" Without JavaScript enabled, you don't encounter the bug. I forgot to mention that in the bug report. As the page breaks with the duplication of content in recent builds two platforms and an older Windows build, I marked hardware and os as all
Reporter | ||
Comment 3•20 years ago
|
||
JavaScript must be enabled.
Lovely test case. Confirmed in 1.5 and nightly, windows and linux. Good enough for me.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•20 years ago
|
||
Present in: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031208
Reporter | ||
Comment 6•19 years ago
|
||
Incorrect behaviour still exhibited with Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv: 1.8a4) Gecko/20040927
Comment 8•15 years ago
|
||
This now WFM. Gression window is 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-02-28+08%3A00&maxdate=2007-03-01+10%3A00&cvsroot=%2Fcvsroot, so I assume it was fixed by bug 367650. I have a reftest ready for checkin.
Comment 9•15 years ago
|
||
reftest checked in to mozilla-central.
You need to log in
before you can comment on or make changes to this bug.
Description
•