20 Jul 2021 |
@sideshowbarker:mozilla.org | https://github.com/mdn/content/issues/7049 could use some help/attention from someone among us with strong domain knowledge (and strong opinions…) about Shadow DOM | 11:22:32 |
Domenic | In reply to @sideshowbarker:mozilla.org
per-spec should the following be a document-conformance (authoring-conformance error)?
<input type='text' autocomplete=' ' />
I believe it should per the authoring conformance requirements in https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fe-autocomplete | 16:01:44 |
Domenic | Hmm nope https://html.spec.whatwg.org/multipage/common-microsyntaxes.html#set-of-space-separated-tokens did not say what I thought it said | 16:02:14 |
Domenic | So it seems like both autocomplete="" and autocomplete=" " should be valid? | 16:02:45 |
@sideshowbarker:mozilla.org | oh | 16:20:23 |
@sideshowbarker:mozilla.org | well currently I’m reporting the empty string as invalid, but not the whitespace-only string | 16:21:08 |
@sideshowbarker:mozilla.org | I wonder if something changed in the spec after the time when I originally implemented this in the checker | 16:22:05 |
@sideshowbarker:mozilla.org | though, doesn’t really matter because I need to make it conform to the current spec anyway | 16:24:19 |
@sideshowbarker:mozilla.org | meanwhile FYI for anybody curious, https://github.com/mdn/content/pull/7092 is a PR for converting the sources for all the MDN JavaScript docs from HTML to Markdown | 16:31:21 |
21 Jul 2021 |
@annevk:mozilla.org | Domenic: I can write a simple test for reportError as a start | 15:58:14 |
@annevk:mozilla.org | Domenic: unless you already have something locally | 15:58:21 |
Domenic | annevk: I've got nothing, please do! | 16:00:23 |
DerekNonGeneric | sideshowbarker (et al), something i really appreciate in a lot of docs and specs i have encountered lately is the table of contents that follows you as you scroll and have been looking into seeing how to best implement it for my own purposes similar to the following link: https://ebidel.github.io/demos/sticky-position-event.html | 17:36:13 |
DerekNonGeneric | not surprised it isn't more common, it turns out to be quite an endeavor if wanting to do this in amp, but i found a nice codepen someone wrote up (the code comments are in japanese too, which is fun) https://codepen.io/yuheijotaki/pen/zeqZVd | 17:42:54 |
| travis joined the room. | 20:15:33 |
DerekNonGeneric | the codepen above could be slightly old, but they could have used scroll-padding-top there instead and it would look a lot better to me https://codepen.io/chriscoyier/pen/NJJERg | 22:12:33 |
DerekNonGeneric | (these things are just nice to have, not really anything urgent, but it does seem doable afaict) | 22:16:32 |
@sideshowbarker:mozilla.org | https://github.com/mdn/content/issues/7138 could use some help from somebody with experience writing about Service Worker | 23:57:57 |
22 Jul 2021 |
bkardell | totally random q.... would it be useful for anyone else if the HTML spec had a service worker / offline ? Has someone made a fork like that or something? Was it discussed? | 15:28:25 |
bkardell | I feel like I open this doc for searching very often and it generally takes a long time to load - if my connection just happens to be slow atm it is like... very very slow | 15:29:20 |
bkardell | I guess I could grab the PDF but ick | 15:29:41 |
bkardell | fwiw I have given this about 1m thought | 15:30:02 |
Domenic | It's been discussed and is desired; all the other specs have it. It's just a bit more work nobody has done yet. | 15:30:07 |
Domenic | The loading time issue is Chrome-specific though. | 15:30:15 |
Domenic | And a service worker won't help that | 15:30:21 |
Domenic | It's something about the HTML parser not dealing well with large documents. | 15:30:28 |
bkardell | ok | 15:30:38 |
bkardell | In reply to @domenicdenicola:matrix.org It's something about the HTML parser not dealing well with large documents. yeah wow it is striking | 15:32:13 |
bkardell | never compared in FF before | 15:40:01 |
@annevk:mozilla.org | Browsers should just move to daily updates and bundle the HTML Standard | 16:04:18 |