whatwg/html

Investigation requested for beforeprint/afterprint

Open

#5,096 opened on Nov 18, 2019

View on GitHub
 (4 comments) (0 reactions) (0 assignees)HTML (2,520 forks)batch import
clarificationgood first issueneeds tests

Repository metrics

Stars
 (7,654 stars)
PR merge metrics
 (Avg merge 42d 18h) (22 merged PRs in 30d)

Description

If you have A nests B nests C nests D and the user decides to print B (not sure any user agent provides UI for that, but let's assume there is), the specification suggests events in B and C, not D. Is that really what we want?

Also, if you have A nests B1 and B2, what's the order of the events? Does it matter if either B1 or B2 is cross-site? (Is it quicker than postMessage()?)

Marking this as a good first issue as the first step needed here is writing tests for these scenarios, which is relatively straightforward, albeit a bit tedious perhaps. If there are any questions around getting started with tests, do let me know.

Contributor guide