After reading an explanation on how .clearfix works, I've removed some unnecessary stuff and managed to create an alternative class that works inside elements with display:table;
too:
.clearfixfix {
content: "";
clear: both;
display: block;
}
Only tested in chrome for now.