Closed Bug 381596 Opened 17 years ago Closed 6 months ago

Macroize simple SVG DOM getters

Categories

(Core :: SVG, defect)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: tor, Unassigned)

References

Details

Attachments

(1 file)

      No description provided.
Attachment #265681 - Flags: review?(jwatt)
Blocks: 375846
Blocks: 383184
I've been wavering over this one to be honest. The patch reduces file size some, but in areas that aren't very complex. Personally I think it's just about as easy to scroll past these areas as the macro calls. On the down side the macro indirection makes LXR searches less useful and may mean searches for members miss important parts of code. I'm not really sure it's worth it, but what the heck, r=jwatt. Please reverse the order of the first two arguments to put the class name first though.
OS: Linux → All
Hardware: PC → All
Attachment #265681 - Flags: review?(jwatt) → review+
roc, do you have an opinion about the usefulness of replacing frequent code snippets with macros?
I'm torn as well. Why don't you post on .platform or something? We don't do this kind of thing elsewhere, except in a few places.
No longer blocks: 383184
Severity: normal → S3

These are basically one line now anyway.

Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: