Back to chats Igalia's Brian Kardell and Eric Meyer chat about proposals that people wrote in about that seem to have been simmering for years without attention...

Transcription

  • Brian Kardell: Okay. Hi, I'm Brian Kardell. I'm a Developer Advocate at Igalia.
  • Eric Meyer: And I'm Eric Meyer, also a Developer Advocate at Igalia. It's mailbag time.
  • Brian Kardell: All right. Yeah, do you remember for maybe, I don't know, 10 or 15 years, if any developer advocate asked, 'What are the things that you want that you don't have,' everybody would say container queries? Universally, everybody would have the same answer, container queries, right?
  • Eric Meyer: Yeah.
  • Brian Kardell: Unless they said has. Basically, those were the two that have been the 10 or 20 year asks.
  • Eric Meyer: Right.
  • Brian Kardell: And we have them both. And so I was thinking because we were talking about Interop and we were looking at things that actually, Interop got funded that would have had difficulty getting aligned. And then recently we wrote a piece about the work that the Sovereign Tech Agency had funded for Igalia. You and I and some other Igalians sat down and wrote a proposal for things that get submitted for Interop, but they don't get chosen.
  • Eric Meyer: Yeah.
  • Brian Kardell: And there's a lot of that stuff. So I was wondering, 'Gee, I wonder if we ask that question now and somehow we're able to largely exclude the Interop stuff, what is the stuff that you think is just not getting the attention?' Not just what thing that's been submitted to Interop do you think we should prioritize, but what's a thing, a proposal that you saw once that you were like, 'Oh, man, that would make my life so much better,' but then just faded away or that you haven't heard about in a long time, doesn't seem to be going anywhere? I got a lot of participation, but unlike container queries, it was not at all universal.
  • Eric Meyer: You just threw out on social media, 'Hey, what should we...' Like you said, 'What's the thing that you have always wanted and it just somehow never seems to happen and it doesn't come up in Interop discussions and it doesn't come up in other discussions?' And yeah, we got a lot of responses. Well, you, we. I say we, but you're the one who posted it. You got a lot of responses, enough that I don't think we can cover them all.
  • Brian Kardell: Yeah.
  • Eric Meyer: But it seemed like there were a couple of patterns.
  • Brian Kardell: Yeah, there were a few patterns, but it is interesting to just highlight how much stuff that there is and how diverse the wants and desires of the platform are. I don't know, do you know Peter Rushforth? He works for Canadian government in something about cartography. He's super into maps and he has been for a long time, trying to make maps a standard or more standardized. When I was writing that post, I was like, 'I wonder how long it will take Peter to reply, 'Maps?'' Because I knew he was going to and he didn't disappoint. It was only a few minutes. But yeah, maps is his.
  • Eric Meyer: Yeah. I mean, a lot of what we do involves maps.
  • Brian Kardell: Yeah.
  • Eric Meyer: Well, and I say what we do. A lot of the web involves maps, not just Google Maps, but Zillow is an example that's very map based.
  • Brian Kardell: Games.
  • Eric Meyer: Yelp, Grubhub, food stuffs are very map based. And yeah, there are games that are map based.
  • Brian Kardell: Even fiction, right? You have map of Mordor. So all kinds of things that maps are great at. Science, if we wanted to talk about the Mars Rovers or whatever, we want to show maps of Mars. They don't even have to be of the current earth or they could be historical maps of earth, Pangea. So yeah, it's very interesting. And actually, one of the reasons that he was very into this is because we have a map element in HTML and it doesn't do that.
  • Eric Meyer: Yeah, it has very little to do with that.
  • Brian Kardell: But it was actually one of the original uses of that, was that people made interactive actual maps like cartography map.
  • Eric Meyer: Yes. You're able to map shapes within an area. And we use it for, the Microsoft homepage was just one big image that had map defined so that if you clicked in a certain place, it would act like it was... So, yeah.
  • Brian Kardell: Yeah. So full disclosure, I actually subcontracted some work for Amelia Bellamy-Royds, who was doing contract work for the organization that Peter works for in the Canadian government, trying to think of how we could move something forward in that fashion before I ever came to work at Igalia. So it's been a long, long problem. I would still love to somehow move something there forward. Probably not exactly what he's thinking, but I definitely think we can get closer to that.
  • Eric Meyer: Yeah, so that was one.
  • Brian Kardell: Yep.
  • Eric Meyer: Peter, good job. In this list, is this basically in the order that you got replies?
  • Brian Kardell: No, it's just, there's no order, there's no order.
  • Eric Meyer: That's cool. So besides that, was there anything else that sort of didn't surprise you in what people said that they would like to see happen?
  • Brian Kardell: Yeah. I mean, there were a few things that mentioned something about templating in HTML, some kind of declarative custom element syntax. Yeah, a few things around that. And that doesn't surprise me. It actually surprised me that it's taken as long as it has in a way, because I'm not sure why we have so many different answers for this. There are so many different templating languages.
  • Eric Meyer: Like Mustache Handlebars, Nunjucks, et cetera, et cetera, et cetera.
  • Brian Kardell: Exactly, exactly. And then minor, minor variations. I don't know if you remember, but there was, Dust was one and then you have Freemarker was a huge one. And these are only covering a few kind of things. Then when you get into XSL, XSLT, XSL, FO, these were also similar attempts at templating languages of pushing data through and creating some kind of markup. And there are still to this day, new proposals going through W3C that are somehow about taking some data and transforming it into some other markup on the server. And yeah, you would think that we wouldn't need quite so many different ways to do things and that we would have centered on something. The need is real, the desire is real. It's about as old as anything. We're probably closer to it than we ever have been, but also I don't think that we're ever going to get enough of it to really satisfy everybody.
  • Eric Meyer: Yeah. And I mean, we did start out with Server Side Includes. In fact, large portions of my website still run on Server Side Includes, thank you very much. The original Server Side Includes. Yeah, this is one to me that, I get it and yet I'm wary of it just because I guess for me, it is so thoroughly baked in that the web is sort of a stateless medium and templating usually requires some sort of state, at least in the ways that I've seen it. And I know, I'm sure there are exceptions and there's somebody listening right now who's like, 'No, no, no, no, no. The thing that I want to do is not at all stateful.' And okay, cool. But...
  • Brian Kardell: I don't know. I think there's absolutely zero chance that we get anywhere on this until the work gets really funded. So there have been people at Google over the years who have pushed to drive this forward and people at Apple that have worked on it. I don't know, it's just the thing that has come closer is things that would make templating libraries have to do less and be able to do it more, but you're still going to have them. And I don't know.
  • Eric Meyer: Yeah.
  • Brian Kardell: Anyway, the custom elements related asks about templating does not surprise me. And part of that is because that is a spectrum, right? There's Declarative Shadow DOM right now and we can do kind of Declarative elements that don't really do anything, but what you can't currently do yet is stamp them out. So you can't do what you would do with a real sort of CMS type template system where you have a template in the top and then you reuse it multiple times by just passing the delta information. I think that's what a lot of people want, is a shorthand where they don't repeat yourself and make sure it's the same all the time. It feels like you should be able to do that without JavaScript and some amount of that, totally we can.
  • Eric Meyer: Yeah.
  • Brian Kardell: But I feel like we're going to hit the limit and you're still going to need the server side tools and you're going to wind up thinking, 'Well, they're better anyway. I'm not going to redo my whole site to take advantage of this.' Anyway.
  • Eric Meyer: Yeah. No, that makes sense.
  • Brian Kardell: Is there any that you looked at that you were kind of, I don't know, surprised by or though were interesting or resonated with?
  • Eric Meyer: There were a couple that interested me. A couple of people basically said, 'It would be really nice to be able to take the thing that I'm looking at and bundle it up in such a way that I can just hand it off to somebody else on a USB stick and they can just open it even if they're not connected to the web.' Nathan Noeler, for example, said isolated web apps, which is kind of like that. And then somebody named Babel NCAT just said, 'Literally, I'd like a way to Sneakernet some files to my friends and have the web browsers open them without having to run their own local web server, but not be restricted in the way that the file scheme restricts you.'
  • Brian Kardell: Yeah.
  • Eric Meyer: And we actually saw proposals, a couple of presentations about that at TPAC, or last month that was, now that I think about it, in the portable web content format. I don't bring it up as a way of saying, 'Hey, this is moving forward on the standards track,' because it's not at that stage yet. It's being proposed. And that doesn't surprise me that that showed up. To a certain extent, it surprised me that it only showed up a couple times, but I guess also we have to figure that if you're asking people on social media, these are probably mostly people who have access to high bandwidth and constant connectivity. And so maybe this is just not a thing that occurs to most people.
  • Brian Kardell: Yeah, so a couple of notes. Like you were saying, it's not like this proposal's on the standard track, this presentation is part of a pitch meeting where people can bring potentially interesting proposals and pitch it to community at the W3C. And then the community can discuss, 'Where does this go? Does it go to a community group? Are we interested, are we not interested? Is there prior work that this should acknowledge? Does it belong at a different standards body? What do we think, basically?' So it's a little bit like what we want, used to do.
  • Eric Meyer: Yeah, yeah.
  • Brian Kardell: Anyway, as I think was mentioned in that, there have been lots and lots and lots of adjacent things to this and so many minor variants. When you step back and think about it, a lot of the embedded work we do comes with a website installed on the device and you have some of these same kind of concerns. And the whole thing with isolated web apps, if you don't know what isolated web apps are, they're something that currently only works in Chrome OS and they're a specially signed package that is, it's only web content but it is like an APK or whatever that you would install on your phone, but you can install it on your Chrome OS device. And with it grants a lot more privilege, but the privileges are very isolated to that. They're very, very sandboxed. Some of the really, really powerful features, and don't ask me which ones because I can't recall, but are limited to isolated web apps. But yeah, currently there is a working group, the web views community group, that is trying to gather lots and lots of related, interesting concerns like this and talk about them. And I think if you go back even to June or whatever when we were having this, 'Well, okay, what is the web,' conversation with people from W3C, they circle around some of these same things. How does the internet archive work? You know what I mean? They also want to archive things for archival purposes. So many variants of not just a HPS URL protocol on a domain, now what? We don't really have answers. IPFS is a similar thing. Any distributed web thing has a bunch of stuff to figure out. So it doesn't surprise me at all that it comes up. It does surprise me that it's only a few. And I would say the thing I think we should do about that is get as many people to actively participate in that community group and see if we can get people to agree on something, anything that starts the ball rolling.
  • Eric Meyer: Yeah. Another one that seemed to come up, it didn't exactly come up the same every time, but a pattern that I felt like I saw was people wanting it to be easier to polyfill effectively. I mean, there was one. Now I'm not finding it in the notes here. Give me a second, we can edit this bit out. Yeah, here we go. Yeah, so Burton Smith said Brahmos posted a proposal a while back where you could add CSS polyfills to the browser, but that's sort of the one that was the most explicit about just being able to extend the browser as a developer. There were other things that people said that either were about that or were implicitly about that.
  • Brian Kardell: Yeah.
  • Eric Meyer: And that didn't surprise me. I always worry about it a little bit because I'm always a little bit worried that if we make browsers polyfillable enough, that some browser makers will just decide, 'You know what? We're done adding things.' People could do their own thing. If you want this cool CSS-like feature, go ahead and write it yourself. And that's probably being a little bit Chicken Little, but I do have that. I guess it's because I remember when Microsoft just stopped developing their browser for half a decade and basically, there was this huge period where everything's essentially stagnated. And I don't want to go through that again, but it might be that. But I get a little paranoid about that sometimes. If we make this too easy to just write your own extensions, then suddenly the web will just get completely fragmented if browser makers just decide that they would rather not invest in the browser teams because the developers are taking care of all that for them. But on the flip side, maybe that would be much better, right? Maybe it would be much better if we just had browser teams very concentrated on security updates and let us, the community, do our thing, whatever thing we want to do. And maybe that would be good, I don't know.
  • Brian Kardell: I think if there's one thing that I could sort of go back in time and argue harder for, I didn't feel like I had the sort of credibility to argue harder against some of the people that I was arguing with at the time, but I thought that you need to speculatively polyfill something adjacent in a safe space and that it was different than, we called it polyfilling then. And the example that I use is polyfill is that sort of spackle that you use to fill a hole, whereas speculative polyfilling is you're building the whole wall. You know what I mean? And it should look as close to real as humanly possible. You don't want it to work in ways that the browser doesn't work or do things that the browser wouldn't do. You want to stay really close to the platform. But I don't think it's the same as a polyfill where you have three implementations and you're missing a fourth one, or you have two implementations and you're missing a third one where you are spackling a hole. The reason being that you are building the wall and when you build it out in the wild, you can't make changes then. Things get baked in, in ways that are problematic to change or whatever. And we have seen a lot of problems from polyfilling because sort of like Chrome ships an initial thing and then they also ship a polyfill and it's like, 'Well, this is just how it's going to be.' And I don't know, that's caused a lot of problems to the point that there are a number of people who think, have openly stated, 'I really wish we couldn't polyfill,' which is worse to me because I think that there is value in both the spackly kind of polyfills. I think the web wouldn't have gotten anywhere without that kind.
  • Eric Meyer: Yeah. No, that's true. Yes. Well, yeah.
  • Brian Kardell: I mean, it would've been certainly harder for it to.
  • Eric Meyer: Yes, yes.
  • Brian Kardell: And I think that there is a lot of real potential for the kind of speculative polyfill where, if we want a new element, let's make a new element that is not... It's a custom element. It has a prefix in it and we can figure out exactly what it should do. We can popularize the slang of it. We can make sure that it really is what we want, and then we can make a non-dashed native version. And does it mean that you will automatically switch? No, you can't because we don't know. Until the future arrives, we don't know what it looks like for sure. So you can't mess around in the kind of non-dash rise space, but it should be relatively easy for you to switch and adopt the native one, hopefully. But even if you don't, the other one was serving its purpose pretty well, so that's fine. Anyway, you just kind of triggered my thoughts on the Polyfill conversation.
  • Eric Meyer: No, that's cool.
  • Brian Kardell: Roma, who we had on, actually wrote a whole blog post. We had a few people who were like, 'I need more words than can fit in one.' And they either chained them together or they sent me something or whatever. So he wrote a whole blog post on this and he had overflow in the block direction. And he said it was resolved in January 2025, so almost two years ago. And the corresponding column-height property shipped in blink for quite some time, February this year, but it's nowhere close in other browsers. And it is true, I don't know that I've heard of any work on that. Is it... I can't remember if I saw it on the Interop submissions?
  • Eric Meyer: I don't think so, actually. I don't remember that coming up.
  • Brian Kardell: It doesn't seem to be... This is actually a great one to talk about because this seems very, very solvable. If all of the people who were the niche sort of areas who were interested in this, who have some business presence would fund the work, we could close that gap really quickly because most of the work is done, it's just implementation and priorities. And for years and years and years, this just hasn't been the priority of most people. But if you had, I don't know, The Washington Post, The New York Times, whoever traditional media that uses the web and wants this kind of thing, finds value in it, or O'Reilly Media or whoever, publishers.
  • Eric Meyer: Sure.
  • Brian Kardell: Totally, I think we could get it done.
  • Eric Meyer: Yeah. I just did a quick search of the Interop proposals. There were no proposals with either the word column or the word overflow in their titles, so looks like probably not. But there you go.
  • Brian Kardell: Named container query length units is another one resolved in 2023, to add a function for every container query unit that allows reference to a named container. No progress since then. I vaguely remember that, but I've not heard a lot of people asking for it, though. I wonder, have you?
  • Eric Meyer: No. It's actually interesting to me how quiet I feel people have been about container queries.
  • Brian Kardell: I was going to say, I was like, I didn't want to mention at the beginning of the show, but I feel like container query is one of those things where we got it and everyone was like, 'Oh, yeah, it's kind of cool.' Almost underwhelming compared to the desire for it. It just sort of landed with a bit of a whimper.
  • Eric Meyer: Yeah. I mean, to be fair, people have written about using container queries.
  • Brian Kardell: Sure, sure, yeah.
  • Eric Meyer: They don't seem to have been as revolutionary as everyone seemed to think that they would be, so anyway.
  • Brian Kardell: He also had strong cascade layers.
  • Eric Meyer: Yeah. Which, Miriam Suzanne actually also basically answered your post, saying the same thing.
  • Brian Kardell: So Mia, I actually was talking to her at TPAC. And I wish somebody would fund some of this work because we don't have the stuff that we should have, that we agreed to figure out on the link element. So there's no way to import with the link element and use media queries or whatever you want on there. And that would just be so nice. If you want to do something like that, you have to do style element or you have to do the whole entire style sheet that uses the layer stuff. I really think it's valuable. Somebody should hire Mia or Igalia or Igalia and Mia to advance that. I don't know. There's no good reason why it's not done. It's just, again, one of those, it's not anybody's priority. So if it's your priority.
  • Eric Meyer: Yeah, I like the sound of that. Yeah, because you can media query link elements, but you can't support, layer or scope them. And yeah, you're right, that should be possible in some way. Do you think, or do you know, is the barrier that essentially you would have to add at least one more attribute in HTML and probably more? Because the way that you could do media queries on link elements is there's a media attribute and then the value is the query. But is the problem that we would then have to add, let's say a layers, a scope and a supports?
  • Brian Kardell: Maybe. I have to go back and look at what is the proposal, but I think, yeah, we would have to add and at least one, probably more than one attribute on link.
  • Eric Meyer: Right. You'd think it would be easier, but-
  • Brian Kardell: But worth it.
  • Eric Meyer: Oh, sure. Absolutely worth it. And you'd think that adding new attributes would be easier, but it's not. I'm sure I've mentioned Jeremy Keith's invocation of pace layers on the chats before, but I'm going to do it again, where he talks about how different things move at different paces, different layers of the stack. And HTML is a very slow, one might even say glacial pace. And then CSS is a faster, more of the fashion pace. And yeah, design is at the flighty, wacky layer. Anyway, yeah, different things move at different speeds and HTML is definitely, as the foundation, moves the slowest. I mean, that makes sense, but anyway. It would be nice to have something a little more generic for the link element. And there's probably other elements I'm not thinking of up there in the head, that it would be nice to be able to say more expressive things about. But anyway.
  • Brian Kardell: A couple of people wrote in with various things about type annotations in JavaScript.
  • Eric Meyer: Yeah, yeah. I'm glad you brought that up. I noticed that too, where there seems to be a little bit of an upwelling of, 'Hey, it'd be nice if we could have type safety in JavaScript mostly.' Yeah.
  • Brian Kardell: Okay, a couple of people also wrote in with something about J Curioso and Mastodon wrote in about PWAs and file folder API and Firefox. So there were some things like that where it's like, 'Hey, I know that's not what you're looking for, but Firefox lags and I can't do this, which means I'm screwed or whatever, I can't because of some lagging feature.'
  • Eric Meyer: Yeah.
  • Brian Kardell: Yeah. Definitely, it's not what I'm looking for, but we should get as much interoperability in these things as possible. And I'm not sure what isn't working in Firefox, but you should definitely talk to, I believe I might even have CC'd in Jake Archibald and Keith Cirkel, both friends of the show and work for Firefox. But yeah, I mean, if they're not getting it done, you support it. Definitely submit it next year for Interop. If it's still not getting done, call us and maybe we can try to submit it somewhere for funding.
  • Eric Meyer: Right.
  • Brian Kardell: It's a good list. It's not exactly what we're looking for, but it's more of the Interop problem than a thing that's just not getting attention. Deeply immutable data structures in JavaScript. I think this does get attention. I just think that it's-
  • Eric Meyer: I though we already had that.
  • Brian Kardell: No, we don't have it exactly.
  • Eric Meyer: Really?
  • Brian Kardell: Yeah, not a deep structure, simple object like that. We have freeze, but that isn't quite this.
  • Eric Meyer: See, silly me. I thought constant meant constant and you-
  • Brian Kardell: Oh, no, no. That just means that that handle can't change, but the things inside that handle can totally change.
  • Eric Meyer: Fascinating. All right, well, there you go. I learned something today.
  • Brian Kardell: Flex wrap detection.
  • Eric Meyer: Yeah. And this was actually related to, or it felt related to me, to something that was someone else requested about being able to count children, or maybe it was the same. Actually, it was the same person. So that you could tell, basically you could tell if a grid was going to start growing by counting the children, right? Because you can set up a grid and then just throw children... In your CSS and then the HTML can throw a bunch of children at it. And you don't necessarily know how many children it's going to be. So with children count, you could start to get an idea of, you might be able to say, 'Okay, below this count of children, here's how I want to structure my grid. And above this count of children, I want to do it this different way.' Flex wrap detection, these to me were both being able to detect what's going on or what's going to go on in the layout and make adjustments as a result.
  • Brian Kardell: This person was, their name is Spartan Atreyu, which is a pretty cool combination of words there, Spartan Atreyu.
  • Eric Meyer: Yeah.
  • Brian Kardell: on mastodon dot social. They also listed... They sent seven things, so we're not going to go through them all, but they also had a better empty that ignores white space. And I think I am very much on board with this because what does empty mean? I mean, this is a very philosophical Zen question almost, but I feel like you don't always mean the same thing. And this has bitten me several times. Every couple of years it comes up and we re-litigate something. So it used to be that if you said it's empty, it meant literally there's nothing in there. And it's like, 'Well, but what if it's just white space?'
  • Eric Meyer: Nope, that's still something.
  • Brian Kardell: Yeah. But now I think we have it so that if it's insignificant white space, it's not. Okay, so all right, what if it has an XML processing instruction inside of it?
  • Eric Meyer: Yeah.
  • Brian Kardell: I mean, what if it has an HTML comment inside of it? What if it has a span and the span has nothing inside of it?
  • Eric Meyer: Then the span is empty, but...
  • Brian Kardell: I think for a lot of people, what you want to say here is appears empty. You know what I mean? You want to say, 'If from a user standpoint, they can't see anything under normal circumstances, then I want to style it like this.'
  • Eric Meyer: Okay.
  • Brian Kardell: You know what I mean? I feel like that's what you want a lot of times. So I worked on a CMS and part of this thing with the CMS was it was using Adobe product called Adobe Experience Manager. And it integrated really nicely with custom elements so you could build custom tags. But the way that it worked is you had this sort of designer and you could drag into the page, into whatever slots you had, like a custom element. And then you could say, 'This one can have content,' so that people can click it and set content inside it. But until they set the content in there, they put a little placeholder that's like, 'Hey, the content will go here.' It's just like a HTML comment or something like that. And what you really want it to do is say, 'Yeah, when it's empty, because there's nothing perceivable to a user in there, then I want to style it like this that's like, 'Hey, big red outline, you need to do something here.'' But you couldn't do that. We've had a lot of conversations about this in CSS over the years. And then also, there are slightly different answers if you're talking about, 'Well, but what if this thing is a text box?' Then empty might have different meaning.
  • Eric Meyer: Yes.
  • Brian Kardell: Because the value, it's not the children or maybe it is the children.
  • Eric Meyer: Right. It almost sounds like what you want is a selector that matches an element that's been auto sized to have no content area in these sorts of cases. So, not even the height. I think if the content area has zero size, which means it either has zero height, zero width or both, then you want to match this, which would then, I should just point out, match elements that have zero content width, but maybe have some padding in the background, which would be rendered. But if you could match no content, for lack of a better term, or no visible content, then that would match. Trying to match... Yeah, I don't know. It feels weird to me just trying to match for, is this thing going to be painted?
  • Brian Kardell: Yeah.
  • Eric Meyer: But maybe that's the right pseudo, is instead of empty, you match on no dash paint, right? Any element that is not going to trigger a paint event of some sort, then please select that and I will do things.
  • Brian Kardell: Yeah. If you want a fun entry point into these discussions, go to github.com/w3c/csswg-drafts, issue1967. And there is loads of fun in there. It's one of those ones with a hundred comments and three CSS working group minutes and links to 15 other issues. So yeah, and that is from 2017, I think, something like that. But it's bringing up an issue that already was a long issue.
  • Eric Meyer: Yeah.
  • Brian Kardell: So very fun. More than one person mentioned it and 100% painful. I also think it's one of those things that tends to get brought up by either a spec writer who's frustrated by it or an individual who's involved with standards and it irritates them, but it's really hard to work through standards issues that way. It really needs somebody who's funded with a mandate to solve this problem. Yeah, somebody prioritize it. I don't see it getting prioritized, unfortunately. So if you make a CMS and this is the bane of your existence, maybe fund that work.
  • Eric Meyer: Yeah.
  • Brian Kardell: What else?
  • Eric Meyer: There's actually one I wanted to mention, that Jason Kuhn mentioned SVG link parameters. Those are not stalled. They're not available, but I will say they're not stalled and they are getting a fair amount of attention. The idea here being that you, for those who aren't familiar with SVG link parameters is that you can, in your link to an external SVG from your webpage, you can pass along parameters. So you could, for example, pass in the current color so that all of the fill colors in the SVG that you're bringing in use that color instead of whatever is baked in so that you can have your SVGs match the current light or dark theme, for example. Or if you offer different color themes, they can be colored to match the color theme without having to do some kind of wacky CSS filters or whatever. You can just pass in, 'Here are the current foreground and background colors for icons,' and the SVG will then use them. Yeah, there's a lot of interest in that. The implementations haven't started yet because the things were still being worked out. I think they're mostly worked out. That was a focus of quite a few TPAC conversations last month, CSS working group meeting conversations at TPAC last month. So yeah, hopefully soon. I also really want that and have wanted it for quite a while. Especially just for light/dark purposes, it's super useful, let alone color theming or whatever. So yeah, that'll be really nice. This is why so many of us embed our SVGs instead of just linking out to a single image. And in fact, I have in our Igalia.com, I have used the browser, the server side templating to pull in the contents of external SVGs and embed them into the page for this exact reason, the lack of the link parameters or the ability to pass styling information into these external SVGs. Yeah, so that would be cool. Let's see.
  • Brian Kardell: Somebody, sorry, I don't remember who said this, was talking about JavaScript needs more math extensions and was talking about Rick Waldron's proposal from long time, 10 years ago, for math extensions that was to just add things that were in popular math libraries about constraints and radians and degrees.
  • Eric Meyer: That was Christoph said that.
  • Brian Kardell: Oh, okay. Yeah, I don't know why nothing happened with it. I don't know why nothing happened with it. I mean, I think plenty of stuff happens in JavaScript and it just didn't make the cut, I guess. I wonder how many people it is really that meaningful to. I think 10 years ago, Rick Waldron was still at Boku, and this was probably his own interest. He was working on, I don't know if you remember, he gave a bunch of talks. He was doing Johnny 5, the robot thing with JavaScript that was kind of fun. But yeah, then I think he went to Salesforce. He might still be at Salesforce now, but I think that he just probably stopped championing it at some point and just nobody picked it up, I guess. The problem is, again, there's just too many things and not enough people who are funded to see something through the many years that it takes frequently to get something done.
  • Eric Meyer: Yeah. And I mean the proposal, I'm looking at it now, is basically like, 'Could we add degrees and radiance to the math object?' That's a large part of this proposal and not a ton else. And there are a few other things. And from the proposal, like he says, there are so many JavaScript libraries that do this. So there's a cow path, let's pave it.
  • Brian Kardell: Yeah.
  • Eric Meyer: But I mean, it could be as simple as, well, you're just asking to add degrees and radiance that the spool up time it takes to get into the math object, figure out how to add those, what the effects will be are the same regardless of whether we're adding two things or 200 things. But at the end of the doing the work, it feels cooler to have added 200 things than to add two things.
  • Brian Kardell: I mean, I think you also run into lots of other proposals that have something to do with numerics or math happening in JavaScript that people go just more valuable.
  • Eric Meyer: Yeah.
  • Brian Kardell: We're still trying to get really great numbers, decimals and things like that.
  • Eric Meyer: I will say the proposal did also include math.clamp, so very similar to the CSS clamp. Here's a value, here's a lower, here's an upper like that. And math.scale, which I don't know that I completely understand, but I'm sure it's useful. So it wasn't two things, it was sort of four things, which again, not to throw shade on it because sometimes adding a couple of things has a huge payoff, but I think maybe sometimes people look at it and like, 'Oh, well this is tiny. The benefit at the other end does not seem commensurate to the amount of effort it will take to do it,' which is weird. And at the same time, I sort of get it. Adding a huge new feature is always sort of more fun and interesting than adding a couple of tiny little things.
  • Brian Kardell: Ah. Well, I mean, there are lots of things that are challenging that you're like, 'Well, let's just do it and be done with it.' I'll say multiple people in here have written in to talk about something around modules. There's so many things around modules, right?
  • Eric Meyer: Yeah, that's true.
  • Brian Kardell: And back in, I don't even know, I mean, it's 2012 or maybe even earlier, we had RequireJS and basically there were more or less, you could write modules that would work everywhere. And they weren't bad, but they weren't a standard. And we probably didn't want to make them a standard. And 100%, the modules that we have are way cleaner, they're more aligned with the right things, but we're still dealing with the pains that come with shifting the way we make modules and also thinking about, 'Well, but how can you package them so that there are multiple in a single thing?' You could do that pretty easily with RequireJS back in the day. It's harder to do here so we have import maps, but then we also have people asking for multiple import maps, import bundles and things like that. So it's like, yeah, it's very difficult as we shift the problem and try to figure out which things to focus on.
  • Eric Meyer: Yeah, that's true. And then I noticed at least a couple people mentioned things that basically have to deal with files and folders, so things sort of outside of the web, as it were. And yeah, I feel like that's very similar because there's always a lot of risk in being allowed access to the user's system. And so file system access, yikes. One of the things that, I don't know if it was exactly mentioned but it made me think of it, like native drag and drop, I would like to see that happen. And that is a proposal that has languished for a while, even just within-
  • Brian Kardell: Yeah, somebody did mention being able to drag out of the browser.
  • Eric Meyer: Yeah. I would just like there to be simple drag and drop. I don't know if they're CSS or what, because there are so many drag and drop libraries. Again, sort of like Rick Waldron was saying about these degrees in radiance, there are a zillion libraries to do this. Yeah, with drag and drop, there are a zillion libraries to do it. Let's make it easier. But that's mine, that's my contribution.
  • Brian Kardell: There's, who was it? Terrence Eden said web monetization. So there is some work happening in that and I think we're going to try to help restart community group discussions and see if we can help the problem space move at least. So no promises, but we're also interested in the problem. We think it's a good problem and yeah.
  • Eric Meyer: Yeah, it'd be a good problem to solve. Because as Terrence says, he said, 'I hope to replace paywalls in advertising.' And that is the long-term vision, is being able to provide ways to let people get income, but not have to paywall or cover their page with 16 forms of advertising in order to try to get a few cents.
  • Brian Kardell: Boy, wouldn't that be nice?
  • Eric Meyer: It would be real nice, especially when I'm on mobile. Because increasingly I'll follow a link that somebody has posted and all of a sudden there's six popups and things sliding in and videos auto playing and my battery loses 5% in about as many seconds.
  • Brian Kardell: Yeah. I don't even know about the battery, but I know that there's lots of new sites including... So I am a huge Steelers fan. Shout out to the Steelers, who lost recently again.
  • Eric Meyer: Oh. Well, pour one out, anyway.
  • Brian Kardell: But they're the site that has a lot of their news that I click all the time, a news story, and I always forget that this is going to be my experience, but it just is like ads overlapping three different... And I can't even dismiss them. And I can see literally, literally one line of text and you cannot read it. It is absolutely unusable. And that's terrible. And it is probably the worst example, but it is not remotely the only one. I mean, there's just plenty of things where you... Even just trying to read the content is almost impossible. You can't tell where it ends, even in a lot of cases because there's so many ads in the middle of the page that you're like, 'Wait, is this the end?' Because you used to reserve that. When you got to the big wall of ads at the end, you're like, 'Well, that's the end. There's no more. This is just click bait from here out of suggesting other things I might be interested in.' But now they don't even wait for you to finish. They interrupt you in the middle of reading the ad and they're like, 'Here's 17 other things we want to distract you with.' So yeah, I think it would be great. I really hope that we can move on, probably not even just one solution. I would love us to have two or three or four ways to not only rely on 17 trillion ads that are worth less and less. I'm not even 100% opposed to ads entirely, I just think that we're getting the shaft of the bargain and the web is suffering for it. We need other options.
  • Eric Meyer: Yes, 100%.
  • Brian Kardell: Shortcuts is the last one I want to mention, I think.
  • Eric Meyer: Yeah, okay.
  • Brian Kardell: It's like keyboard shortcuts. And this is a complicated thing where modern applications deal with keyboard shortcuts, but the web platform doesn't have a nice, accessible, interoperable way to make this happen. And so very hard, need somebody dedicated to work on it. And I just want to say shout out to Keith Cirkel, who is actually working on it and it's not being ignored. Somebody is giving it love and Keith is really, really doing the Bob's work and going back and paying attention to so many things that have not gotten the love that they deserve and that they need. So, thanks for that.
  • Eric Meyer: Salute, Keith.
  • Brian Kardell: Yeah. You should go back and listen to, we had him on, I don't even know, probably a year, year and a half ago, something like that when we were talking about the headings, the web's oldest problem. And that is, I think it might be shipping everywhere. It might be part of Interop, but I mean, it's getting there. It's definitely, if it's not real enough to use now, it's very close.
  • Eric Meyer: It is in, sorry, the heading levels, the heading offset and heading reset, in Safari 27.3 and in, I think, experimental flag versions in all the others.
  • Brian Kardell: Nice, nice.
  • Eric Meyer: So yes, it does seem to be getting close and Keith was-
  • Brian Kardell: Get ready.
  • Eric Meyer: Yeah, get ready. Keith helped push that forward, so he's got a track record.
  • Brian Kardell: Yeah. And not only that, I mean, other things as well.
  • Eric Meyer: Oh, sure.
  • Brian Kardell: Yeah. It's great that we have all these lingering problems and it's just like you have somebody who cares and is employed to care about them and is doing just great work on it, so I'm happy about that.
  • Eric Meyer: Yep.
  • Brian Kardell: Well, yeah, we have wasted another hour. Thank you.
  • Eric Meyer: Hey, now. It was not wasted.
  • Brian Kardell: Yeah. We have spent another hour. Thanks for joining us again. And if you have other things that you want to write in about, we love to hear from lots of people. If you have ideas about what you think we should have on the show, let us know. Yeah, all right.
  • Eric Meyer: Yep, thanks.
  • Brian Kardell: Thanks.