@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.