whatwg/html

Investigation requested for beforeprint/afterprint

开放

#5,096 创建于 2019年11月18日

 (4 条评论) (0 个反应) (0 位负责人)HTML (2,520 个派生)batch import
clarificationgood first issueneeds tests

仓库指标

星标
 (7,654 个星标)
PR 合并指标
 (平均合并 42天 18小时) (30 天内合并 22 个 PR)

描述

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.

贡献者指南