Closed Bug 929840 Opened 12 years ago Closed 12 years ago

[Settings] Select elements should use pure CSS where possible

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Assigned: kgrandon)

References

Details

(Keywords: perf, Whiteboard: [c= p=3 s=2013.11.08 u=])

Attachments

(2 files)

I've noticed that after loading a settings panel, the buttons are intially unstyled, then the styles seem to apply after the panel loads. In addition there is quite a bit of javascript that iterates through each select after a panel loads. I think that we should move this into pure CSS if possible. I've spoken to Pavel about this in the past, but I can't remember why we didn't migrate to a CSS approach.
Summary: [Settings] Buttons seem to "jog" after panel load → [Settings] Select elements "res-in" after panel load
Attached file Github pull request
Will create another bug for the flickering issue.
Summary: [Settings] Select elements "res-in" after panel load → [Settings] Select elements should use pure CSS where possible
Comment on attachment 820774 [details] [review] Github pull request Hi Pavel - Could you give this an initial review? I would like to land this as this removes a lot of duplicated code to simply keep the fake label in sync. I don't see why we need this as we should be able to do this in pure CSS. Thanks!
Attachment #820774 - Flags: review?(pivanov)
Comment on attachment 820774 [details] [review] Github pull request Great job Kevin :) looks very good :)
Attachment #820774 - Flags: review?(pivanov) → review+
Comment on attachment 820774 [details] [review] Github pull request Hi Evelyn - Looking for a settings peer to review this before landing. If you have the time would you be able to take a look at this? Thanks!
Attachment #820774 - Flags: review?(ehung)
Comment on attachment 820774 [details] [review] Github pull request r=me, looks great and much more clear. Thanks!
Attachment #820774 - Flags: review?(ehung) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [c= p=4 s= u=] → [c= p=3 s= u=]
Whiteboard: [c= p=3 s= u=] → [c= p=3 s=2013.11.08 u=]
Folks are requesting this be uplifted to hd? as it fixes a hd bug, so noming.
blocking-b2g: --- → hd?
Depends on: 908949
HD+ing for bug 907708, Kevin, can you see this uplifted to v1.1HD please?
blocking-b2g: hd? → hd+
Flags: needinfo?(kgrandon)
(In reply to Kevin Grandon :kgrandon from comment #8) > Folks are requesting this be uplifted to hd? as it fixes a hd bug, so noming. (In reply to Wayne Chang [:wchang] from comment #9) > HD+ing for bug 907708, Kevin, can you see this uplifted to v1.1HD please? I won't suggest uplift this patch, see bug 938262 comment 14
blocking-b2g: hd+ → hd?
Flags: needinfo?(kgrandon)
(In reply to Evelyn Hung [:evelyn] from comment #10) > (In reply to Kevin Grandon :kgrandon from comment #8) > I won't suggest uplift this patch, see bug 938262 comment 14 Just let me know whatever you guys think is the best route. If we don't uplift this (which needs other dependent bugs), it will be hard to uplift things. I'm more than happy to help out here though - these bugs are my doing after all :)
Attached image screenshot.png
Do not display option list on select screen. Is there other issues? Gaia build ver.: 5ec2963fff60492c840707df8d8090f9908a5251
Flags: needinfo?(kgrandon)
(In reply to hyuna.cho from comment #12) > Created attachment 8334991 [details] > screenshot.png > > Do not display option list on select screen. > Is there other issues? > Gaia build ver.: 5ec2963fff60492c840707df8d8090f9908a5251 I have not tested it, but that does not look like it should be related to this patch.
Flags: needinfo?(kgrandon)
Mass-modify - removal of no longer relevant blocking flags.
blocking-b2g: hd? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: