See commented out test case in `accessible/tests/browser/e10s/browser_caching_text_bounds.js` :)
Bug 1809695 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
See commented out test case in `accessible/tests/browser/e10s/browser_caching_text_bounds.js` :) ``` // XXX: There's a fuzziness here of about 8 pixels, implying we aren't taking into // account some kind of margin or padding. // /** // * Test character bounds in an intervening inline element with margins // * and with non-br line breaks // */ // addAccessibleTask( // ` // <style> // @font-face { // font-family: Ahem; // src: url(${CURRENT_CONTENT_DIR}e10s/fonts/Ahem.sjs); // } // </style> // <div>hello<pre id="t" style="margin-left:100px;margin-top:30px;background-color:blue;">XX // XXX // XX // X</pre></div>`, // async function(browser, docAcc) { // await testChar(docAcc, browser, "t", 0); // await testChar(docAcc, browser, "t", 3); // await testChar(docAcc, browser, "t", 7); // await testChar(docAcc, browser, "t", 10); // }, // { // chrome: true, // topLevel: !isWinNoCache, // iframe: !isWinNoCache, // } // ); ```