Closed
Bug 282166
Opened 20 years ago
Closed 17 years ago
XForms Bind attribute doesn't work inside SVG foreignObject element.
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: andrew, Assigned: tor)
References
()
Details
Attachments
(1 file)
|
1.28 KB,
application/xhtml+xml
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0 (MOOX M3) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0 (MOOX M3) The xforms output element isn't displaying the content when it is bound to an xforms instance. Hard Coding a value for the output element works as expected. This behavior is only broken when the xforms output element is inside an svg foreignObject element. Binding works correctly when the xforms output element is inside standard XHTML. Note: You will need an SVG enabled build. Reproducible: Always Steps to Reproduce: place an xforms output element (bound to an xforms instance) inside an SVG foreignObject element. Actual Results: The bound content wasn't displayed. Expected Results: The bound content would be displayed just as if there was a "hard-coded" value inside the xforms output element. See http://artforms.progressivex.com/mozilla/sample01.xml for an example of a hardcoded value in the output element. It works as expected.
| Reporter | ||
Updated•20 years ago
|
Summary: XForms Bind element doesn't work inside SVG foreignObject element. → XForms Bind attribute doesn't work inside SVG foreignObject element.
This testcase shows the same problem using xhtml. Note that it waits 3 seconds after document load to update the span contents.
looks to be in SVG with foreignObject not revalidating correctly. We are setting our anonymous content text value just fine.
Assignee: aaronr → tor
Component: XForms → SVG
Comment 3•20 years ago
|
||
> See http://artforms.progressivex.com/mozilla/sample01.xml for an example of a
> hardcoded value in the output element. It works as expected.
I'm having problems with fonts and SVG in my build, but either way you are not
using output correctly, you need to use f.x. <output value="'test'"/>, and I
will personally not give any guarantees for documents without at least one
<model> and one <instance>.
Comment 4•20 years ago
|
||
I looked a bit more into it. You also need to set @height too, dont you? http://www.w3.org/TR/SVG/extend.html#ForeignObjectElement ... doesn't fix the problem though. But I agree with Aaron (comment 2): I do not think that it is XForms that fails. Do foreignObject work at all? I cannot seem to get a XHTML element rendered either. It also complains: WARNING: Can't render foreignObject element!, file nsSVGForeignObjectFrame.cpp, line 465
Comment 5•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Comment 6•17 years ago
|
||
works for me with the latest trunk.
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•