hgext/__init__.py
author Anton Shestakov <engored@ya.ru>
Fri, 06 Feb 2015 15:52:55 +0800
changeset 24054 fdf7794be41d
parent 1360 7d439981bec4
child 28450 155e3308289c
permissions -rw-r--r--
hgweb: replace implicit <tbody> with explicit <thead> where appropriate Some templates in paper style use <tbody> elements inside <table> to assign a class to "body" part of that table (in this case, to make rows striped). The problem is that the <tbody> is preceded by <tr> element, which browsers understand as an implicit start of table body, so the following exlicit <tbody> will actually be "nested", which is not valid. Since that first <tr> contains table headers, wrapping it in <thead> is both semantically correct and follows the advertised XHTML 1.1 doctype.

# placeholder