Re: [whatwg] Fwd: Range.createContextualFragment in SVG contexts

On Tue, Oct 28, 2014 at 8:45 AM, Anne van Kesteren <> wrote:

> On Tue, Oct 28, 2014 at 1:35 PM, Daniel Trebbien <>
> wrote:
> > Issues related to Range.createContextualFragment() in SVG contexts are
> > starting to come up in bug reports:
> > -
> > -
> >
> > Should Cameron's idea for changing the HTML fragment parsing algorithm be
> > implemented?
> Now Firefox' fragment parsing is fixed, it seems it behaves the same
> as Chrome. Not sure what's going on.

I linked to the Firefox bug report mainly for context.  Firefox' behavior
seems correct now, and I can confirm that the modified jsFiddle
<> is working correctly in Firefox Nightly
36.0a1 (2014-10-28).

The issue that I am referring to is the behavior of
Range.createContextualFragment() when the context node is not an SVG <svg>
element, but some other SVG element such as an SVG <defs> or <g> element.

Received on Tuesday, 28 October 2014 13:30:04 UTC