Fwd: Re: Changing attributeType="CSS"

View: New views
2 Messages — Rating Filter:   Alert me  

Fwd: Re: Changing attributeType="CSS"

by Steve Withall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>X-TPG-Junk-Checked: Yes
>X-TPG-Junk-Status: score=-7.9
>tests=RCVD_IN_DNSWL_HI,RDNS_NONE,SPF_HELO_PASS,SPF_PASS
>X-TPG-Antivirus: Passed
>X-TPG-DNSBL: Passed
>X-Authenticated: #1847490
>X-Provags-ID: V01U2FsdGVkX1/d5xE4arDdZ0szmuP5q0POsLsutGEuJyoFNT0h1b
>         W5+cbGua4RIp5k
>From: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@...>
>Organization: Atomare Prozesse - Universität Hannover
>To: www-svg@...
>Date: Mon, 2 Nov 2009 12:45:18 +0200
>User-Agent: KMail/1.9.9
>X-Y-GMX-Trusted: 0
>X-FuHaFi: 0.65
>X-SPF-Guess: pass
>X-W3C-Hub-Spam-Status: No, score=-2.6
>X-W3C-Hub-Spam-Report: BAYES_00=-2.599, SPF_PASS=-0.001
>X-W3C-Scan-Sig: bart.w3.org 1N4uQ3-0006Hj-Ux c56a509cdf0fe5c1ab55c0373a29a2d9
>X-caa-id: 3f4a5988f35c8adc1279
>X-Original-To: www-svg@...
>Subject: Re: Changing attributeType="CSS"
>Archived-At: <http://www.w3.org/mid/200911021145.18947.Dr.O.Hoffmann@...>
>Resent-From: www-svg@...
>X-Mailing-List: <www-svg@...> archive/latest/13044
>X-Loop: www-svg@...
>Sender: www-svg-request@...
>Resent-Sender: www-svg-request@...
>List-Id: <www-svg.w3.org>
>List-Help: <http://www.w3.org/Mail/>
>List-Unsubscribe: <mailto:www-svg-request@...?subject=unsubscribe>
>Resent-Date: Mon, 02 Nov 2009 11:40:09 +0000
>
>Erik Dahlstrom:
> > How about making the 'height' attribute a presentation attribute for
> > SVG.next? I think it's possible to stay backwards compatible while adding
> > the option of specifying the width/height through CSS.
> >
> > Cheers
> > /Erik
>
>Because width and height are not essential, but more a decorative question
>for an element in XHTML for example, it is a pretty good choice to
>have this as property.
>But for a rect element in SVG, width and height are the essential information
>about what kind of rectangle we have, this is not decoration or styling or
>presentation. Therefore I think, they should not be presentation attributes
>or properties like fill. It would be similar to say the d attribute of path
>should be only styling and decoration and the essential information is only,
>that we have a path - not important, what kind of path ;o)
>Of course, once started one has to continue the game: r of circle? rx, ry of
>ellipse or rect? points of polyline and polygon? x1,x2,y1,y2 of a line? -
>essential information or only presentation? ;o)
>
>
>Olaf

The next logical step would be to use a property
to identify the type of shape, and do away with
all the pesky shape elements altogether!   :)

Steve.




Parent Message unknown Re: Fwd: Re: Changing attributeType="CSS"

by Dr. Olaf Hoffmann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Withall:
>The next logical step would be to use a property
>to identify the type of shape, and do away with
>all the pesky shape elements altogether!   :)
>
>Steve.

This idea is already realised.
In SVG tiny 1.2 you can do something like this
(attributes, not properties, derived from WAI-ARIA
respectively RDFa).

Once you have a 'specification' (like wikipedia)
for named shapes, you can refer with attributes
like 'role' or 'property' (!surprise by choice of name!)
to this specification, where the shape is described in
detail.
This can be useful for all these named shapes
SVG has no element for, if it is important, that
a user with no graphical representation can get
a simpler access to the meaning of the graphical
structure as to analyse the value of the d attribute
of path ;o)

Olaf