Closed
Bug 381596
Opened 17 years ago
Closed 6 months ago
Macroize simple SVG DOM getters
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: tor, Unassigned)
References
Details
Attachments
(1 file)
80.10 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Attachment #265681 -
Flags: review?(jwatt)
Comment 1•17 years ago
|
||
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
Updated•17 years ago
|
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.
Updated•2 years ago
|
Severity: normal → S3
Comment 4•6 months ago
|
||
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.
Description
•