C H A P T E R  27

Working with the Window Object

The Window object has been added to the HTML specification as part of HTML5. Prior to this, it has been an unofficial standard; browsers have implemented roughly the same set of features in a broadly consistent way. With HTML5, the Window object in the specification incorporates the de facto functionality and a few enhancements. Implementation of this object is mixed; different browsers have different levels of compliance. This chapter focuses on the features that have a reasonable level of support.

Image NoteSome of the advanced features described in this chapter rely on DOM events, which are the ...

Get The Definitive Guide to HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.