2 <script src=
"../../resources/js-test.js"></script>
4 description('When adding focus ring rects, we should avoid adding duplicated rect for continuations');
6 document
.body
.offsetTop
;
8 // - 0: 'SPAN0' part of the span;
10 // - 2: first line box of div DIV1
12 // - 4: first line box of div DIV2
13 if (window
.testRunner
&& window
.internals
)
14 shouldBe("internals.focusRingRects(document.getElementById('focus')).length", "5");
18 <span id=
"focus">SPAN0