Closed
Bug 317538
Opened 19 years ago
Closed 5 years ago
Relative urls does not work with designMode=on
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: fredrik, Unassigned)
References
Details
Attachments
(1 file)
598 bytes,
text/html
|
Details |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
When adding images or anchors to your IFRAME that has designMode=on with relative urls the image is not shown, and the anchor is not underlined.
Reproducible: Always
Steps to Reproduce:
<a href="/test.htm">test</a> does not work but <a href="http://localhost/test.htm">test</a> does work.
<img src="/test.gif"> does not work, but <img src="http://localhost/test.gif"> does work.
Actual Results:
The image is not shown, and the anchor is not underlined.
Expected Results:
The image must be shown in designmode, and the anchor must be shown in designmode. This works as expected in IE.
Comment 1•19 years ago
|
||
Kinda sounds like the issues going on in bug 295930 / bug 290740, but that's just a guess on my part.
Moving to Core :: Editor component since all the other designMode bugs are there.
Assignee: nobody → mozeditor
Component: General → Editor
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.8 Branch
Reporter | ||
Comment 2•19 years ago
|
||
(In reply to comment #1)
> Kinda sounds like the issues going on in bug 295930 / bug 290740, but that's
> just a guess on my part.
> Moving to Core :: Editor component since all the other designMode bugs are
> there.
No this bug appears when adding HTML to the IFRAME ex:
document.getElementById('frameid').contentWindow.document.body.innerHTML = '<img src="/test.gif">';
If i add the complete url (http://localhost/test.gif) the image will be properly displayed.
If I test <img src="/test.gif"> in a common HTML page the image will be displayed as expected.
If a <base> tag is inserted into the iframe with the href set, the <base> tag is ignored. Opera 9 displays images properly when the <base> tag is present.
Updated•18 years ago
|
QA Contact: editor
Updated•18 years ago
|
Assignee: mozeditor → nobody
Comment 4•5 years ago
|
||
Comment 5•5 years ago
|
||
This is fixed in 2009-03-17 build.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•