Closed Bug 210186 Opened 22 years ago Closed 22 years ago

unable to type text in an iframe

Categories

(SeaMonkey :: General, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: aviv_by, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425 Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.3.1) Gecko/20030425 i'm not sure this is the right place to write to, it's the first time i post to bugzilla, if i'm mistaken please reference me to the right place. The URL i wrote here is in hebrew, so i'm not sure everyone will be able to log in, but i'm willing to post the page's source if requested to the page has an ifame in it with the following source: <iframe frameborder="1" id="edit" width="100%" height="250" class="richEdit" onblur="return false"> <style>p { margin: 0px; } </style> <body style="margin: 0px; color: black; background: white;font: 10pt Arial; direction: rtl; text-align: right;"> </body> </iframe> When I click on it and try entering text it won't work. for example, if i type the letter 'g' mozilla will jump to the accurance of 'g' on the page, as if i searched for it. Internet explorer works just fine with that iframe. anyone knows how can i make mozilla work with this? thanks ahead Reproducible: Always Steps to Reproduce: 1. click on the iframe 2. try to enter text 3. there u go. Actual Results: mozilla jumped the the accurance of the text entered Expected Results: write what i've typed in that iframe.
Sounds like the page is using IE's proprietary content-editing stuff....
and what can i do about it? can u pinpoint the lines that should be fixed so the site will support mozilla?
I looked into this the other day when I filed bug 209836, here's a pointer: http://devedge.netscape.com/viewsource/2003/midas/01/ ->INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
it didn't help me i mean, i went to the page, then i opened the javascript console and wrote document.getElementById("edit").contentDocument.designMode="on"; i got an error saying : Error: document.getElementById("edit") has no properties Source File: javascript: document.getElementById("edit").contentDocument.designMode="on"; Line: 1 what else can i do?
well yeah,that works for me too it's only that specific site i talked about that won't work any ideas why it doesn't?
No. Compare it with the example and you should be able to find the problem...
well, the webmaster of the site has changed the iframe line to this: <iframe id="edit" width="100%" height="250px"> and i've seen a page with the exact same iframe tag work but on that website it doesn't work is the body of the iframe unsupported by mozilla? (the body is: <style>p { margin: 0px; } </style> <body style="margin: 0px; color: black; background: white;font: 10pt Arial; direction: rtl; text-align: right;"> </body> and i see nothing wrong with it)
v
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.