3 ms·
Shortening the statement, >src must contain an URL referencing a resource that isn’t scripted This says nothing about how agent must treat imgs not following
by wruza 9y ago
Shortening the statement,
>src must contain an URL referencing a resource that isn’t scripted
This says nothing about how agent must treat imgs not following these rules. This entire statement is useless, because the specification should explain what to do with given input, not what input must be. POSIX goes UB route, because it describes what to do to get what you want as a careful programmer. Browser cannot be described like that, because an input is random bytes over network that must be interpreted according to safety rules. But this description is pointless in both senses. It doesn’t specify what must happen on invalid input, nor does it describe the options.
Sorry for this rant, but this resembles to me how all other “web” tech is working and described. They just throw a pile of meaningless things together and pretend it’s done, because a reference implementation exists. No surprise there are browser wars and never-ending evolution of the same text-and-images spacerocket tech.
- TheRealPomax 9y agoIf your complaint really is "This entire statement is useless, because the specification should explain what to do with given input, not what input must be", then I have good news: the spec contains far more words, and some of them even cover what you claim it doesn't.