MantisBT - NetSurf
View Issue Details
0002898NetSurf[All Projects] Generalpublic2026-04-12 18:462026-04-12 18:46
ReporterViatrix C. 
Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
StatusnewResolutionopen 
PlatformGTKOSLinux Mint MATEOS Version21.1
Product Version3.11 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002898: Linked stylesheet combined with non-text in inline SVG stylesheet causes page to load indefinitely
DescriptionNetsurf sometimes loads a page for a long time without displaying it when:

1. A linked stylesheet is present and would apply to the page (current media type applies, etc.). It is irrelevant whether the linked stylesheet exists.
2. An inline stylesheet in an <svg> element is present and would apply to the page.
3. The SVG's inline stylesheet contains non-text (elements, comments, or CDATA blocks).
Steps To ReproduceCreate a file with the following contents:

    <link rel=stylesheet href=style.css>
    <svg><style><!-- --></style></svg>
    loaded

Open it in Netsurf. If it loads without problem, clear the cache and open it again. Sometimes, it will keep loading indefinitely.
TagsNo tags attached.
Attached Files

There are no notes attached to this issue.

Issue History
2026-04-12 18:46Viatrix C.New Issue