v153 · spell check dictionary
The surface, probed
A small API: one attribute and two methods. What makes it worth probing carefully is that the attribute is specified to be absent — not null, not throwing — in a browser without spell checking, which turns the obvious feature test into the correct one.
Each part of the API
| what | present? | reads as | why it is checked this way |
|---|
The secure context requirement
| condition | here | consequence |
|---|
A secure context is not only HTTPS: localhost counts, which is why this page can satisfy the requirement while being served over plain HTTP in development. If the attribute were missing on a page that is otherwise eligible, the secure-context row is the first place to look and it would say so.
Feature detection, done three ways
| expression | result | verdict |
|---|