Closed
Bug 26109
Opened 25 years ago
Closed 24 years ago
need to prevent HINT_CONTENT from doing a restyle
Categories
(Core :: XUL, defect, P2)
Core
XUL
Tracking
()
RESOLVED
FIXED
M18
People
(Reporter: waterson, Assigned: hyatt)
Details
(Keywords: perf)
Implement ".value" API for titledbuttons. Using attributes to communicate changes in value forces the style system to re-resolve style on the titledbutton. Profiling page load showed style re-resolution because of attribute change to account for approximately 5% of the overall load time.
Reporter | ||
Updated•25 years ago
|
Reporter | ||
Comment 1•25 years ago
|
||
this will make mailnews happy too.
Reporter | ||
Comment 2•25 years ago
|
||
hyatt: you're already doing this.
Assignee: waterson → hyatt
Status: ASSIGNED → NEW
Reporter | ||
Comment 3•25 years ago
|
||
PDT: I'm marking this beta1. hyatt already has the changes in his tree, and this will improve page load times in seamonkey by about 5%.
Keywords: beta1
Assignee | ||
Comment 4•25 years ago
|
||
You're still doing the style hint of none bit, right? All I'm doing is adding the properties (which set attributes behind the scenes).
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•25 years ago
|
||
Also, isn't it the scrollbar and progressmeter that really need this done?
Reporter | ||
Comment 6•25 years ago
|
||
I tried changing GetMappedAttributeImpact() to return NS_STYLE_HINT_NONE for <titledbutton value="...">. This caused the titledbutton to *not* render. So I decided it wasn't a good idea ;-). I'm pretty sure that <titledbutton value="..."> is the primary offender, but I'll verify that.
Assignee | ||
Comment 8•25 years ago
|
||
Ok, I checked in some property APIs for various XUL widgets tonight, but this bug still isn't ready to be marked fixed. Now what's needed is to make STYLE_HINT_NONE really work. I have a patch for this. I'm running it by troy, vidur, and pierre to see if it's acceptable. That's where this bug is.
Whiteboard: [PDT+] → [PDT+] Patch in hand. Needs discussion with Gecko engineers.
Assignee | ||
Comment 9•25 years ago
|
||
Ok, current thinking is to make a new hint or patch HINT_CONTENT to do what we want instead.
Assignee | ||
Updated•25 years ago
|
Whiteboard: [PDT+] Patch in hand. Needs discussion with Gecko engineers. → [PDT+] Patch in hand. Waiting on response from Gecko engineers.
Assignee | ||
Comment 10•25 years ago
|
||
Talked to jar. This is not a requirement for beta1. Removing PDT+ designation and moving to M15.
Keywords: beta1
Whiteboard: [PDT+] Patch in hand. Waiting on response from Gecko engineers. → Patch in hand. Waiting on response from Gecko engineers.
Target Milestone: M14 → M15
Assignee | ||
Updated•25 years ago
|
Summary: implement <titledbutton> property API → need to prevent HINT_CONTENT from doing a restyle
Whiteboard: Patch in hand. Waiting on response from Gecko engineers.
Assignee | ||
Updated•24 years ago
|
Target Milestone: M15 → M17
Comment 12•24 years ago
|
||
spam, open xptoolkit qa contact moving over to jrgm
QA Contact: paulmac → jrgm
Assignee | ||
Comment 13•24 years ago
|
||
shaver's changes take care of this.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•