Skip to content

[pull] master from mozilla:master#380

Merged
pull[bot] merged 2 commits into
code:masterfrom
mozilla:master
May 20, 2026
Merged

[pull] master from mozilla:master#380
pull[bot] merged 2 commits into
code:masterfrom
mozilla:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 20, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

wooorm and others added 2 commits May 19, 2026 21:10
References <https://bugzilla.mozilla.org/show_bug.cgi?id=1879559>
(“In HCM, the text selection is barely visible”).

Continues work from @calixteman who had a partial patch.

This PR improves viewer text-selection highlighting by rendering
selection shapes in the draw layer.

* add selection overlay rendering in the draw layer
  * significant code relates to selections spanning multiple text
    layers/pages, and edges/end-of-content boundaries
* clear selection on rotate/scale/scroll/spread changes

My main question is: how should it appear?
I don’t have access to the Figma file linked on bugzilla.

In the CSS (`draw_layer-builder.css`) there are 3 blocks:

* default
* `@supports` for browsers supporting `backdrop-filter`
* `forced-colors` mode

So it’s possible to design for those (or more).
Personally, the `backdrop-filter: invert(1)` is the most contrast,
so perhaps it’s better to use something else as the default,
and to use `invert(1)` if high contrast mode is used (maybe with a
`prefers-contrast` media query instead)?
Make text selection more visible (bug 1879559)
@pull pull Bot locked and limited conversation to collaborators May 20, 2026
@pull pull Bot added the ⤵️ pull label May 20, 2026
@pull pull Bot merged commit 5a4d93a into code:master May 20, 2026
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
@pull pull Bot had a problem deploying to code-coverage May 20, 2026 14:03 Failure
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants