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)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla9

People

(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)

References

Details

Attachments

(1 file)

In non-verbose about:memory, compartment URLs are shortened: compartment(https://bugzilla.mozilla.org/show_bug.cg...) but layout/shell URLs are not.
Blocks: 683149
Oh, awesome, the ellipsis overflow is hacked using truncateCompartmentName in about:memory.
Attached patch Patch v1Splinter Review
Attachment #558992 - Flags: review?(nnethercote)
Assignee: nobody → justin.lebar+bug
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+
> 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.
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]
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.

Attachment

General

Created:
Updated:
Size: