Closed
Bug 303076
Opened 18 years ago
Closed 5 years ago
Switching styles and switching back causes loss of first-letter style.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
FIXED
mozilla57
People
(Reporter: from-mozilla, Unassigned)
References
()
Details
Attachments
(1 file)
523 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6 The page at http://www.eschatonic.org/misc/example.html causes Firefox to behave incorrectly when switching between the preferred and the alternate stylesheet. On switching to the alternate stylesheet, the text in each paragraph is duplicated. On switching back to the preferred stylesheet, the text is still repeated and the p:first-letter style has been lost. Reproducible: Always Steps to Reproduce: 1. View -> Page Style -> plain 2. View -> Page Style -> default 3. Reload Actual Results: 1. Text is duplicated. 2. Text is still repeated, style is lost. 3. Repeated text is gone, style is restored. Expected Results: 1. Text should switch to browser-default color and first-letter size. 2. Text should switch back to color and first-letter size defined in stylesheet "default".
Comment 1•18 years ago
|
||
Confirming on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050802 Firefox/1.0+ ID:2005080203
Status: UNCONFIRMED → NEW
Component: General → Style System (CSS)
Ever confirmed: true
Product: Firefox → Core
Version: unspecified → Trunk
![]() |
||
Comment 2•18 years ago
|
||
Updated•17 years ago
|
Assignee: nobody → dbaron
QA Contact: general → ian
Updated•16 years ago
|
Assignee: dbaron → nobody
QA Contact: ian → style-system
Comment 4•15 years ago
|
||
Currently the duplication on switching style to 'plain' no longer occurs, but the first-letter style is not restored on switching back to 'default'.
Comment 6•15 years ago
|
||
The remaining issue looks like bug 8253.
Depends on: 8253
Summary: Switching styles causes duplication of text, switching back causes loss of style. → Switching styles and switching back causes loss of first-letter style.
Comment 8•14 years ago
|
||
HI, i've got this ... my class "a.hightlight:first-letter {...}" do not work (dynamically with JS) until i write "a:first-letter {}" after a.hightlight:first-letter {color:#41608F; } /* not work when class is applied dynamically ? */ a:first-letter {} /* hightlight applied only if i write this after */
Comment 9•14 years ago
|
||
sorry don't know what happen but fortunately a:first-letter now work for me...
![]() |
||
Comment 10•5 years ago
|
||
Fixed by stylo.
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: stylo
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•