WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
283846
[css-contain-2] content skipped with `content-visibility: auto` should still be findable
https://bugs.webkit.org/show_bug.cgi?id=283846
Summary
[css-contain-2] content skipped with `content-visibility: auto` should still ...
Nathan Knowler
Reported
2024-11-29 23:19:05 PST
Created
attachment 473400
[details]
Reduced test with some off-screen content skipped with `content-visibility: auto`. Content skipped with `content-visibility: auto` should still be findable with find-in-page features and in Safari it’s not. I did confirm that content is still accessible in VoiceOver (e.g. if the skipped content includes a link, it’ll surface in the Web Rotor). Latest draft spec (this is not a recent change):
https://drafts.csswg.org/css-contain/#valdef-content-visibility-auto
macOS Version: 15.1.1 (24B2091) Safari version 18.1.1 (20619.2.8.11.12) Safari Tech Preview Release 208 (Safari 18.2, WebKit 20621.1.5.1)
Attachments
Reduced test with some off-screen content skipped with `content-visibility: auto`.
(888 bytes, text/html)
2024-11-29 23:19 PST
,
Nathan Knowler
no flags
Details
Reference video for matching content with a text fragment in Safari 18.3
(126.14 KB, video/mp4)
2025-02-13 11:05 PST
,
Nathan Knowler
no flags
Details
WIP TextIterator changes
(4.95 KB, patch)
2025-02-19 08:04 PST
,
Tim Nguyen (:ntim)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-06 23:20:14 PST
<
rdar://problem/141086607
>
Nathan Knowler
Comment 2
2025-02-13 11:05:05 PST
Created
attachment 474222
[details]
Reference video for matching content with a text fragment in Safari 18.3 I’m adding a video demonstration of how text fragment URLs relate to this bug in Safari 18.3. The behaviour is slightly different than find-in-page. The page scrolls to the location of the match. The matched text displays briefly, before disappearing. This means that content with `content-visibility: auto` that is within the viewport is still hidden.
Tim Nguyen (:ntim)
Comment 3
2025-02-18 23:29:56 PST
rdar://141237620
Tim Nguyen (:ntim)
Comment 4
2025-02-19 08:04:39 PST
Created
attachment 474285
[details]
WIP TextIterator changes My TextIterator changes should be correct, but I'm missing some other part of the puzzle that I can't seem to pinpoint atm.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug