- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 10 Mar 2026 09:53:07 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 March 2026 16:53:11 UTC
@foolip commented on this pull request. > + <li><p>Let <var>fragment</var> be the result of invoking the + <a>fragment parsing algorithm steps</a> with <var>context</var> and <var>markup</var>. If this + throws an exception, then return. + + <li> + <p>If <var>fragment</var>'s <a>first child</a> is an <a for=/>element</a>: + + <ol> + <li><p>Let <var>element</var> be the <a>first child</a> of <var>fragment</var>. + + <li><p>Assert: <var>element</var> is an <a for=/>element</a> with <a for=Element>local name</a> + "<code>attrs</code>". + + <li><p><a for=list>For each</a> <var>attribute</var> of <var>element</var>'s + <a for=Element>attribute list</a>, set <var>pi</var>'s + <a for=ProcessingInstruction>attribute map</a>[<var>attribute</var>'s <a for=Attr>local name</a>] Huh, https://software.hixie.ch/utilities/js/live-dom-viewer/saved/14573 uses single quotes, which made me wonder. I put `<?xml-stylesheet href='style.css'?>` into an XHTML document and that already works in Chrome, Firefox and Safari. Not sure why that works. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1454#discussion_r2913125711 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1454/review/3923926412@github.com>
Received on Tuesday, 10 March 2026 16:53:11 UTC