Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
raphael
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nhn
raphael
Commits
88387c34
Commit
88387c34
authored
Dec 09, 2013
by
g-div
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix the error/memleak in Firefox 3.0.x and 25.0.1 concerning the getBBox method
parent
424719f7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
5 deletions
+17
-5
raphael.svg.js
dev/raphael.svg.js
+7
-1
raphael-min.js
raphael-min.js
+3
-3
raphael.js
raphael.js
+7
-1
No files found.
dev/raphael.svg.js
View file @
88387c34
...
...
@@ -917,7 +917,13 @@ window.Raphael && window.Raphael.svg && function(R) {
try
{
bbox
=
this
.
node
.
getBBox
();
}
catch
(
e
)
{
// Firefox 3.0.x plays badly here
// Firefox 3.0.x, 25.0.1 (probably more versions affected) play badly here - possible fix
bbox
=
{
x
:
this
.
node
.
clientLeft
,
y
:
this
.
node
.
clientTop
,
width
:
this
.
node
.
clientWidth
,
height
:
this
.
node
.
clientHeight
}
}
finally
{
bbox
=
bbox
||
{};
if
(
canvasHidden
){
...
...
raphael-min.js
View file @
88387c34
This source diff could not be displayed because it is too large. You can
view the blob
instead.
raphael.js
View file @
88387c34
...
...
@@ -6717,7 +6717,13 @@
try
{
bbox
=
this
.
node
.
getBBox
();
}
catch
(
e
)
{
// Firefox 3.0.x plays badly here
// Firefox 3.0.x, 25.0.1 (probably more versions affected) play badly here - possible fix
bbox
=
{
x
:
this
.
node
.
clientLeft
,
y
:
this
.
node
.
clientTop
,
width
:
this
.
node
.
clientWidth
,
height
:
this
.
node
.
clientHeight
}
}
finally
{
bbox
=
bbox
||
{};
if
(
canvasHidden
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment