How would you apply styles to fixtures (aside from writing them inline)? The JS library I am testing depends on some box-model related styles. using a script tag in the fixture does not seem to work, seemingly because the fixtures are not added to the dom.
<style>
div {
width: 100px;
}
</style>
<div>foo</div>
How would you apply styles to fixtures (aside from writing them inline)? The JS library I am testing depends on some box-model related styles. using a script tag in the fixture does not seem to work, seemingly because the fixtures are not added to the dom.