tBodies count bug in Opera

Opera 7, 8 and 9 count nested table bodies inside thead and tfoot elements of table using tBodies DOM Level 1 method.

Test

Container table bodies have orange background, nested tables bodies have yellow background.

Every test should return "2".

Table 1
thead
tbody inside thead
tfoot
tbody inside tfoot
tbody 1
tbody inside tbody 1
tbody 2
tbody inside tbody 2
Table 2
thead
tfoot
tbody 1
tbody inside tbody 1
tbody 2
tbody inside tbody 2
Table 3
thead
tbody inside thead
tfoot
tbody inside tfoot
tbody 1
tbody 2

Test results

Real life

This Opera bug caused huge error in rendering of my timesheet system.

Moreover timesheet system become unusable.

Right Firefox rendering screenshot (IE and Safari have the same):


Andrey Petrov

2006-08-24

Valid XHTML 1.0 Strict