[
Lists Home |
Date Index |
Thread Index
]
On Mon, Oct 27, 2003 at 07:49:39PM -0500, Gerald Bauer wrote:
> Now let's look what a button looks like in the
> "revolutionary" Microsoft XAML thingy:
>
> <Button Background="LightSeaGreen" FontSize="24pt">
> Calculate
> </Button>
>
> Whow. Compared to the XUL version:
>
> <button label="Calculate" style="background:
> lightSeaGreen; font-size: 24pt" />
>
> This is truly revolutionary and a bold step for
> mankind.
Well, I agree it's an improvement, although more an Evolution
than a Genesis ;-)
In general it's a bad idea to have user-visible content in attributes,
because you can't put markup inside attributes.
Consider (for example) needing something like
Calculate d<sup>2</sup>:
or a possible need to mix right-to-left and left-to-right scripts
with markup to differentiate source languages.
Using CSS rather than ad-hoc attributes is probably better too
(but I am basing this only on a single example) although using
published property names from XSL/FO or SVG would be even better.
Best,
Liam
--
Liam Quin, W3C XML Activity Lead, http://www.w3.org/People/Quin/
http://www.holoweb.net/~liam/
Ankh's list of IRC clients: http://www.valinor.sorcery.net/clients/
|