[webkit-dev] Use of -webkit- prefix on CSS Values and Properties

Dan Bernstein mitz at apple.com
Sun Mar 27 10:37:05 PDT 2011


On Mar 27, 2011, at 9:27 AM, Simon Fraser wrote:

> On Mar 27, 2011, at 9:07 AM, Eric Seidel wrote:
> 
>> Do we have any guidelines as to when we use -webkit- for new properties vs not?
>> 
>> For example, when implementing CSS3 properties (like we are this week
>> for the BiDi sprint):
>> https://bugs.webkit.org/show_bug.cgi?id=57181
>> https://bugs.webkit.org/show_bug.cgi?id=50951
>> 
>> It's unclear to me whether -webkit- is required (or even desired) in
>> these cases.
> 
> Since unicode-bidi is part of CSS 2.1 <http://www.w3.org/TR/CSS2/visuren.html#direction>,
> then it shouldn't need to be prefixed, as long as the implementation is consistent with the 2.1 text.

I think Eric is not asking about the unicode-bidi property, but rather about the isolate value, which is not in CSS 2.1. I don’t know that there’s a guideline, but there is precedent for prefixing values (for example, display: box and display: inline-box), so I would recommend prefixing the new unicode-bidi value as well.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110327/bcae6960/attachment.html>


More information about the webkit-dev mailing list