Re: Lea Verou has a prollyfill challenge for us...

I would love to work on this but I don’t know if I’llhave enough time. I am trying to get the :min-width-prollyfill working for now + the border-shape-corner is a tough case because it actually interacts with other css properties that are already implemented and recognized like box-shadow. Maybe we could make use of variable properties but they are not implemented in any stable browser for now.


That means that you have to hide those properties to the browser and perform the rendering yourself using an SVG background, or dummy elements. That’s possible to do in the static case, but then you have to forget any animation/transition on the background and border properties.


Or do someone have a more robust idea? If we forget box-shadow and animations there are maybe ways to use the ‘mask/clip-path’ properties?






De : Brian Kardell
Envoyé : ‎jeudi‎ ‎28‎ ‎mars‎ ‎2013 ‎22‎:‎58
À : public-nextweb@w3.org, Lea Verou


Lea is working on CSS Level 4 drafts and she has a bit about shaped
corners  (see http://dev.w3.org/csswg/css4-background/#border-corner-shape0)

She has a demo that emulates this which you can see in action at
http://leaverou.github.com/border-corner-shape/ and you can follow the
fork me link to the github source.

There's some question among the WG/implementors about whether this is
a feature anyone wants or needs - and about whether something else
might be better.  Since part of our goal is the speculative forward
implementation of things so that we can let people use features
developed outside of the browser and gather feedback, compete, improve
etc. before things languish or rush through groups - we I can
appreciate both ends of this.

We have multiple members who have done CSS-related prollyfills and
we'd like to get one for this feature so that we can see what happens.
 Anyone interested in volunteering to see what we can do?


--
Brian Kardell :: @briankardell :: hitchjs.com

Received on Thursday, 28 March 2013 22:16:56 UTC