WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
302182
[GTK][WPE] Performance test Animation/balls.html does not work because of XHTML 1.0 Strict doctype headers
https://bugs.webkit.org/show_bug.cgi?id=302182
Summary
[GTK][WPE] Performance test Animation/balls.html does not work because of XHT...
Carlos Alberto Lopez Perez
Reported
2025-11-07 14:50:56 PST
The performance test Animation/balls.html does not work on GTK or WPE, it gives error And if the test file is loaded directly on minibrowser you see this: This page contains the following errors: error on line 112 at column 28: StartTag: invalid element name Below is a rendering of the page up to the first error. That is because it is trying to load the page in XHTML 1.0 Strict mode. The strict XHTML doctype forces the browser to parse the inline JavaScript as XML unless is wrapped inside CDATA sections via comments, which isn't happening in this case. So, for example, "angle < Math.PI" breaks parsing because < appears to start an XML tag which is not finished. The Apple port or other browsers (Chromium) seem to ignore the strict mode when parsing the script content, but for some reason WebKitGTK doesn't do that.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Alberto Lopez Perez
Comment 1
2025-11-07 14:57:46 PST
Pull request:
https://github.com/WebKit/WebKit/pull/53610
EWS
Comment 2
2025-11-07 19:57:53 PST
Committed
302759@main
(dcbf1599ac51): <
https://commits.webkit.org/302759@main
> Reviewed commits have been landed. Closing PR #53610 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-11-07 19:58:12 PST
<
rdar://problem/164297540
>
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