Closed Bug 474257 Opened 16 years ago Closed 16 years ago

SVG SMIL: Update beginElement & co. to return void

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: birtles, Assigned: birtles)

References

Details

Attachments

(1 file, 1 obsolete file)

The specifications for the DOM TimeElementControl interface differ between SVG and SMIL Animation. This discrepancy has been addressed in an erratum to SVG 1.1 http://www.w3.org/2003/01/REC-SVG11-20030114-errata#elementtimecontrol-interface However, some of how code has not been migrated from the old signature (with a boolean return type) to the new (with a void return type). We need to bring this all up to date. Furthermore, we have a mochitest (test_smilRestart.xhtml) that is failing because it relies on this boolean return type that we no longer offer.
Attached patch patch v1a (obsolete) — Splinter Review
Patch to address these issues
Attachment #357607 - Flags: superreview?(roc)
Attachment #357607 - Flags: review?(roc)
Note, this patch applies on top of the patch for bug 473702 (implement SVGAnimationElement interface) because we need that interface in the updated mochitest now that we can't use the return value of BeginElement and co.
Attached patch patch v1bSplinter Review
Fixed return types in nsSMILTimedElement.cpp (thanks Robert!)
Attachment #357607 - Attachment is obsolete: true
Attachment #357610 - Flags: superreview?(roc)
Attachment #357610 - Flags: review?(roc)
Attachment #357607 - Flags: superreview?(roc)
Attachment #357607 - Flags: review?(roc)
Attachment #357610 - Flags: superreview?(roc)
Attachment #357610 - Flags: superreview+
Attachment #357610 - Flags: review?(roc)
Attachment #357610 - Flags: review+
Pushed d9bbceb06cdc
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [needs landing]
Whiteboard: [doc-waiting-1.9.3]
Given that we currently don't explicitly document SVG at all, I'm removing the doc needed keyword from this in favor of bug 602022, which covers writing a complete set of SVG documentation.
Keywords: dev-doc-needed
Whiteboard: [doc-waiting-1.9.3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: