Bug 22011

Summary: Inconsistent interpretation of borked HTML between innerHTML assignment and regular parsing (or document.write)
Product: WebKit Reporter: Anantha Keesara <anantha>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, bfulgham, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
URL: http://-
Attachments:
Description Flags
reduction.zip none

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.