whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.09k stars 2.66k forks source link

Event Loop Processing Signature Mismatches #7930

Open Fayti1703 opened 2 years ago

Fayti1703 commented 2 years ago

In § 8.1.6.3 "Processing Model", as part of step 7, several external algorithms are called, passing the timestamp now each time.

Four of these algorithms do not take a timestamp as an argument. This argument should therefore be removed from the algorithm calls.

Substep 7

For each fully active Document in docs, run the resize steps for that Document, passing in now as the timestamp.

The definition of the resize steps begins with the header

When asked to run the resize steps for a Document doc, run these steps:

Substep 8

For each fully active Document in docs, run the scroll steps for that Document, passing in now as the timestamp.

The definition of the scroll steps begins with the header

When asked to run the scroll steps for a Document doc, run these steps:

Substep 9

For each fully active Document in docs, evaluate media queries and report changes for that Document, passing in now as the timestamp.

The definition of the steps to evaluate media queries and report changes begins with the header

When asked to evaluate media queries and report changes for a Document doc, run these steps:

Substep 11

For each fully active Document in docs, run the fullscreen steps for that Document, passing in now as the timestamp.

The definition of the fullscreen steps begins with the header:

To run the fullscreen steps for a document document, run these steps:

debanjana-a11y commented 2 years ago

Hi, Do we need to correct the html/source only or there needs extra code fix somewhere else?

annevk commented 2 years ago

Hey @debanjana-a11y, only source needs fixing. Thanks for taking this on.