--- In svg-developers@yahoogroups.com, johnbaronreid1972
[EMAIL PROTECTED] wrote:
I have another problem now that firefox seems to get the bbox wrong.
It returns an extremely large width. I'm using svg elements with
several transforms inside the element I'm calling getBBox on. Is this
known to
--- In svg-developers@yahoogroups.com, longsonr [EMAIL PROTECTED] wrote:
I think you are confusing the bug I mentioned with the onload bug that
Andreas mentioned previously. There are (at least) two different bugs
with GetBBox in firefox 2 a) it doesn't work onload b) it doesn't work
--- In svg-developers@yahoogroups.com, longsonr [EMAIL PROTECTED] wrote:
I think you are confusing the bug I mentioned with the onload bug that
Andreas mentioned previously. There are (at least) two different bugs
with GetBBox in firefox 2 a) it doesn't work onload b) it doesn't work
--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] wrote:
Hi John,
For Firefox you need to use getAttributeNS and setAttributeNS
instead of getAttribute and setAttribute and may be make some more
changes. See
http://jwatt.org./svg/authoring/
for more details. Cheers,
--- In svg-developers@yahoogroups.com, longsonr [EMAIL PROTECTED] wrote:
John,
In firefox things that are display:none don't have bounding boxes.
visibility:hidden might work for you depending on what you want to
achieve.
But when I call getBBox, the display attribute is 'inline'.
--- In svg-developers@yahoogroups.com, longsonr [EMAIL PROTECTED] wrote:
In firefox things that are display:none don't have bounding boxes.
visibility:hidden might work for you depending on what you want to
achieve.
visibility:hidden does indeed work for me. I still don't know why the
--- In svg-developers@yahoogroups.com, Andreas Neumann [EMAIL PROTECTED]
wrote:
Hi John,
there are actually only one problem with firefox and bounding-boxes:
* Firefox 1.5 and 2 had a bug where .getBBox() could not be called
onload. One had to do a slight delay, using setTimeout() with a
--- In svg-developers@yahoogroups.com, johnbaronreid1972
[EMAIL PROTECTED] wrote:
You are not doing anything wrong. You are suffering from
https://bugzilla.mozilla.org/show_bug.cgi?id=339807
This was fixed during the Firefox 3 development cycle. A workaround
would be to use setTimeout as Andreas
--- In svg-developers@yahoogroups.com, longsonr [EMAIL PROTECTED] wrote:
--- In svg-developers@yahoogroups.com, johnbaronreid1972
johnbaronreid1972@ wrote:
You are not doing anything wrong. You are suffering from
https://bugzilla.mozilla.org/show_bug.cgi?id=339807
This was fixed during
Hi John,
For Firefox you need to use getAttributeNS and setAttributeNS
instead of getAttribute and setAttribute and may be make some more
changes. See
http://jwatt.org./svg/authoring/
for more details. Cheers, Samy
--- In svg-developers@yahoogroups.com, johnbaronreid1972
[EMAIL PROTECTED]
--- In svg-developers@yahoogroups.com, Samuel Dagan [EMAIL PROTECTED] wrote:
Actually the attributes he is looking at are in the null namespace so
getAttribute and setAttribute should work in this case.
Best regards
Robert
Hi John,
For Firefox you need to use getAttributeNS and
--- In svg-developers@yahoogroups.com, chmavrog [EMAIL PROTECTED] wrote:
is something wrong with getBBOX in FF?
the following code
var tmpWdth=parseInt(this.nameElement.getBBox().width)+10;
produces the following message
Error: [Exception... Component returned failure code: 0x80004005
12 matches
Mail list logo