Open Bug 371768 Opened 18 years ago Updated 4 years ago

Caret does not appear initially when using Midas editor pre-loaded with stylesheet

Categories

(Core :: DOM: Editor, defect, P5)

1.8 Branch
x86
Windows XP
defect

Tracking

()

UNCONFIRMED

People

(Reporter: keefaz, Unassigned)

Details

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30) Build Identifier: 2.0.0.2 I've narrowed this problem down as follows: An designmoded iframe exists which I pre-load with HTML, thus: --- frameHTML = '<body style="overflow: auto; width: 100%; height: 100%; background-color: white">'; editFrame.document.designMode = "on"; editFrame.document.open(); editFrame.document.write(frameHTML); editFrame.document.close(); --- This is fine. However, the problem occues when the iframe is loaded with a stylesheet: frameHTML = '<head><link REL="STYLESHEET" HREF="/styles/default.css" TYPE="text/css"></head>'; When the iframe is first clicked, no caret appears until text is typed or the iframe is double clicked. Once this has happened, all text and can be deleted and the iframe unfocused and refocused and the caret appears correctly. Reproducible: Always Steps to Reproduce: 1. Create designmode iframe 2. Load content including link to stylesheet 3. Click on iframe Actual Results: No blinking caret Expected Results: A blinking caret Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
This sounds like bug 335856. Keith, do you agree this is the same bug?
Component: General → Editor
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
QA Contact: editor

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.