WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
123387
Loading XHTML documents breaks defer on script tags
https://bugs.webkit.org/show_bug.cgi?id=123387
Summary
Loading XHTML documents breaks defer on script tags
Chris Rawnsley
Reported
2013-10-26 06:37:08 PDT
Created
attachment 215246
[details]
HTML document (needs script.js in same folder) Documents loaded with the mime-type of "application/xhtml+xml" fail to defer JavaScript execution until after the DOM has been loaded. Appears to be a problem with all WebKit-derived that I tested. Firefox 24 and Internet Explorer 11 handle the attached test case correctly.
Attachments
HTML document (needs script.js in same folder)
(376 bytes, application/xhtml+xml)
2013-10-26 06:37 PDT
,
Chris Rawnsley
no flags
Details
JavaScript to defer (needs index.xhtml)
(69 bytes, application/x-javascript)
2013-10-26 06:38 PDT
,
Chris Rawnsley
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Chris Rawnsley
Comment 1
2013-10-26 06:38:08 PDT
Created
attachment 215247
[details]
JavaScript to defer (needs index.xhtml)
Anthony Ryan
Comment 2
2016-05-11 12:15:41 PDT
I just encountered this in the Blink fork used by Chromium, and opened a bug over there:
https://bugs.chromium.org/p/chromium/issues/detail?id=611136
Anthony Ryan
Comment 3
2024-02-13 13:16:33 PST
Unsubscribing from this one going forward. XHTML is dead, as much as I wish it hadn't lost to the "tag soup" of HTML5. The issue got wontfix'd by Chrome. There's just no hope left for strict page syntax.
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