Bug 22011 - Inconsistent interpretation of borked HTML between innerHTML assignment and regular parsing (or document.write)
Summary: Inconsistent interpretation of borked HTML between innerHTML assignment and r...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://-
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-31 13:39 PDT by Anantha Keesara
Modified: 2022-09-14 22:34 PDT (History)
4 users (show)

See Also:


Attachments
reduction.zip (1.88 KB, application/octet-stream)
2008-10-31 13:39 PDT, Anantha Keesara
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anantha Keesara 2008-10-31 13:39:39 PDT
I Steps:
 Go to index.html and compare the two leftmost iframes 
 
 II Issue:
 Reduction shows that the problem lies in setting innerHTML with horrible HTML (borked element nesting).
 The issue is the interpretation of the bad HTML differs between these two modes.
 
 III Nightly tested: 37819
Comment 1 Anantha Keesara 2008-10-31 13:39:41 PDT
Created attachment 24812 [details]
reduction.zip
Comment 2 Ahmad Saleem 2022-09-12 15:35:40 PDT
All browsers show "innerHTML" and "document.write()" as empty while only show data in 'data' field.

Safari 16 only has CSS or Table Quirk in this test case where "Table" headings are expanded and pushing the containers in the center of the page rather than showing it like other browsers (Firefox Nightly 106 and Chrome Canary 107).

I think from the data perspective, all browsers are rendering the same so from DOM area, we can close this and as for Quirks, I am already removing "three" table related quirks, so pretty much sure, those would at least partially cover this but still we have lot of tables bugs to cover this as well.

rniwa@webkit.org - Can we mark this as "RESOLVED CONFIGURATION CHANGED"? Thanks!
Comment 3 Ryosuke Niwa 2022-09-14 22:34:49 PDT
All browsers show the same result.