Skip to content

fix position calculation for surrogate pairs

6138c2d
Select commit
Loading
Failed to load commit list.
Open

Initial support for using range.getClientRects to measure text. #5922

fix position calculation for surrogate pairs
6138c2d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 5, 2026 in 1s

93.93% (+0.20%) compared to c89c0d5

View this Pull Request on Codecov

93.93% (+0.20%) compared to c89c0d5

Details

Codecov Report

❌ Patch coverage is 95.11754% with 54 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.93%. Comparing base (c89c0d5) to head (6138c2d).

Files with missing lines Patch % Lines
src/layer/font_metrics.js 93.60% 33 Missing ⚠️
src/test/mockdom.js 92.83% 20 Missing ⚠️
src/layer/marker.js 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5922      +/-   ##
==========================================
+ Coverage   93.73%   93.93%   +0.20%     
==========================================
  Files         640      640              
  Lines      137743   138436     +693     
  Branches    14487    14706     +219     
==========================================
+ Hits       129113   130043     +930     
+ Misses       8630     8393     -237     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.