Subject: | method to query whether an element is block or inline |
I seem to often write code using HTML::Parser which wants to do
different things for inline and block elements but none of the modules
have methods to retrieve this information about the various elements. I
always end up putting together a list by trial and error. Something
definitive and deterministic would be a great improvement.