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

Re: sXBL and CSS

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Wed, 19 Jan 2005 09:56:18 +1100
To: www-svg@w3.org
Message-ID: <20050118225618.GA19300@port.mcc.id.au>

Rodrigo Garcia:
> Since there is no shadow content in the sXBL definition, restriction 3.11
> does not apply. Both styles will be then loaded and, by the cascade rules
> for resolving conflicts, the one which is loaded last is the one that
> "wins". Since the style that is loaded last is the sXBL instantiated one, my
> guess is that both circles will be red.

Oops, actually I meant to give this document:

  <svg ...>
      <xbl:definition element="ex:styles">
          <style type="text/css">
            circle { fill: red; }

    <circle cx="100" cy="100" r="50"/>

    <style type="text/css">
      circle { fill: blue; }


    <circle cx="100" cy="300" r="50"/>

Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Tuesday, 18 January 2005 22:56:24 UTC

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