Added a method to the debug object that generates an identifying string (based on id, data-sizes or class) for a DOM node.
Helps identify which nodes are bing referred to, i.e. in "Zero-height block ignored" messages, so that it's easier to figure out what the problem might be.
Added a method to the debug object that generates an identifying string (based on id, data-sizes or class) for a DOM node. Helps identify which nodes are bing referred to, i.e. in "Zero-height block ignored" messages, so that it's easier to figure out what the problem might be.
becomes
which provides a lot more to go on.
Updated for coding style, and removed useless test for id.