Fetches the style to use to render the given type of HTML tag. The element given is representing the tag and can be used to determine the nesting for situations where the attributes will differ if nesting inside of elements.
t | the type to translate to visual attributes | |
e | the element representing the tag; the element can be used to determine the nesting for situations where the attributes will differ if nested inside of other elements |
Diagram: StyleContext