HTMLElements.Element contains the following constants:
/** Inline element. */
public static final int INLINE = 0x01;
/** Block element. */
public static final int BLOCK = 0x02;
/** Empty element. */
public static final int EMPTY = 0x04;
/** Container element. */
public static final int CONTAINER = 0x08;
/** Special element. */
public static final int SPECIAL = 0x10;
It would be really helpful if there was a bit more explanation about what they mean. Some (inline, block, empty) correspond to HTML definitions, some don't (notably container), and in all cases, it's not clear what they mean in terms of the function of the tag balancer, the properties of elements flagged with them, etc.
The reason i'd find this helpful is that i'm hacking Neko to deal with my particular screwy input in a certain way, and it all revolves around the way different element types, in particular the unknown element, interact, and that's governed in no small part by these constants.
I recognise that this is going to be a pretty low priority, but i'm hoping it would be a minute's work for whoever wrote this code to explain things a little bit more.
Logged In: YES
user_id=402164
Originator: NO
I fully agree but as you say "it would be a minute's work for whoever wrote this code to explain things a
little bit more" and I'm not the one who wrote this code :-(
@Andy
I assign this issue to you, perhaps will you find some time for it?