[webkit-dev] Removing support for the -khtml- (and -apple-?) vendor prefixes

Peter Beverloo peter at lvp-media.com
Tue Jul 13 00:40:23 PDT 2010


On Mon, Jul 12, 2010 at 22:28, David Hyatt <hyatt at apple.com> wrote:
> On Jul 12, 2010, at 12:09 PM, Maciej Stachowiak wrote:
>
>>
>> The reason for these is historical. Originally, we didn't use a separate vendor prefix for WebKit, just -khtml. Later we changed to -apple.
>
> That's not quite right.  Originally we just had -khtml- for CSS extensions, and then we used -apple- for features that we were Apple-specific, i.e., that we knew nobody else would care about.  Those features include Dashboard regions and Safari RSS line clamping).  Eventually we just decided to merge both into a common prefix, but we wanted to keep the old property names working for compatibility.   It was convenient to just map both to -webkit- rather than actually checking the specific property names and only supporting either -khtml- or -apple-.
>
> My recommendation would be as follows:
> (1) Drop support for -khtml- completely.
> (2) Continue to support -apple- for -apple-dashboard-region and -apple-line-clamp only.
>
> dave
> (hyatt at apple.com)
>
>

I have submitted a patch[1] following your recommendations.

Regards,
Peter Beverloo

[1] https://bugs.webkit.org/show_bug.cgi?id=42093


More information about the webkit-dev mailing list