It turns out there’s something *very* similar in Microsoft Edge’s Devtools, though it appears to use floating panes instead of stacked boxes (maybe? the screenshots are unclear and other screenshots I’ve seen appear to be pane-based).
Regardless, it might be of use — particularly since they **also** added a `z-index` stacking context visualizer! https://learn.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/3d-view/
@Meyerweb There is an attribute called "max-width". Any sane person looking at it will immediately say "hey, look - this will limit how wide this element can become!" It only works for specific elements. It is NOT called "max-width-of-certain-elements".
some values of "width" do not work depending on how the parent width is set. Aside from values like "available", this also includes percentages in certain constellations.
These are just two arbitrary rules, and they affect "obvious" attributes.
@Denian Again, these rules aren’t arbitrary. They’re constructed against the very unique rendering environment of the web. Usually, they are the way they are because the alternatives would be worse, often in ways that aren’t obvious at first glance.
I’m not going to tell you have to like how CSS works, but I am going to tell you that its workings are generally well-reasoned and the result of a lot of thought by people far smarter than either of us.
@chris__martin So maaaayyyyybe that would get some people to rethink their choices?
(Yeah, okay, probably not.)
@Meyerweb I was thinking about that the other day. It really was the best way to understand what my crappy CSS was doing.
It's a pity they killed Firefox Reality for the Oculus - that would have been awesome in VR.
@noleli Similar, but not the full experience. The 3D inspector turned every element into a box with depth and color-coded sides. Panes hanging in space, while nifty, aren’t nearly as clear nor as information-rich.
Also, where is that? I don’t have it as an option in my copy of Chrome 120 (macOS).
@Meyerweb Oh, hm, that’s a shame.
And yeah, now that I’m looking I can’t find it in Chrome, either. It’s in Edge, so assumed was in all Chromium browsers. There are a bunch of options that seem like they would do more what you’re describing, but I can’t get it to work.