More than one level deep tables fail to validate as xhtml. Only list elements are allowed within lists.

It is easy to add the necessary <li> tags, and the first patch does that. Unfortunately that breaks list numbering (nested lists also count as elements). I don't know how to fix that in a cross-browser way.

The second patch replaces standard list numbering with counters (you can style those same as lists), and it works as supposed; however not in IE ... . IE doesn't support :before pseudo-class, so it doesn't display any numbers at all. It would be probably possible to generate those numbers within the script, or to implement some css hack to handle explorer, but I don't care that much ;)

Both patches done against 5.x-2.0 as this seems to be the most current version (cvs doesn't even have all files?).

You can find an example here: http://www.wrwrwr.org/node/11.

Comments

deviantintegral’s picture

Thanks for the patches. I believe I fixed these issues in #196056, can you test the -dev version and let me know if it works for you?

--Andrew

deviantintegral’s picture

Version: 5.x-2.0 » 5.x-2.x-dev
Status: Needs review » Fixed

I'm marking this as fixed as there haven't been any updates from the contributor. I haven't made the CSS changes since IE compatibility is rather important :). If there is an update to the module which works in IE, please create a patch and file a new issue. Thanks!

--Andrew

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.