gecko-dev/cmd/xfe/plugins/test/srcoverride.html
1998-03-28 02:44:41 +00:00

53 lines
1.7 KiB
HTML

<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!-- -->
<HTML>
<TITLE>Plugins Test: TYPE attribute overriding SRC attribute</TITLE>
<!-- Changed by: Suresh Duddi, 28-May-1996 -->
<H1>Plugins Test: TYPE attribute overriding SRC attribute</H1>
Plugins Test : <B>TYPE</B> attribute for the EMBED tag overriding
<B>SRC</B> attribute.
<HR>
Embed is here:
<EMBED src=text.txt type=nowhere/found width=200 height=100>
<br>
<pre>
&lt;EMBED src=text.txt type=nowhere/found width=200 height=100&gt;
</pre>
<! Result !>
<dl>
<dt><FONT Color=red>Result</FONT>
<dd>The type of the embed should be <B>nowhere/found</B> eventhough
the source was text.txt (usually text/plain is its mimetype).
<br>
You should see the nullplugin for this embed.
<p>
Clicking on the embed will show a dialog which will display the mimetype.
Ensure that it says <B>nowhere/found</B>
</dl>
<hr>
<address>
dpSuresh <a href="mailto:dp@netscape.com">&lt;dp@netscape.com&gt;</a>
</address>
Last modified
Fri Mar 1 14:50:11 PST 1996
</HTML>