support data-width and data-unused attributes on <figure class="register" ...>