Closed
Bug 477177
Opened 16 years ago
Closed 14 years ago
ForeignObject positioning is not being 'read' by applets.
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: paradisaeidae, Unassigned)
Details
Attachments
(1 file)
319 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
Hello, I'm doing some test of svg + foreignObject + applets.
Is anyone interested?
I've found that the foreignObject positioning is not being 'read' by applets.
Java applets are 'used' to being rendered inline with html. It appears there is no 'smarts' in an applet to obey parent location or relative position.
Is it possible to trick an object into thinking it is being rendered inline, though the origin has been reset to top-left of foreignObject?
Addidtionally, could there be an option to regain focus on load ie: return focus to document when foreignObject has rendered? ... returnFocus='true'
Reproducible: Always
Steps to Reproduce:
1. Surf to svg page with foreignObject which includes a java applet.
Actual Results:
Java applet is rendered top-left of svg 'canvas'.
Expected Results:
Java applet should be rendered within the confines defined by foreignObject.
Reporter | ||
Updated•16 years ago
|
Reporter | ||
Comment 1•16 years ago
|
||
Please elevate this in your assessments!
It is not blocking, granted.
Though for a real opportunity for the svg world to evolve, there needs to be a transitional path, one where flash is .tolerated. in spite of it.
All best!
MarkT
Reporter | ||
Updated•16 years ago
|
Summary: I've found that the foreignObject positioning is not being 'read' by applets. → ForeignObject positioning is not being 'read' by applets.
Comment 2•14 years ago
|
||
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version.
Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Reporter | ||
Comment 3•14 years ago
|
||
Hello Tyler / Triage.
I've just tested with up 2 date 3.5 & 4 pre.
The issue appears worse to me. (Previously I could get rendering with some settings, though not reliably).
Now the applet is invoked though I cannot see it displayed with any setting I attempt. Sorry, do not have server up today, so cannot give url.
The following requires mypic.jpg and lake.class from:
http://www.ibdprince.com/java.shtml
All best!
MarkT
--------------------------------------------
<svg id="canvas" opacity="1" viewBox="0 0 1100 620" width="1100" height="620"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<foreignObject x="0" y="0" width="280" height="440" id="lake">
<body xmlns="http://www.w3.org/1999/xhtml">
<applet code="lake.class" width="280" height="440">
<param name="image" value="mypic.jpg"/>
<param name="href" value="http://www.ibdprince.com/java.shtml"/></applet>
</body></foreignObject></svg>
--------------------------------------------
Whiteboard: [CLOSEME 2010-11-01] → No rendering of applet, in foreign object, in svg.
Comment 4•14 years ago
|
||
Reporter, are you still seeing this issue with Firefox 4.0.1 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: No rendering of applet, in foreign object, in svg. → [CLOSEME 2011-05-30]
Version: unspecified → 3.0 Branch
Reporter | ||
Comment 5•14 years ago
|
||
This 'confirmed'. (By the reporter), (me).
Using Firefox 4.0.1.
The original issue was to do with position.
Now it may be visibility.
As the applet is not visible at all.
The java console reports:
ListenUp LAN License Issued to javasonics.com
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1c13d0b
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
Updated•14 years ago
|
Component: General → Plug-ins
Product: Firefox → Core
QA Contact: general → plugins
Whiteboard: [CLOSEME 2011-05-30]
Version: 3.0 Branch → 2.0 Branch
This is by design. We are deliberately not supporting windowed plugins inside SVG or CSS transforms. We do support windowless plugins in those contexts.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
So I will never be able to create an SVG website with embedded Flash? WebKit supports it, what is your reasoning not to?
(In reply to comment #7)
> So I will never be able to create an SVG website with embedded Flash?
You should be able to use windowless Flash (wmode=opaque/transparent). In fact, that doesn't work currently, but we will fix that.
> WebKit supports it, what is your reasoning not to?
It doesn't really except in the most basic cases. I'll attach a testcase.
Loading this testcase in Chrome gives you strange results.
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•