Bug 18169 - [Regression] innerHTML should result in the creation of new child text nodes, while old ones retain their values.
Summary: [Regression] innerHTML should result in the creation of new child text nodes,...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P1 Normal
Assignee: Nobody
URL: http://people.mozilla.com/~sayrer/200...
Keywords: InRadar
: 93787 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-27 16:40 PDT by Julien Chaffraix
Modified: 2022-08-02 09:03 PDT (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2008-03-27 16:40:51 PDT
I found that test case which works on Firefox and Opera. It fails on WebKit nightly but works on Safari2 so it is a regression.

Doing some tests, I have been able to locate the regression between r21869 and r21854.
Comment 1 Alexey Proskuryakov 2008-04-28 10:36:58 PDT
This sounds like a result of <http://trac.webkit.org/changeset/21861> and <http://trac.webkit.org/changeset/21868>.
Comment 2 Ahmad Saleem 2022-08-01 13:26:27 PDT
Took the test case from Wayback archive and changed it into JSFiddle:

Link - https://jsfiddle.net/tmebu62g/show

Wayback Link - https://web.archive.org/web/20080621114250/http://people.mozilla.com/~sayrer/2008/tests/innerHTML.html

It is showing "PASS" across all browsers (Chrome Canary 106, Firefox Nightly 105 and Safari 15.6 on macOS 12.5). I think since all browsers are matching, this can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
Comment 3 Brent Fulgham 2022-08-01 13:53:32 PDT
Agreed!
Comment 4 Radar WebKit Bug Importer 2022-08-01 13:54:17 PDT
<rdar://problem/97934402>
Comment 5 Ryosuke Niwa 2022-08-02 09:03:14 PDT
*** Bug 93787 has been marked as a duplicate of this bug. ***