Revert "Bug 1950748 part 3: Don't return a caret inside an editor when no editor is focused. r=morgan" as requested for causing accessibility crashes (bug 1977012).
This reverts commit aaf970807d281c28c1e937491719d996cb11648a.
This reverts commit f5f2e3cf4d34c2430372ba790d77620837d56b75.
This reverts commit 5565c5899c32c0b0f5446561a21c5b6499fd44c6.
<!DOCTYPE html><!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --><metacharset="UTF-8"><title>OffscreenCanvas test: 2d.drawImage.floatsource</title><scriptsrc="/resources/testharness.js"></script><scriptsrc="/resources/testharnessreport.js"></script><scriptsrc="/html/canvas/resources/canvas-tests.js"></script><h1>2d.drawImage.floatsource</h1><pclass="desc"></p><script>promise_test(asynct=>{varcanvas=newOffscreenCanvas(100,50);varctx=canvas.getContext('2d');constresponse=awaitfetch('/images/green.png');constblob=awaitresponse.blob();constbitmap=awaitcreateImageBitmap(blob);ctx.drawImage(bitmap,10.1,10.1,0.1,0.1,0,0,100,50);_assertPixelApprox(canvas,50,25,0,255,0,255,2);},"");</script>