← The Search Highlight That Deletes Your SelectionQuiz

CSS Custom Highlight API

Test yourself on why wrapping search matches in DOM elements breaks selection, and how the CSS Custom Highlight API avoids the problem entirely.

questions7
pass mark70%
resultsat the end

No account needed. Answer all 7 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.