HTML before

HTML before

table
div

HTML after

HTML after

DEBUG: ---mytable---
DEBUG: outer width: actual=110, expected=110
DEBUG: outer height: actual=60, expected=60
DEBUG: inner width: actual=100, expected=100
DEBUG: inner height: actual=50, expected=50
DEBUG: content width: actual=80, expected=80
DEBUG: content height: actual=30, expected=30
DEBUG: ---mydiv---
DEBUG: outer width: actual=110, expected=110
DEBUG: outer height: actual=60, expected=60
DEBUG: inner width: actual=100, expected=100
DEBUG: inner height: actual=50, expected=50
DEBUG: content width: actual=80, expected=80
DEBUG: content height: actual=30, expected=30