Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9392 closed enhancement (fixed)

[patch][cla] Enhancement: add support for an "ellipsis" class

Reported by: Nathan Toone Owned by: Nathan Toone
Priority: high Milestone: 1.4
Component: Dojox Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by Nathan Toone)

So - all browsers, with the exception of FF support setting a text-overflow of "ellipsis". We can, however, fake this behavior in FF using XUL as demonstrated at http://www.hedgerwow.com/360/dhtml/text_overflow/demo3.php

We can create a style sheet that adds the correct values for all non-FF browsers, and then use a similar XUL approach (leveraging dojo.behavior) to implement the same thing in FF.

A patch follows...

Attachments (1)

ellipsis.patch (19.8 KB) - added by Nathan Toone 10 years ago.
Patch which adds this functionality to dojox.html

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Nathan Toone

Attachment: ellipsis.patch added

Patch which adds this functionality to dojox.html

comment:1 Changed 10 years ago by Nathan Toone

Description: modified (diff)

comment:2 Changed 10 years ago by Nathan Toone

Resolution: fixed
Status: newclosed

(In [17880]) Fixes #9392 - add in cross-browser support for dojoxEllipsis class

comment:3 Changed 10 years ago by Nathan Toone

(In [17923]) Refs #9392 - add support for specifying text you want selectable, with a perf hit in FF - also update test cases and improve performance of html/selectable case

Note: See TracTickets for help on using tickets.