Skip to content

Comment on HTML5 Web Standards Tests for IE9

Comments

Their test for "Set selectionStart and selectionEnd on a text field" tests that selection start and end can be set which should pass in Safari but their test fails because they are asserting that window.getSelection().anchorNode == null after they've set the selection start and end points. This doesn't make sense to me and I don't get that from my reading of the spec. Am I missing something?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.