Closed Bug 186057 Opened 22 years ago Closed 19 years ago

weirdness when setting designMode='on' and not in <body onload>

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 207842

People

(Reporter: Brade, Assigned: Brade)

Details

(Keywords: qawanted, Whiteboard: midas [need testcase])

Mike Kaply and other Midas users have noticed problems/errors (inability) to set
designMode='on' unless that is done in the load handler for the <body>
Whiteboard: midas
I are having problems to, sometimes it fails. Sometimes other setting like
designModeOnFrameDocument.body.style.backgroundColor="#ffff00";
that you make in the same javascript function as designMode="on" does not occur.

It helps to call the initIFrame method with a setTimeOut('initIframe()',100);



To me it seems you cannot set designMode=on before the content document of the
iframe is fully loaded.
I don't have a testcase for this bug.  I think some of these "weirdnesses"
(elaborated by Anders and Vidar) have been fixed in other bugs (for 1.4final). 
If someone could supply a testcase, that'd be great.  If not, I'll resolve this
bug as invalid.
Status: NEW → ASSIGNED
Keywords: qawanted
Whiteboard: midas → midas [need testcase]
In my opinion, this bug is the same than the <a
href="http://bugzilla.mozilla.org/show_bug.cgi?id=207842">bug 207842</a>
Yes, this and bug 207842 are the same issue, that one has several testcases.
duping to newer bug with more info

*** This bug has been marked as a duplicate of 207842 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.