2024-08-01 [03:46:26.0361] Anyone with Safari? I wonder if it has changed behavior regarding https://github.com/whatwg/html/issues/2429 [04:18:24.0322] I get `log: 195` on Safari Technology Preview (Release 199 (Safari 18.0, WebKit 19619.1.22.5)) and Safari (17.5 (19618.2.12.11.6)) 2024-08-02 [20:37:24.0443] Following up on this, for my usable Dialog component, I eventually added a custom function to loop back to first focusable element and visa versa to encapsulate the tabbing. I have seen some concerns about accessibility where it is trapping users to make a decision when they want to move to address bar or other browser controls but it works for me because my Dialog always has escape method that can not be blocked. [20:37:33.0300] * Following up on this, for my re-usable Dialog component, I eventually added a custom function to loop back to first focusable element and visa versa to encapsulate the tabbing. I have seen some concerns about accessibility where it is trapping users to make a decision when they want to move to address bar or other browser controls but it works for me because my Dialog always has escape method that can not be blocked. [02:31:39.0972] Not with Safari but I've been poking around this in webkit https://github.com/WebKit/WebKit/pull/31055 [02:31:57.0754] My impression is that all image loading is sync [02:32:05.0796] (I'm trying to fix that) [08:20:33.0882] But the spec issue hints that some stuff in webkit is async 2024-08-04 [21:15:25.0654] Adam Rice: Any more thought on the stream close question above? Why is close() alone not sufficient? When constructing a ReadableStream it is unexpected that you need to call controller.byobRequest.respond(0) after close() when no data is enqueued or risk causing the stream reader to hang. 2024-08-05 [04:10:11.0640] > <@schickb:matrix.org> Adam Rice: Any more thought on the stream close question above? Why is close() alone not sufficient? When constructing a ReadableStream it is unexpected that you need to call controller.byobRequest.respond(0) after close() when no data is enqueued or risk causing the stream reader to hang. Sorry, I don't remember what the reason was, and I haven't been able to find the original discussion. 2024-08-06 [22:19:38.0537] > <@schickb:matrix.org> Adam Rice: Any more thought on the stream close question above? Why is close() alone not sufficient? When constructing a ReadableStream it is unexpected that you need to call controller.byobRequest.respond(0) after close() when no data is enqueued or risk causing the stream reader to hang. I suggest filing an issue on whatwg/streams. Async discussion will likely get more participants and someone might be able to help. And if there is no good answer we can use the issue to track fixing it. (I myself have not really been able to follow the issue across the multiple chat messages which often come in while I'm afk :)) [07:30:59.0090] https://dom.spec.whatwg.org/#dom-event-preventdefault - this mentions that calling `preventDefault` can have no effect. Does that mean `event.defaultPrevented` will remain false? [07:31:42.0378] Or does it just mean that the dispatcher of the event may do nothing with that information [11:30:00.0719] I think the latter. [15:56:57.0203] Hi everyone! 👋 I’m new here and excited to join the conversation. I’m keen to learn more about HTML and related topics, and I’m looking forward to diving into some great discussions with all of you. If you have any tips or resources for someone just getting started, I’d love to hear them! Thanks for having me! 2024-08-07 [11:08:55.0756] Domenic: Adam Rice Create this ticket https://github.com/whatwg/streams/issues/1321 [11:09:05.0245] * Domenic: Adam Rice Created this ticket https://github.com/whatwg/streams/issues/1321 2024-08-08 [04:58:46.0540] > <@gentlgeek:matrix.org> Hi everyone! 👋 I’m new here and excited to join the conversation. I’m keen to learn more about HTML and related topics, and I’m looking forward to diving into some great discussions with all of you. If you have any tips or resources for someone just getting started, I’d love to hear them! Thanks for having me! Welcome! Maybe https://wpc.guide/ is of interest [05:41:30.0933] I have gone through the material and I think it will be of great benefit. There is a lot to learn, thankyou so much, I really appreciate your effort 👍️. 2024-08-09 [02:28:42.0406] > <@jakea:matrix.org> https://dom.spec.whatwg.org/#dom-event-preventdefault - this mentions that calling `preventDefault` can have no effect. Does that mean `event.defaultPrevented` will remain false? In case the cancelable attribute is falsy, or if the passive listener flag is set, it indeed does nothing. https://dom.spec.whatwg.org/#set-the-canceled-flag [04:21:34.0355] annevk: Regarding https://github.com/whatwg/url/issues/815#issuecomment-2275009761 , do you have a recollection of why the ASCII asterisk and double quote are allowed in the domain name by the URL Standard? [12:06:56.0833] spam 2024-08-11 [04:01:38.0249] Hello, I have recently been working on trying to implement `console.table` for the LadyBird browser and I have came across the `console` WHATWG repo. Unfortunately, there was no algorithm defined for `console.table`; so, I decided to investigate how Chromium and Firefox implement it and tried to figure out the algorithm. I created a pull request to https://github.com/whatwg/console/pull/237 that tries to describe the algorithm. Please let me know of your comments and concerns about this since this is my first ever contribution to Whatwg. [10:41:37.0255] Hallo 2024-08-13 [02:20:16.0971] I just found out that implementations use a decimal library to implement `` while HTML says nothing of the sort. Didn't realize that when initially reporting https://github.com/tc39/proposal-decimal/issues/80. Does anyone know more about this? [13:30:46.0476] Hi [13:31:02.0646] Hi 2024-08-14 [18:18:38.0457] > <@annevk:matrix.org> I just found out that implementations use a decimal library to implement `` while HTML says nothing of the sort. Didn't realize that when initially reporting https://github.com/tc39/proposal-decimal/issues/80. Does anyone know more about this? We had to do this in jsdom to pass web platform tests. [10:43:33.0737] So maybe someone wrote some non-floating-point-compliant WPTs and everyone just decided to copy in a decimal lib? lol [10:53:14.0539] I mean if the spec doesn't define behaviour, and everyone thinks it's the right behaviour from a UX point-of-view, then making the tests pass is unsurprising. Or people blindly following the tests, unless it goes against the spec. Or just completely blindly following the tests. 2024-08-15 [18:05:17.0595] I admit not reading the spec closely when we implemented in jsdom but I kind of assumed the spec was based on mathematical infinite-precision numbers. [00:14:49.0152] I assumed that for a long time too, but looking at it today it just references floating-point math? [01:16:33.0469] I'm not sure, I think it only references floating-point for the parsing/serialization? [01:17:06.0484] The tests are for stepUp() etc. IIRC which says "Let value be the result of adding delta to value." [02:22:21.0916] Ah, I guess that's fair. [02:22:53.0300] Still, some additional clarity on this wouldn't hurt. Perhaps once we sort out numbers in Infra. [05:11:37.0097] > <@annevk:matrix.org> So maybe someone wrote some non-floating-point-compliant WPTs and everyone just decided to copy in a decimal lib? lol Are the relevant tests https://wpt.fyi/results/html/semantics/forms/the-input-element/number.html? or somewhere else? [05:14:20.0827] hmm, I guess it’s probably not those, because Ladybird passes most of those [05:17:34.0613] Anyway, I believe Ladybird implements the core `` requirements per-spec — that, is Ladybird uses a double parser. And so, if the WPTs don’t match the spec requirements, then Ladybird should be failing those [06:34:26.0878] > <@gasim:matrix.org> Hello, I have recently been working on trying to implement `console.table` for the LadyBird browser and I have came across the `console` WHATWG repo. Unfortunately, there was no algorithm defined for `console.table`; so, I decided to investigate how Chromium and Firefox implement it and tried to figure out the algorithm. I created a pull request to https://github.com/whatwg/console/pull/237 that tries to describe the algorithm. Please let me know of your comments and concerns about this since this is my first ever contribution to Whatwg. annevk janbrasna Can I add you as reviewers for this PR? [08:15:58.0144] Gasim Gasimzada: I think Dominic Farolino or one of the other editors is prolly better suited to review, maybe Domenic but I suspect he's very busy; if all that fails I could maybe take a look, but I'd have to ramp up on the whole subject so I'd rather not [08:46:45.0555] Ah, yeah I've been notified about the PR, just haven't had time to look at it yet. Coming back from vacation this week, so still warming up [08:55:18.0691] Samesies. Been going pretty well thus far, but I'm suspecting it's because a lot of other people are away which makes it easier. [09:14:50.0694] zcorpan: I want to confirm something about https://github.com/web-platform-tests/wpt/blob/master/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-reload-navigation-reload.html#L9-L10. Is this statement true because reloads don't go through the "normal" #navigate path, and it is only the normal #navigate path that clears the lazyload resumption steps? (https://html.spec.whatwg.org/C#beginning-navigation:lazy-load-resumption-steps). Is that the idea? [09:16:16.0197] > <@domfarolino:matrix.org> Ah, yeah I've been notified about the PR, just haven't had time to look at it yet. Coming back from vacation this week, so still warming up Thanks! No rush! Just wanted to know who to set in the Checklist for "At least two implementers are interested (and none opposed):" [09:21:13.0713] Gasim Gasimzada: ah, that part you want to lobby implementers for. But I if it's documenting what's already implemented you don't strictly need that. [09:21:39.0582] > <@annevk:matrix.org> Gasim Gasimzada: ah, that part you want to lobby implementers for. But I if it's documenting what's already implemented you don't strictly need that. Makes sense! Thank you. 2024-08-16 [21:39:46.0528] zcorpan: should have CCed you on the email, but FYI in https://groups.google.com/a/chromium.org/g/blink-dev/c/UquTxWTNON0 we're discussing UA styles for + appearance: none, which might be interesting given your past work in the area. [01:01:27.0178] > <@domfarolino:matrix.org> zcorpan: I want to confirm something about https://github.com/web-platform-tests/wpt/blob/master/html/semantics/embedded-content/the-iframe-element/iframe-loading-lazy-reload-navigation-reload.html#L9-L10. Is this statement true because reloads don't go through the "normal" #navigate path, and it is only the normal #navigate path that clears the lazyload resumption steps? (https://html.spec.whatwg.org/C#beginning-navigation:lazy-load-resumption-steps). Is that the idea? Right. https://html.spec.whatwg.org/#reload doesn't call "navigate" [01:03:14.0320] > <@domenicdenicola:matrix.org> zcorpan: should have CCed you on the email, but FYI in https://groups.google.com/a/chromium.org/g/blink-dev/c/UquTxWTNON0 we're discussing UA styles for + appearance: none, which might be interesting given your past work in the area. Thanks [01:06:47.0183] Domenic: iirc I left primitive style for meter undefined because there wasn't consensus, but it seems now we might have consensus [04:19:04.0780] I'm told that AWS API Gateway exhibits a weird behaviour: it splits a list-based field (`Access-Control-Request-Headers`) into multiple field lines. Example: ```http Access-Control-Request-Headers: bar,baz,foo ``` becomes ```http A ``` which I believe is non-compliant [04:19:17.0400] * I'm told that AWS API Gateway exhibits a weird behaviour: it splits a list-based field (`Access-Control-Request-Headers`) into multiple field lines. Example: ```http Access-Control-Request-Headers: bar,baz,foo ``` becomes ```http Access-Control-Request-Headers: bar,baz,foo ``` which I believe is non-compliant [04:20:47.0746] * I'm told that AWS API Gateway exhibits a weird behaviour: it splits a list-based field (`Access-Control-Request-Headers`) into multiple field lines. Example: ```http Access-Control-Request-Headers: bar,baz,foo ``` becomes ```http Access-Control-Request-Headers: bar Access-Control-Request-Headers: baz Access-Control-Request-Headers: foo ``` which I believe is non-compliant. I haven't found anything in RFC 9110 that describes this behaviour (only the reverse, i.e. merging multiple field lines of the same name into one). Am I missing something? Is such a proxy behaviour allowed? [04:21:37.0424] * I'm told that AWS API Gateway exhibits a weird behaviour: it splits a list-based field (`Access-Control-Request-Headers`) into multiple field lines. Example: ```http Access-Control-Request-Headers: bar,baz,foo ``` becomes ```http Access-Control-Request-Headers: bar Access-Control-Request-Headers: baz Access-Control-Request-Headers: foo ``` which I believe is non-compliant. I haven't found anything in RFC 9110 that describes this "splitting" behaviour (only the reverse, i.e. merging multiple field lines of the same name into one). Am I missing something? Is such a proxy behaviour allowed? [04:22:33.0021] * I'm told that AWS API Gateway exhibits a weird behaviour: it splits a list-based field (`Access-Control-Request-Headers`) into multiple field lines. Example: ```http Access-Control-Request-Headers: bar,baz,foo ``` becomes ```http Access-Control-Request-Headers: bar Access-Control-Request-Headers: baz Access-Control-Request-Headers: foo ``` which I believe is non-compliant. I haven't found anything in RFC 9110 that describes this "splitting" behaviour (only the reverse, i.e. merging multiple field lines of the same name into one). Am I missing something? Is a proxy allowed to split list-based fields like this? [04:23:08.0226] * I'm told that AWS API Gateway exhibits a weird behaviour: it allegedly (I haven't verified this yet) splits a list-based field (`Access-Control-Request-Headers`) into multiple field lines. Example: ```http Access-Control-Request-Headers: bar,baz,foo ``` becomes ```http Access-Control-Request-Headers: bar Access-Control-Request-Headers: baz Access-Control-Request-Headers: foo ``` which I believe is non-compliant. I haven't found anything in RFC 9110 that describes this "splitting" behaviour (only the reverse, i.e. merging multiple field lines of the same name into one). Am I missing something? Is a proxy allowed to split list-based fields like this? [07:30:20.0531] it's allowed; see https://www.rfc-editor.org/rfc/rfc9110#section-5.3 (emphasis mine): > a sender MUST NOT generate multiple field lines with the same name in a message (whether in the headers or trailers) or append a field line when a field line of the same name already exists in the message, **_unless_ that field's definition allows multiple field line values to be recombined as a comma-separated list** (i.e., at least one alternative of the field's definition allows a comma-separated list, **such as an ABNF rule of #(values) defined in [Section 5.6.1](https://www.rfc-editor.org/rfc/rfc9110#abnf.extension)**). [Section 5.6.1](https://www.rfc-editor.org/rfc/rfc9110#section-5.6.1) defines "_a #rule extension to the ABNF rules of [RFC5234](https://www.rfc-editor.org/rfc/rfc9110#RFC5234)… for defining comma-delimited lists of elements… and optional whitespace_". [`Access-Control-Request-Headers` is registered](https://www.iana.org/assignments/http-fields/http-fields.xhtml#field-names) with reference to WHATWG Fetch, which [describes its values](https://fetch.spec.whatwg.org/#http-new-header-syntax) as ABNF `1#field-name`, where ["ABNF" explicitly includes HTTP `#`](https://fetch.spec.whatwg.org/#infrastructure). [09:22:33.0943] annevk: TIL: https://www.ietf.org/archive/id/draft-gulbrandsen-smtputf8-nice-addresses-00.html [09:23:09.0508] > <@hsivonen:mozilla.org> annevk: TIL: https://www.ietf.org/archive/id/draft-gulbrandsen-smtputf8-nice-addresses-00.html (Not particularly relevant to what HTML forms need to support, but there's a normative reference to the BNF currently in HTML!) [09:27:40.0880] I guess we should email the authors if we manage to make progress on `` soon. [12:03:04.0281] At the same time it won’t hurt having someone from the existing implementations check this retroactive speccing is aligned with how they’ve been understanding it for what’s shipped in the first place. [12:05:42.0059] But I see you’re having such conversations already in both the spec PR and your implementation PR so let’s see where that leads you;) 2024-08-17 [11:03:56.0090] > <@gibson042:matrix.org> it's allowed; see https://www.rfc-editor.org/rfc/rfc9110#section-5.3 (emphasis mine): > > a sender MUST NOT generate multiple field lines with the same name in a message (whether in the headers or trailers) or append a field line when a field line of the same name already exists in the message, **_unless_ that field's definition allows multiple field line values to be recombined as a comma-separated list** (i.e., at least one alternative of the field's definition allows a comma-separated list, **such as an ABNF rule of #(values) defined in [Section 5.6.1](https://www.rfc-editor.org/rfc/rfc9110#abnf.extension)**). > > [Section 5.6.1](https://www.rfc-editor.org/rfc/rfc9110#section-5.6.1) defines "_a #rule extension to the ABNF rules of [RFC5234](https://www.rfc-editor.org/rfc/rfc9110#RFC5234)… for defining comma-delimited lists of elements… and optional whitespace_". > > [`Access-Control-Request-Headers` is registered](https://www.iana.org/assignments/http-fields/http-fields.xhtml#field-names) with reference to WHATWG Fetch, which [describes its values](https://fetch.spec.whatwg.org/#http-new-header-syntax) as ABNF `1#field-name`, where ["ABNF" explicitly includes HTTP `#`](https://fetch.spec.whatwg.org/#infrastructure). Very interesting! Thanks for the pointers. 2024-08-19 [22:40:22.0800] If anyone has particular topics to discuss at TPAC, we're holding another WHATUP: https://github.com/whatwg/meta/issues/326 [23:58:45.0573] Domenic: further thoughts on https://github.com/whatwg/html/pull/10564? [00:06:40.0467] I think our existing "(the empty string)" convention is good. I would prefer you correct the single capitalized variant you found. I think we could contemplate adding quotes to all keywords (not just in the tables, but elsewhere too) but I think that opens up a lot of questions, e.g. do we do the same for attribute names or element local names? [00:07:06.0649] I'm unclear why we're revisiting this months after Keith's original PRs settled everything on a single style. [00:16:24.0383] I guess I'll do that for now, but I had missed at the time we included parenthesis here. I think that's a rather confusing notation. [00:19:26.0233] (And I do think it might make sense to distinguish a node's local name from a reference to the node itself.) [08:19:51.0202] Anyone know where the click behaviour on `