Friday, August 27th, 2010

Find Info On Webkit Spec Extensions

Category: WebKit

a>

I stumbled across http://webkit.org/specs recently, which is basically a nifty listing of all custom extensions Apple/Webkit has made to web specs, written up as specs themselves so that other browsers can implement them:

There were some on here that I had never even heard of. The first is the Timed Media Elements spec, which is a fancy name for basically CSS that can control playback of video and audio:

  1. myVideo {
  2.   media-play-state: paused; /* Pause the video. */
  3.   media-play-rate: 50%; /* Play at half speed. */
  4.   media-loop-count: 2;
  5. }

Another interesting spec contains extensions to CSS Media Queries, basically making it possible for user agents to query whether CSS Transforms, Animations, 3D Transforms, and Transitions are available so you can apply different style sheets for platforms that support these CSS effects:

  1. <link rel="stylesheet" media="screen and (transform-2d)" />

Related Content:

Posted by Brad Neuberg at 6:00 am
1 Comment

++---
2.6 rating from 7 votes

1 Comment »

Comments feed TrackBack URI

Nice thing those extensions to CSS Media Queries. It’s often useful to know for example if CSS Backgrounds and Borders Module Level 3 implemented.

Comment by GreLI — August 27, 2010

Leave a comment

You must be logged in to post a comment.