Closed
Bug 363605
Opened 19 years ago
Closed 19 years ago
[FIX]Make computed style use GetStyle* methods, not GetStyleData
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: bzbarsky, Assigned: bzbarsky)
Details
Attachments
(1 file, 1 obsolete file)
|
68.07 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
See bug 360870 comments.
| Assignee | ||
Comment 1•19 years ago
|
||
Sadly, this probably increases codesize some...
Attachment #248973 -
Flags: superreview?(dbaron)
Attachment #248973 -
Flags: review?(dbaron)
| Assignee | ||
Updated•19 years ago
|
Priority: -- → P3
Summary: Make computed style use GetStyle* methods, not GetStyleData → [FIX]Make computed style use GetStyle* methods, not GetStyleData
Target Milestone: --- → mozilla1.9alpha
Should we actually bother? The existing methods aren't so bad -- I actually wasn't expecting you to do this; I'd forgotten about this case.
| Assignee | ||
Comment 3•19 years ago
|
||
The only reason to really do this, imo, is to eliminate this use of nsIFrame::GetStyleData() (only use, iirc) and one of the two remaining uses of nsStyleContext::GetStyleData().
Though I think I'd be pretty happy to leave most of those changes in (because they improve readability and type-safety) and just define the GetStyle* functions to be inlines calling something like GetStyleData for the time being.
Of course what I _really_ want to do somehow is make more of computed style table-driven... not sure how yet.
(In reply to comment #3)
> Though I think I'd be pretty happy to leave most of those changes in (because
> they improve readability and type-safety) and just define the GetStyle*
> functions to be inlines calling something like GetStyleData for the time being.
I think that sounds good.
| Assignee | ||
Comment 5•19 years ago
|
||
Attachment #248973 -
Attachment is obsolete: true
Attachment #249067 -
Flags: superreview?(dbaron)
Attachment #249067 -
Flags: review?(dbaron)
Attachment #248973 -
Flags: superreview?(dbaron)
Attachment #248973 -
Flags: review?(dbaron)
Comment on attachment 249067 [details] [diff] [review]
Patch to that effect
r+sr=dbaron
Attachment #249067 -
Flags: superreview?(dbaron)
Attachment #249067 -
Flags: superreview+
Attachment #249067 -
Flags: review?(dbaron)
Attachment #249067 -
Flags: review+
| Assignee | ||
Comment 7•19 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•