Bug 281570

Summary: [content-visibility] content-visibility: auto prevents text nodes in SVG from being painted
Product: WebKit Reporter: Jeremy Keith <jeremy>
Component: CSSAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, rbuis, rik, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Mac (Apple Silicon)   
OS: macOS 15   
See Also: https://github.com/web-platform-tests/wpt/pull/49079

Jeremy Keith
Reported 2024-10-16 06:10:56 PDT
If content-visibility: auto is applied to an element with text elements (or tspan elements), then when that element is painted (by being scrolled into view), the contents of the text elements aren't displayed. Here's a reduced test case: https://codepen.io/adactio/full/WNVjoBP That's from this page: https://archive.thesession.org/tunes/1/#setting20796 The text elements containing "slide", "1" and "2" don't get painted.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-10-16 08:55:36 PDT
Sammy Gill
Comment 2 2024-11-08 13:19:09 PST
Sammy Gill
Comment 3 2024-11-08 13:26:53 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/49079
EWS
Comment 4 2024-11-11 12:47:33 PST
Committed 286447@main (84a4a18b9d5d): <https://commits.webkit.org/286447@main> Reviewed commits have been landed. Closing PR #36342 and removing active labels.
EWS
Comment 5 2024-11-12 14:05:54 PST
Committed 283286.474@safari-7620-branch (9700aa344092): <https://commits.webkit.org/283286.474@safari-7620-branch> Reviewed commits have been landed. Closing PR #2273 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.