- From: Luke Warlow <notifications@github.com>
- Date: Mon, 22 Apr 2024 06:13:05 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 22 April 2024 13:13:09 UTC
@lukewarlow commented on this pull request. > @@ -6484,8 +6514,19 @@ string <var>namespace</var> (default null):</p> <li><p>If <var>oldAttr</var> is <var>attr</var>, return <var>attr</var>. - <li><p>If <var>oldAttr</var> is non-null, then <a lt="replace an attribute">replace</a> - <var>oldAttr</var> with <var>attr</var>. + <li> + <p>If <var>oldAttr</var> is non-null, then:</p> + + <ul> + <li><p><a>Validate and set attribute value</a> <var>attr</var>'s <a for="Attr">value</a> for + <var>attr</var> with <var>element</var>. + + <li><p>If <var>element</var> <a lt="has an attribute">has</a> an <a>attribute</a> Having said that I'm slightly uneasy about stuff like attribute change steps still firing and how that all works spec wise. Both Chromium and WebKit don't actually follow the spec 100% here and so I think would actually result in a different behaviour to this spec (the index lookup happens after the TT call) so that's also not ideal. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/1268#discussion_r1574737098 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/pull/1268/review/2014725818@github.com>
Received on Monday, 22 April 2024 13:13:09 UTC