W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

[SVGMobile12] more on data types

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Tue, 10 Jan 2006 21:38:56 +0100
Message-ID: <20060110213856.m27rxdeaordc8s0g@webmail.annevankesteren.nl>
To: www-svg@w3.org

I created some simple testcases to check how attribute values are actually
parsed in current browsers:

The first tests case-sensitive matching. In theory the testcase square should be
"black" (the initial value), but in Opera, Mozilla and Internet Explorer with
the Adobe plugin it is "RED". The same is true for the second testcase, all
three render the value " red" as "red".

Given that CSS allows case-insensitive matching I'm not sure how you could use
the parser for these color values. For CSS values it is also doesn't really
matter if they are preceded by a space.

I'm wondering if the SVG WG could describe error handling that more closely
matches what is actually implemented as what is implemented is probably also
used. Also, are things like:

# style="FiLL:ReD"

... allowed? In other words, should inside the "style" attribute and <svg:style>
elements normal CSS rules apply?

It should at least become more clear how to _exactly_ parse such attribute
values. (This is different from describing how they can be used.) Currently
that is not entirely clear to me.

Anne van Kesteren
Received on Tuesday, 10 January 2006 20:39:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:06 UTC