Skip to content

Print behaviour & test requirements #978

Open
@gsnedders

Description

@gsnedders

Does anywhere normatively say what should happen when you print the document? I guess it's technically implementation defined, and just assumed that the page is laid out for the new medium (and print medium styles are applied)?

Given historically, JS is not run when redoing style & layout for print, what do we expect the behaviour with the Layout API to be? Do we expect the registered JS to be called? What happens if it doesn't halt (do you fallback to breaking the existing screen rendering, or do we just give a script hang prompt, etc.)?

How do we expect to test such behaviour? Are we just envisioning print reftests for this, or would there be in any way the worklets would be tested with testharness.js?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions