Closed
Bug 111883
Opened 24 years ago
Closed 22 years ago
typesafe way to get style data
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(2 files)
|
7.78 KB,
patch
|
pierre
:
review+
waterson
:
superreview+
|
Details | Diff | Splinter Review |
|
2.15 KB,
patch
|
waterson
:
superreview+
|
Details | Diff | Splinter Review |
I'm tired of having to write the same information twice in a way that the
compiler can't check -- the struct ID and the type of the struct. So I have a
patch for typesafe |GetStyleData| global functions that I'll attach. On my gcc3
optimized build these (see the test patch that uses it) compile to the exact
same size file. They need to be tested on other platforms.
Any thoughts?
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
| Assignee | ||
Updated•24 years ago
|
Summary: typesafe way for getting style data → typesafe way to get style data
Comment 3•24 years ago
|
||
Comment on attachment 59119 [details] [diff] [review]
patch
It looks fine on the Mac. With the second patch, the Layout shared lib size
increased by only 57 bytes in a debug build. r=pierre
Attachment #59119 -
Flags: review+
Comment 4•24 years ago
|
||
sr=hyatt. Lookin' good.
Comment 5•24 years ago
|
||
Comment on attachment 59119 [details] [diff] [review]
patch
sr=waterson (hyatt, too, I think)
Attachment #59119 -
Flags: superreview+
Comment 6•24 years ago
|
||
Comment on attachment 59121 [details] [diff] [review]
patch that tests both functions
sr=waterson
Attachment #59121 -
Flags: superreview+
| Assignee | ||
Comment 7•24 years ago
|
||
Patches checked in 2001-11-27 21:04 PDT, although I'd like to do a little more
measurement before strongly advocating the use of the new functions all over the
place...
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.9 → Future
Comment 9•22 years ago
|
||
So... we've been using the typesafe versions of GetStyleData more and more with
no ill effects, as far as I can tell. What remains to be done here?
| Assignee | ||
Comment 10•22 years ago
|
||
The new mechanism in bug 197205 is also typesafe, although different from the
one proposed here. Thus marking fixed rather than wontfix.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•