08:42
<sideshowbarker>
PSA data about self-closing tags: When I added the warning in the HTML checker a couple days ago, I also added a use counter for checking how many documents have start tags with self-closing tag syntax. Result: Only 5.7% of the documents checked have any self-closing start tags. That is, about 57 out of every 1000 documents. That data is from all 2.2 million documents that the checker checked over the last ~48 hours.
08:53
<sideshowbarker>

zcorpan: Would you be able to run an HTTP Archive query to see how well that 5.7% figure aligns with what HTTP Archive shows?

What’d be even more useful than that figure alone is:

  1. What percentage of documents have any void elements?
  2. What percentage of the documents that have void elements have any with self-closing tag syntax?

The use counter I put into the HTML checker is not currently able to check how many documents have void elements. It’s instead only currently able just to check how many documents have void elements with self-closing tag syntax.

If I had to, I guess I could hack a temporary use counter into the HTML checker and parser code to also do #1 above — but it’d require bad fuglying up of the parser code in way that I’m hesitant to do, even if temporarily and just on a branch.

So if we can instead get data back from some HTTP Archive queries — and if especially the how-many-docs-have-self-closing-tags query roughly confirms the 5.7% figure I got from the checker use counter — then that’d help to provide some strong evidence.

10:48
<b0ggl3>
Hello, I have a somewhat silly question: Is WHATWG a legal entity? The reason Im asking is that I have to quote a WHATG standard in a context that requires giving a place of publication. Is there any notion of headquarter that could be used for this purpose?
10:54
<Sam Sneddon [:gsnedders]>
Hello, I have a somewhat silly question: Is WHATWG a legal entity? The reason Im asking is that I have to quote a WHATG standard in a context that requires giving a place of publication. Is there any notion of headquarter that could be used for this purpose?
it is not; there's no reasonable answer for place of publication except for online
11:02
<b0ggl3>
Ok, thanks.
13:21
<annevk>
Domenic: one thing I noticed with review.py is that it didn't reuse the existing origin branch when doing the update. It's not too hard to correct later as git push will tell you what to do, but it would be nice if it sorted that automatically. Would you happen to know offhand what we need to change? Otherwise I can look into it.
13:29
<zcorpan>
sideshowbarker: <meta> is used on 98.9% of pages per https://almanac.httparchive.org/en/2022/markup#fig-10
13:40
<zcorpan>
sideshowbarker: 94.05% of pages use /> syntax on serialize-as-void elements, in the 10k sample dataset
13:40
<zcorpan>
SELECT
  COUNT(DISTINCT page) AS num
FROM
  `httparchive.sample_data.response_bodies_mobile_10k`
WHERE
  page = url AND
  REGEXP_CONTAINS(body, r'(?i)(<(?:area|base|br|col|embed|hr|img|input|link|meta|source|track|wbr|basefont|bgsound|frame|keygen)(?:\s+(?:[^\/>]|\/[^>])*)?\/>)')
13:48
<zcorpan>
sideshowbarker: so either your counter is backwards and counts documents that don't use />, or 943 validations of the 1000 were j9t validating his pages :)
16:29
<annevk>
smaug: https://github.com/WebKit/WebKit/pull/4822
18:22
<smaug>
that is yes what I've been pondering
18:30
<smaug>
It does change the behavior of shadow DOM creation, since images start loading sooner and script execution happens too rather soon (I mean while other nodes are still being added to shadow DOM), but hopefully that would be ok. nolanlawson would streaming approach work for SF?
19:50
<nolanlawson>
It does change the behavior of shadow DOM creation, since images start loading sooner and script execution happens too rather soon (I mean while other nodes are still being added to shadow DOM), but hopefully that would be ok. nolanlawson would streaming approach work for SF?
Streaming is exactly what we'd like for DSD, yes. Given our heavy use of shadow DOM, the alternative would be nothing being rendered until the top-level template end tag is parsed (AIUI).
22:57
<Steven Kuhn>
sideshowbarker: