Open cdumez opened 3 years ago
Looks like the Text node merging logic was added to WebKit by a Chromium engineer via https://bugs.webkit.org/show_bug.cgi?id=52686, and the following spec bug was filed at the time: https://www.w3.org/Bugs/Public/show_bug.cgi?id=12584.
Aligning Gecko is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1713492.
The Text
node merging logic should probably be shared with outerText
(though I haven't investigated deeply).
While working on trying to align WebKit's Element.outerHTML setter with other browsers, I noticed a few issues: