[Adium-devl] WKMV styles and the Set Font control
Chris Forsythe
chris at growl.info
Thu Jul 12 16:06:45 UTC 2007
Peter Hosey wrote:
> 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).
The main problem I've always had with wkmv has been that I really
dislike some of the fonts that are chosen for the main text of the view.
Is there any way we could just not even parse the font tags at all and
just go with a default font and have the designers develop against that?
Chris
More information about the devel
mailing list