Closed
Bug 943701
Opened 11 years ago
Closed 11 years ago
[Settings] the “Do Not Track” panel is broken
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:1.3+, b2g-v1.3 fixed)
People
(Reporter: kaze, Assigned: eeejay)
References
Details
(Keywords: regression)
Attachments
(4 files, 1 obsolete file)
See attached screenshot:
• the text is unreadable, even in English — we should have some line wrapping here;
• the higlight area does not cover the whole list item.
Reporter | ||
Comment 1•11 years ago
|
||
Another regression of bug 914892.
Blocks: 914892
Keywords: regression
Updated•11 years ago
|
blocking-b2g: --- → 1.3?
Reporter | ||
Comment 2•11 years ago
|
||
Eitan, can you check this one too please?
Assignee: nobody → eitan
Flags: needinfo?(eitan)
Reporter | ||
Comment 3•11 years ago
|
||
The “description” class has been affected by bug 914892, please make sure to check all paragraphs in li.description elements.
Assignee | ||
Comment 4•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Comment 5•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•11 years ago
|
Attachment #8339460 -
Flags: review?(kaze)
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(eitan)
Reporter | ||
Comment 6•11 years ago
|
||
Much better, but the highlight does not cover the whole list item. Do you think you can fix that, too?
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8339460 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14137
Please r? me again after having addressed my previous comment.
Attachment #8339460 -
Flags: review?(kaze)
Assignee | ||
Updated•11 years ago
|
Attachment #8339457 -
Attachment is obsolete: true
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8339460 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14137
After playing a lot more with the paddings/margins, I gave up. This fix, which I am not proud of, removes the :active styling from .description labels.
I also have a suspicion that no highlight here is perhaps a UX decision?
Attachment #8339460 -
Flags: review?(kaze)
Comment 13•11 years ago
|
||
eeejay, please de-assign yourself If you no longer working on this bug.
If you do, please set a target milestone. Thanks.
Flags: needinfo?(eitan)
Reporter | ||
Comment 14•11 years ago
|
||
Comment on attachment 8339460 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14137
I confess I’m not completely pleased by this patch, for the reasons Eitan mentioned (= all items that have multi-line descriptions will lose their :active styling), but I couldn’t come up with a better solution yet — and this patch sure is a necessary improvement.
Given the timeframe, I’d suggest to land this patch (hence my R+) and open another bug to fix the :active styling for the whole Settings app. Arthur, Evelyn, is that OK with you?
Attachment #8339460 -
Flags: review?(kaze) → review+
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(eitan) → needinfo?(arthur.chen)
Comment 16•11 years ago
|
||
The text was placed in a <p> before and has been move to a <span> inside a <label>. Hence it is applied with the following styles that I think is critical to this issue.
ul li > label > span {
line-height: 6rem;
}
ul li > label > * {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
A proper fix would be adding a new semantic in which the above styles are overridden.
Flags: needinfo?(arthur.chen)
Comment 17•11 years ago
|
||
I try to unify almost all list items who looks like `descriptions` because we have a lot of variation of it
Attachment #8349013 -
Flags: review?(kaze)
Reporter | ||
Updated•11 years ago
|
Attachment #8339460 -
Flags: review+
Reporter | ||
Comment 18•11 years ago
|
||
Comment on attachment 8349013 [details] [review]
patch for Gaia/master
Wow, nice work! Thanks for your quick help Pavel.
Eitan, does this look OK to you as well?
Attachment #8349013 -
Flags: review?(kaze)
Attachment #8349013 -
Flags: review+
Attachment #8349013 -
Flags: feedback?(eitan)
Comment 19•11 years ago
|
||
Do you think it solves bug 942618 too?
Assignee | ||
Comment 20•11 years ago
|
||
(In reply to Théo Chevalier [:tchevalier] from comment #19)
> Do you think it solves bug 942618 too?
Just tested that. And not quite. The checkbox is on the wrong side. But ultimately I think the fix should go in pavel's patch.
Assignee | ||
Updated•11 years ago
|
Attachment #8349013 -
Flags: feedback?(eitan) → feedback+
Comment 22•11 years ago
|
||
Thanks guys :)
Landed to master:
https://github.com/mozilla-b2g/gaia/commit/0e153b7211eb525d448470fdcabbd0f22663f9a0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 23•11 years ago
|
||
You rock! Thanks for this really nice cleanup.
Updated•11 years ago
|
Whiteboard: dogfood1.3
Updated•11 years ago
|
Whiteboard: dogfood1.3
Comment 24•11 years ago
|
||
Uplifted 0e153b7211eb525d448470fdcabbd0f22663f9a0 to:
v1.3: 1f60e3f6a0f7a99eba75989eaabb1b1249c67766
status-b2g-v1.3:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•