Closed Bug 364811 Opened 18 years ago Closed 18 years ago

svg:svg not live to length modifications

Categories

(Core :: SVG, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: tor, Assigned: tor)

References

()

Details

Attachments

(3 files)

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 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+
Attached patch move commentSplinter Review
Attachment #250349 - Flags: superreview?(roc)
Attachment #250349 - Flags: superreview?(roc) → superreview+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Depends on: 555321
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: