Open
Bug 160143
Opened 23 years ago
Updated 2 years ago
Minor optimization to CSS color function
Categories
(Core :: Layout, defect, P3)
Tracking
()
NEW
People
(Reporter: hwaara, Unassigned)
Details
Attachments
(2 files, 4 obsolete files)
9.12 KB,
patch
|
john
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
9.57 KB,
patch
|
bzbarsky
:
superreview-
|
Details | Diff | Splinter Review |
This patch slightly optimizes nsCSSRendering::TranformColor() and wipes away a
redundany call to it from a rendering hot-spot in nsTextFrame...
The reason we don't need it in nsTextFrame, is this:
TransformColor() bails out if its second argument is false, and we call it like
this:
} else if (!isPaginated) {
aRenderingContext.SetColor(currentFGColor);
Reporter | ||
Comment 1•23 years ago
|
||
Also remove some ifdeffed-out code.
Reporter | ||
Comment 2•23 years ago
|
||
Bz, wanna check out the patch?
Reporter | ||
Comment 3•23 years ago
|
||
More context requested.
Reporter | ||
Comment 4•23 years ago
|
||
More TransformColor() removal, and some review nits fixed.
Reporter | ||
Comment 5•23 years ago
|
||
A real _patch_ this time. ;-)
Attachment #93321 -
Attachment is obsolete: true
Attachment #93322 -
Attachment is obsolete: true
Attachment #93332 -
Attachment is obsolete: true
Reporter | ||
Comment 6•23 years ago
|
||
Fixed some final nits from bz.
Attachment #93335 -
Attachment is obsolete: true
![]() |
||
Comment 7•23 years ago
|
||
Comment on attachment 93340 [details] [diff] [review]
Final patch
sr=bzbarsky if you indent that comment about new selection painting two more
spaces
Attachment #93340 -
Flags: superreview+
Comment 8•23 years ago
|
||
Comment on attachment 93340 [details] [diff] [review]
Final patch
r=jkeiser
Attachment #93340 -
Flags: review+
Updated•23 years ago
|
Priority: -- → P3
![]() |
||
Comment 9•22 years ago
|
||
hwaara, are you still planning to check this in? Or what?
Comment 10•20 years ago
|
||
Was this ever checked in. Any updates?
![]() |
||
Comment 11•20 years ago
|
||
Anne, you can use lxr/bonsai to see whether it was checked in.
As for updates, if it hasn't been checked in and applies to trunk, let me know.
Comment 12•20 years ago
|
||
I downloaded the patch, updated the locations of the files and also got the
newest files from CVS. However, all "5 hunks" failed. (When comparing them
visually this seems quite logical.)
![]() |
||
Comment 13•20 years ago
|
||
Well, then if it's not in the trunk yet someone should merge it to trunk and
request reviews... ;)
Comment 14•20 years ago
|
||
anne: if this works, can you rerequest reviews from the original reviewers?
Attachment #174465 -
Flags: review?(bug)
Comment 15•20 years ago
|
||
Comment on attachment 174465 [details] [diff] [review]
untested merge
It applies perfectly. Re-requesting review from original reviewers.
Attachment #174465 -
Flags: superreview?(bzbarsky)
Attachment #174465 -
Flags: review?(john)
Attachment #174465 -
Flags: review?(bug)
Comment 16•20 years ago
|
||
Mabus said he might have time to test it later today (tonight). I misunderstood
timeless request.
![]() |
||
Comment 17•20 years ago
|
||
Comment on attachment 174465 [details] [diff] [review]
untested merge
1) jkeiser is not allowed to look at bugzilla by the terms of his employment
contract.
2) Don't ever request review on a patch that hasn't been compiled and run
unless it's really absolutely necessary.
Attachment #174465 -
Flags: superreview?(bzbarsky)
Attachment #174465 -
Flags: superreview-
Attachment #174465 -
Flags: review?(john)
Reporter | ||
Comment 18•19 years ago
|
||
No idea if the patch still applies nor if this is valid. If someone's interested, feel free to check. Reassigning to get out of my bug list.
Assignee: hwaara → nobody
QA Contact: chrispetersen → layout
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•