Closed
Bug 624101
Opened 15 years ago
Closed 15 years ago
Make our canvases be moz-opaque
Categories
(Firefox Graveyard :: Panorama, defect)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 4.0b10
People
(Reporter: mitcho, Assigned: ttaubert)
References
Details
(Keywords: perf, Whiteboard: [qa-][good first bug])
Attachments
(1 file, 3 obsolete files)
1.43 KB,
patch
|
Details | Diff | Splinter Review |
According to this page [1] canvas in Mozilla can have the dom attribute "dom-opaque"="true" (bug 430906) and this could speed up their rendering.
[1] https://developer.mozilla.org/En/Firefox_3.5_for_developers
Since, I believe all our tab canvases are always opaque, we should be slapping this on all our canvases.
Reporter | ||
Comment 1•15 years ago
|
||
(In reply to comment #0)
> According to this page [1] canvas in Mozilla can have the dom attribute
> "dom-opaque"="true" (bug 430906) and this could speed up their rendering.
Whoops! Make that "moz-opaque".
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → tim.taubert
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•15 years ago
|
||
Do we need a test for this?
Attachment #503289 -
Flags: review?(ian)
Comment 3•15 years ago
|
||
Comment on attachment 503289 [details] [diff] [review]
patch v1
Looks good to me, bug I'd also like to hear from roc, for verification that this is a good idea.
No test needed.
Attachment #503289 -
Flags: review?(ian)
Attachment #503289 -
Flags: review+
Attachment #503289 -
Flags: feedback?(roc)
Attachment #503289 -
Flags: feedback?(roc) → feedback+
Assignee | ||
Updated•15 years ago
|
Attachment #503289 -
Flags: approval2.0?
Someone approve this! It's an easy win.
Updated•15 years ago
|
Attachment #503289 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 6•15 years ago
|
||
Attachment #503289 -
Attachment is obsolete: true
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Updated•15 years ago
|
Whiteboard: [qa-][good first bug][perf] → [qa-][good first bug]
Comment 7•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 4.0b10
Comment 8•15 years ago
|
||
Should've been moz-opaque='', though.
Comment 9•15 years ago
|
||
(In reply to comment #8)
> Should've been moz-opaque='', though.
Why so? 'true' seems to be working.
Comment 10•15 years ago
|
||
(In reply to comment #9)
> (In reply to comment #8)
> > Should've been moz-opaque='', though.
>
> Why so? 'true' seems to be working.
Right, and when someone wants to revert this, they'll use moz-opaque='false' and have a hard time finding out why that doesn't change anything. See <http://www.whatwg.org/html/#boolean-attributes>.
Comment 11•15 years ago
|
||
Agree with Ms2ger on ='true' being bug-bait. But shorter's better, so why not use just moz-opaque (no ='' or =anything)?
/be
Assignee | ||
Comment 12•15 years ago
|
||
Attachment #504346 -
Attachment is obsolete: true
Attachment #505399 -
Flags: review?(ian)
Assignee | ||
Updated•15 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•15 years ago
|
Version: unspecified → Trunk
Comment 13•15 years ago
|
||
Comment on attachment 505399 [details] [diff] [review]
patch v2, followup
(In reply to comment #10)
> (In reply to comment #9)
> > (In reply to comment #8)
> > > Should've been moz-opaque='', though.
> >
> > Why so? 'true' seems to be working.
>
> Right, and when someone wants to revert this, they'll use moz-opaque='false'
> and have a hard time finding out why that doesn't change anything. See
> <http://www.whatwg.org/html/#boolean-attributes>.
I see! Thanks for setting us straight!
Attachment #505399 -
Flags: review?(ian) → review+
Assignee | ||
Updated•15 years ago
|
Attachment #505399 -
Flags: approval2.0?
Updated•15 years ago
|
Attachment #505399 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 14•15 years ago
|
||
Attachment #505399 -
Attachment is obsolete: true
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 15•15 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•