05:50
<annevk>
smaug: file an issue?
08:00
<smaug>
yup, did
10:04
<smaug>
sideshowbarker: is there something like searchfox for ladybird?
10:04
<sideshowbarker>
Not that I know of — unless somebody has set up the wubfox thing (or whatever it’s called)
10:05
<sideshowbarker>
Sam Atkins is one person who would know
10:07
<smaug>
oh, ladybird doesn't follow the spec with deleteContents. It calls into "set the start or end" algorithm, which makes this then safe there
10:08
<sideshowbarker>
If Ladybird is not following the spec on something, and there’s no comment in the code saying why, then per the project policies, that is an unintended bug.
10:12
<smaug>
sideshowbarker: FWIW, I was looking at https://github.com/LadybirdBrowser/ladybird/blob/master/Libraries/LibWeb/DOM/Range.cpp#L1135 And assuming I'm reading that correctly, it ends up calling "set the start or end" algorithm.
10:12
sideshowbarker
looks
10:12
<sideshowbarker>
yeah
10:13
<sideshowbarker>
so, exactly what would it do there instead, in order to strictly conform to the spec?
10:16
<smaug>
The spec says just to set the start and end boundary points. The spec doesn't link to "set the start or end" algorithm
10:16
<smaug>
And the spec is broken
10:16
<sideshowbarker>
I see
10:16
<smaug>
https://github.com/whatwg/dom/issues/1446
10:19
<smaug>
(I think Servo does the same as LadyBird)
10:25
<smaug>
(And gecko does something which someone decided to do in 2002. In normal cases it does what one expects)