yomichan/ext
toasted-nutbread 75d3059451
TextSource* API updates (#2236)
* Move TextSourceRange static functions to DocumentUtil

getWritingMode is also simplified

* Update Google Docs range to be empty to match other range sources

* Rename imposterContainer to imposterElement

* Add static creation functions

* Add static creation function

* Remove unused collapse function

* Don't select imposter elements

* Refactor setEndOffset

* Adjust argument order for setEndOffset

* Update TextSourceRange constructor

* Remove unused isConnected

* Cache rects

* Fix test

* Remove unused getRect

* Revert "Fix test"

* Remove cachedRect

* Use the source element rect to handle scroll differences

* Writing mode update

* Remove _cachedRects update

This shouldn't be necessary as the imposter is usually detached
almost immediately after scanning, giving no time for the window
to be resized or scrolled.
2022-09-25 09:37:33 -04:00
..
css Touch and pen input updates (#2172) 2022-06-03 17:11:32 -04:00
data Exclude documentElement from zoom calculation (#2227) 2022-09-20 21:06:39 -04:00
images Structured content links (#2089) 2022-03-17 19:01:59 -04:00
js TextSource* API updates (#2236) 2022-09-25 09:37:33 -04:00
lib Dependency update (#2141) 2022-05-16 21:36:30 -04:00
action-popup.html Improve accessibility of links without href (#1915) 2021-08-28 14:45:25 -04:00
background.html ArrayBufferUtil (#2215) 2022-08-20 12:53:22 -04:00
display-templates.html Add support for guiEditNote to view notes (#2143) 2022-05-29 21:24:41 -04:00
info.html ArrayBufferUtil (#2215) 2022-08-20 12:53:22 -04:00
issues.html Audio download timeout (#2187) 2022-08-20 11:17:24 -04:00
legal.html HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00
manifest.json Version update 2022-09-20 21:11:50 -04:00
permissions.html HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00
popup-preview.html New StringUtil (#2216) 2022-08-20 13:11:38 -04:00
popup.html New StringUtil (#2216) 2022-08-20 13:11:38 -04:00
search.html New StringUtil (#2216) 2022-08-20 13:11:38 -04:00
settings.html Google Docs accessibility update (#2235) 2022-09-24 22:44:40 -04:00
sw.js ArrayBufferUtil (#2215) 2022-08-20 12:53:22 -04:00
template-renderer.html AnkiTemplateRendererContentManager (#2088) 2022-03-14 22:32:08 -04:00
welcome.html HTML page script refactoring (#2162) 2022-05-28 21:57:25 -04:00