| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <script src="../../../resources/js-test.js"></script> | 2 <script src="../../../resources/js-test.js"></script> | 
| 3 <style> | 3 <style> | 
| 4 .a .b:not(:-internal-spatial-navigation-focus) { background-color: green } | 4 .a .b:not(:-internal-spatial-navigation-focus) { background-color: green } | 
| 5 </style> | 5 </style> | 
| 6 <div id="a"> | 6 <div id="a"> | 
| 7     <select id="sel" multiple> | 7     <select id="sel" multiple> | 
| 8         <option id="b" class="b">1</option> | 8         <option id="b" class="b">1</option> | 
| 9         <option>2</option> | 9         <option>2</option> | 
| 10     </select> | 10     </select> | 
| (...skipping 19 matching lines...) Expand all  Loading... | 
| 30 if (window.internals) | 30 if (window.internals) | 
| 31     internals.settings.setSpatialNavigationEnabled(true); | 31     internals.settings.setSpatialNavigationEnabled(true); | 
| 32 sel.focus(); | 32 sel.focus(); | 
| 33 | 33 | 
| 34 shouldBe("getComputedStyle(b).backgroundColor", "transparent"); | 34 shouldBe("getComputedStyle(b).backgroundColor", "transparent"); | 
| 35 | 35 | 
| 36 a.offsetTop; // Force recalc. | 36 a.offsetTop; // Force recalc. | 
| 37 a.className = "a"; | 37 a.className = "a"; | 
| 38 | 38 | 
| 39 if (window.internals) | 39 if (window.internals) | 
| 40     shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); | 40     shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); | 
| 41 | 41 | 
| 42 shouldBe("getComputedStyle(b).backgroundColor", "green"); | 42 shouldBe("getComputedStyle(b).backgroundColor", "green"); | 
| 43 </script> | 43 </script> | 
| OLD | NEW | 
|---|