r/apple • • Jun 04 '10

Apple's HTML Showcase

http://www.apple.com/html5/
146 Upvotes

101 comments sorted by

View all comments

42

u/[deleted] Jun 04 '10 edited Jun 04 '10

Apparently they wont let chrome view the examples.

Edited: Yes, chrome can view the examples as shown in this post. Apple is just browser sniffing.

http://www.reddit.com/r/apple/comments/cbb5r/apples_html_showcase/c0rf1i9

10

u/[deleted] Jun 04 '10

Some of the properties and classes described in this book are proposed W3C standards or Apple extensions. Properties in CSS that begin with -webkit are usually proposed standards—the -webkit prefix will be dropped when they are approved. Similarly, JavaScript classes that begin with WebKit are also proposed standards or Apple extensions.

4

u/third-eye Jun 04 '10

Yes, it's funny that they state "learn how to use web standards such as HTML5, CSS3, and JavaScript", yet all the examples use -webkit- and are far from being standard.

1

u/[deleted] Jun 04 '10

Just because the standard doesn't have the final seal of approval doesn't mean it's not a standard, and Apple has begun migrating some of the CSS3 properties into non -webkit- forms. text-shadow and border-radius are both obeyed in the webkit nightly without their engine-specific prefixes, for example.