- From: Jeremie Patonnier <jeremie.patonnier@gmail.com>
- Date: Tue, 19 Aug 2014 17:48:45 +0200
- To: Paul LeBeau <paul.lebeau@gmail.com>
- Cc: www-svg <www-svg@w3.org>
- Message-ID: <CAEi838m3HYfxRMn8MVgcspJLRZNGPf7Cd2dv7aCxKf8WvpSa-A@mail.gmail.com>
2014-08-19 17:18 GMT+02:00 Paul LeBeau <paul.lebeau@gmail.com>: > > Per the spec there is no limitation to the usage of CSS Media Queries > with SVG > > Yeah, I guess I was more asking whether it was clear to implementers > whether something like max-width referred to the SVG width or the page > width. In the spec, the definition of 'width' is: > > The ‘width’ media feature describes the width of the *targeted > display area of the output device*. > > Would it be reasonable to interpret references to width in SVG CSS media > queries refer to the width of the SVG? > No, it's perfectly clear that the area of the output device has nothing in common with the size of the SVG image itself. However, there are rules to define the intrinsic size of the SVG image based on the size of that display area and the various attributs define on the top most <svg> element of any SVG document. If I remember well, it's something that has been discussed a few month ago to make sure all browsers will behave the same (it was not 100% the case at the time and I'm not sure it's already harmonized) > If not, does there need to be a different property for SVG use? > What exactly do you want to achieve? What use case are you talking about exactly? Do you have some examples? -- Jeremie ............................. Web : http://jeremie.patonnier.net Twitter : @JeremiePat <http://twitter.com/JeremiePat>
Received on Tuesday, 19 August 2014 15:49:56 UTC