def apply_stylesheet(stylesheet, elem, box, render_device):
    declarations = stylesheet.get_declarations(elem)
    apply_style_declarations(declarations, box, render_device)
Called when a handler is injecting a response to the client.
dataset/ETHPy150Open ardekantur/pyglet/contrib/layout/layout/properties.py/apply_stylesheet--crossover with--dataset/ETHPy150Open google/nogotofail/nogotofail/mitm/connection/handlers/base.py/BaseHandler.on_inject_response