Closed Bug 609303 Opened 14 years ago Closed 8 years ago

.moz-txt-* used by mozITXTToHTMLConv is unavailable in toolkit

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: clokep, Unassigned)

References

()

Details

mozITXTToHTMLConv can be used format plaintext; bold and italic work well since they use the tags <b> and <u>, but underlined text is created with a span with a special class, moz-txt-underscore, (http://mxr.mozilla.org/comm-central/source/mozilla/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp#1171).

Unfortunately searching for the .moz-txt-* classes do not exist in toolkit, only in the Thunderbird themes in comm-central (http://mxr.mozilla.org/comm-central/search?string=moz-txt-underscore&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central).

We recently ran into this issue in Instantbird and had to add .moz-text-underline class to our theme files.  Ideally this should be included in toolkit CSS so other applications do not need to add this class when using a toolkit service.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.