OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script src="resources/selection.js"></script> | |
3 <style> | |
4 span { color: transparent } | |
5 span::after { content: counter(dummy) } | |
6 span::selection { background: transparent; color: initial } | |
7 </style> | |
8 <p>You should see the word PASS two times below (no zeros).</p> | |
9 <div id="select"> | |
10 <span>PASS</span><span>PASS</span> | |
11 </div> | |
12 <script> | |
13 selectNode(select); | |
14 </script> | |
OLD | NEW |