Closed Bug 1196604 Opened 10 years ago Closed 10 years ago

Sibling selectors of #statusbar causes huge restyle

Categories

(Firefox OS Graveyard :: Gaia::System::Status bar, Utility tray, Notification, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.5+, b2g-master fixed)

RESOLVED FIXED
FxOS-S5 (21Aug)
feature-b2g 2.5+
Tracking Status
b2g-master --- fixed

People

(Reporter: ting, Assigned: ting)

References

Details

Attachments

(1 file, 1 obsolete file)

46 bytes, text/x-github-pull-request
apastor
: review+
kgrandon
: feedback+
Details | Review
The sibling selectors [1] of #statusbar cause subtree restyle for all its later sibling (more than 30 and include #windows) when toggle maximized class. This happens when launch application and takes long time on B2G process main thread, which easily delay sync IPC from child process. [1] http://mxr.mozilla.org/gaia/source/apps/system/style/app_titlebar.css#65
Attached file wip (obsolete) —
Those selectors were created in bug 1047988, but the transition still works after removing them.
Attachment #8650248 - Flags: feedback?(kevingrandon)
Attachment #8650248 - Attachment is obsolete: true
Attachment #8650248 - Flags: feedback?(kevingrandon)
Attachment #8650246 - Flags: feedback?(kevingrandon)
Comment on attachment 8650246 [details] [review] [gaia] janus926:bug-1196604.wip > mozilla-b2g:master Seems to work fine. I think I'm ok with this as nothing broke. Thanks!
Attachment #8650246 - Flags: feedback?(kevingrandon) → feedback+
Attachment #8650246 - Flags: review?(apastor)
Comment on attachment 8650246 [details] [review] [gaia] janus926:bug-1196604.wip > mozilla-b2g:master Plenty of css code in that file is useless after bug 1177477. I'm planning to clean it up in bug 1179723, so thank you for fixing this!
Attachment #8650246 - Flags: review?(apastor) → review+
Thank you ;)
Assignee: nobody → janus926
Status: NEW → ASSIGNED
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S5 (21Aug)
Blocks: 1180696
feature-b2g: --- → 2.5+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: