Bug 18169
| Summary: | [Regression] innerHTML should result in the creation of new child text nodes, while old ones retain their values. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Julien Chaffraix <jchaffraix> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, darin, emacemac7, jonnew, rniwa, sam, webkit-bug-importer, webmaster |
| Priority: | P1 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://people.mozilla.com/~sayrer/2008/tests/innerHTML.html | ||
Julien Chaffraix
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
This sounds like a result of <http://trac.webkit.org/changeset/21861> and <http://trac.webkit.org/changeset/21868>.
Ahmad Saleem
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!
Brent Fulgham
Agreed!
Radar WebKit Bug Importer
<rdar://problem/97934402>
Ryosuke Niwa
*** Bug 93787 has been marked as a duplicate of this bug. ***