Closed
Bug 684323
Opened 14 years ago
Closed 14 years ago
about:memory should use text-overflow: ellipsis in non-verbose mode
Categories
(Toolkit :: about:memory, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file)
5.69 KB,
patch
|
n.nethercote
:
review+
|
Details | Diff | Splinter Review |
In non-verbose about:memory, compartment URLs are shortened:
compartment(https://bugzilla.mozilla.org/show_bug.cg...)
but layout/shell URLs are not.
Assignee | ||
Comment 1•14 years ago
|
||
Oh, awesome, the ellipsis overflow is hacked using truncateCompartmentName in about:memory.
Assignee | ||
Comment 2•14 years ago
|
||
Attachment #558992 -
Flags: review?(nnethercote)
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → justin.lebar+bug
![]() |
||
Comment 3•14 years ago
|
||
Comment on attachment 558992 [details] [diff] [review]
Patch v1
Review of attachment 558992 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for doing this. I tried to do it a while ago but I didn't know the exact CSS incantations.
::: toolkit/components/aboutmemory/tests/chrome/test_aboutmemory.xul
@@ +143,5 @@
> f("2nd", "explicit/a/b/c", HEAP, 1 * MB), // dup: merge
> f("2nd", "explicit/a/b/c", HEAP, 1 * MB), // dup: merge
> f("2nd", "explicit/flip\\the\\backslashes",
> HEAP, 200 * MB),
> + f("2nd", "explicit/compartment(compartment-url)",
Hmm, it's a shame the truncation isn't tested any more. I guess it's difficult because the truncation point depends on how wide the window is?
Attachment #558992 -
Flags: review?(nnethercote) → review+
Assignee | ||
Comment 4•14 years ago
|
||
> Hmm, it's a shame the truncation isn't tested any more. I guess it's difficult because the
> truncation point depends on how wide the window is?
Yes, and it also depends on the specific font we use.
Assignee | ||
Comment 5•14 years ago
|
||
Summary: layout/shell(URL) should have text-overflow: ellipsis in non-verbose about:memory → about:memory should use text-overflow: ellipsis in non-verbose mode
Whiteboard: [inbound]
Comment 6•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla9
You need to log in
before you can comment on or make changes to this bug.
Description
•