Skip to content

Take core 7.2.1, where a pdf's selection keeps both its handles - #677

Merged
andiwand merged 1 commit into
mainfrom
chore/core-7-2-1
Sep 20, 2026
Merged

andiwand merged 1 commit into
mainfrom
chore/core-7-2-1

Conversation

@andiwand

@andiwand andiwand commented Sep 20, 2026

Copy link
Copy Markdown
Member

Two fixes to the pdf view, both reported from this app:

  • core #916 - selecting text hid the words it selected. 7.2.0 gave the ::selection rules a background, because an author rule drops the UA's own; that background is Highlight, which is opaque, and the layer carrying it paints over the glyph layer. It is see-through now.
  • core #917 - marking text left the selection one handle. The selection layer's runs clipped a system font wider than the pdf advance, and a webview draws no handle for an end it cannot see.

Nothing on this side changes with them.

7.2.0 gave the `::selection` rules a background of their own, and it was
opaque, so selecting a word in a pdf hid it. The selection layer's runs also
clipped the text that overflowed them, and a webview draws no handle for an
end it cannot see, so marking a run left one handle.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FJJdfqpnVCKBNHXjAVxSou
@andiwand
andiwand merged commit a106db4 into main Sep 20, 2026
2 of 3 checks passed
@andiwand
andiwand deleted the chore/core-7-2-1 branch September 20, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant