[Adium-devl] WKMV styles and the Set Font control
Peter Hosey
boredzo at gmail.com
Thu Jul 12 15:57:46 UTC 2007
On Jul 12, 2007, at 05:25:29, Chris Forsythe wrote:
> Is there any way we can just ignore whatever explicit stuff is in
> the style, and just allow the user to do what they are wanting to do?
This would be a two-part process:
1. After initially creating the message view and loading the initial
state of its style, walk its DOM tree and kill all font-* rules.
2. After inserting a message, walk the DOM tree and kill font-* rules
again, but this time only affect the last element at each level
instead of all elements.
That sounds like a huge runtime-waster, but obviously, I have not
profiled this solution.
The other problem with it is that it would kill *all* font rules,
including those for non-message text. It's fine for a message view
style to use explicit fonts for anything other than messages (e.g.,
the Trebuchet text in the GoneDark header).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070712/bd0ef3a0/attachment.sig>
More information about the devel
mailing list