DOM Features You Didn’t Know Existed
summary
Shows concrete DOM methods and what they actually return and change: insertAdjacentHTML, getBoundingClientRect, dataset, scrollIntoView, contains, normalize and many others, with live jsbin demos and code examples. Claims many features date back to IE6 and most are available in modern browsers (notes IE9+ coverage, with some newer bits landing later). Includes how to research support, working snippets that build real behavior, and a link to slides and resources: tinyurl.com/fitc
AI-written summary · about
chapters (28)
- 0:00Intro
- 1:27DOM Features / APIs?
- 3:02JavaScript/ECMAScript
- 5:32Common DOM Features
- 7:17insertAdjacentHTML
- 10:01getBoundingClientRect()
- 11:59The dataset Property
- 14:02e.target vs. e.currentTarget
- 16:02hasAttribute() vs. hasAttributes()
- 16:53Working with Child Nodes
- 18:41compare Document Position()
- 21:07Node.contains()
- 22:48isEqualNode()
- 24:58Computed Styles for Pseudo-elements
- 26:29textContent Property
- 28:25normalize() and splitText()
- 30:52createComment()
- 31:54The API
- 35:47selection Start / selection End
- 37:05setSelectionRange()
- 37:56setSelection Range()
- 38:26getSelection()
- 39:35elementFromPoint()
- 41:29scrollintoView()
- 43:02Browser Support?
- 43:50Get a Good JavaScript Reference
- 44:28Use a DOM Reference
- 44:54Don't Be Afraid of the Specs








