bemhtml: inherit mode support