Closed
Bug 364811
Opened 18 years ago
Closed 18 years ago
svg:svg not live to length modifications
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: tor, Assigned: tor)
References
()
Details
Attachments
(3 files)
341 bytes,
image/svg+xml
|
Details | |
4.37 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
4.42 KB,
patch
|
roc
:
superreview+
|
Details | Diff | Splinter Review |
When a viewBox is specified, the svg element isn't invalidating the transform when one of the SVGLength values it depends on is modified.
Attachment #249515 -
Flags: review?(jwatt)
Comment 3•18 years ago
|
||
Comment on attachment 249515 [details] [diff] [review] perform invalidation r=jwatt >+void >+nsSVGSVGElement::InvalidateTransformNotifyFrame() >+{ >+ nsIDocument* doc = GetCurrentDoc(); >+ if (!doc) return; >+ nsIPresShell* presShell = doc->GetShellAt(0); >+ if (!presShell) return; >+ >+ // invalidate viewbox -> viewport xform & inform frames Would be nice to move this comment to the declaration of the function here: >+ void InvalidateTransformNotifyFrame();
Attachment #249515 -
Flags: review?(jwatt) → review+
Attachment #250349 -
Flags: superreview?(roc)
Attachment #250349 -
Flags: superreview?(roc) → superreview+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•