Skip to content

Commit

Permalink
tweak (#364)
Browse files Browse the repository at this point in the history
add some information density to textmetrics, drop textmetrics width (practically redundant with glyphs clientrect)
  • Loading branch information
Thorin-Oakenpants authored Nov 27, 2024
1 parent 70b0a5b commit cc3d55b
Show file tree
Hide file tree
Showing 5 changed files with 287 additions and 304 deletions.
4 changes: 4 additions & 0 deletions js/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ function get_computed_styles(METRIC) {
*/
if ('9f958210' == hash) {notation = tb_green} // TB14 1106
} else {
// https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/41347
// some older (mostly unsupported) win10 and android <= 6 will lack
// fontOpticalSizing, font-optical-sizing, fontVariationSettings, font-variation-settings
// but I consider these out-of-scope
if ('d86abd90' == hash) {notation = tb_green} // TB14 1101
}
}
Expand Down
Loading

0 comments on commit cc3d55b

Please sign in to comment.