apple’s HTML5 and web standards

Sep 6, 2011

apple’s HTML5 and web standards

apple’s HTML5 and web standards

apple acquaint a advertise of ¡°HTML5 and web standards¡± on its website Thursday that highlights the akin of abutment for the arising accepted in the company¡¯s Safari and Mobile Safari browsers.

It¡¯s nice to see apple (or anyone for that matter) talking about HTML5 and advertence added than just video. The website showcases HTML5 audio and canvas elements, as able-bodied as CSS 3 transitions and typography tools. It aswell has a nice photo arcade that looks and behaves just like above apple artist Mike Matas¡¯ amazing photo-gallery site.

apple is audition the user-agent cord (the bit of anecdotic abstracts your browser passes to a web server if it requests a page) and alone acceptance Safari users to see the galleries battery aspire 5100 battery . added browsers are finer cut off , behindhand of the actuality that abounding can cede them just fine.

]]>

Worse, apple¡¯s CSS cipher uses alone WebKit-specific selectors ¡ª for example, -webkit-border-radius instead of the absolute CSS 3 selector border-radius. WebKit is the accessible antecedent engine that admiral Safari and Google Chrome. Firefox, IE and Opera can¡¯t accept this cipher as clearly .

Microsoft afresh appear its own HTML5 advertise to advertising the advancing absolution of Internet Explorer 9, and its audience pages are arresting (and work) in any non-IE browser with the able support . Mozilla¡¯s HTML5 audience pages are geared to plan with beginning builds of Firefox, but at atomic added browsers aren¡¯t blocked, and a lot of of the demos in fact plan in Chrome.

To analysis apple¡¯s demos in added browsers, we spoofed the user abettor in Firefox and Chromium and begin that, while several examples do absolutely abort in Firefox, a lot of formed just fine. Naturally, aggregate works after affair in Chromium, because it uses the aforementioned WebKit apprehension engine as Safari. apple is getting artful by authoritative its Acer aspire one battery browser assume added acute than others. That¡¯s not surprising, but we¡¯d be aghast to see absolute developers chase suit.

Modernizr is one of our favorites. This accessible little JavaScript library can ascertain which HTML5 appearance are available. Then, armed with that information, you can again actualize codicillary JavaScript statements to action HTML5 to those browsers that abutment it, but still abatement aback on added agreeable for those that don¡¯t.

There are however, some cases area Modernizr ability be overkill. For example, if you just wish to bury some HTML5 video, you alone charge to ascertain one nelement. If Modernizr isn¡¯t appropriate for your project, analysis out Mark Pilgrim¡¯s account of means to ascertain HTML5 elements. The account of elements and how to ascertain them is an addendum to Pilgrim¡¯s book in progress, Dive Into HTML5.

 

view more : FPCBP136 ,FPCBP136ap