Re: [web-nfc] Switch to HTML page visibility refs (#627)

> Can't you use `{{Document/visibilityState}}` instead of `data-cite`?

Done. Thanks!
 
> In addition, the heads up was about this: https://w3c.github.io/web-nfc/#handling-visibility-change. It "monkey patches" the HTML spec by saying that "X and Y happens when the visibility changes". The proposal was to make a call from the HTML spec to this spec [here](https://html.spec.whatwg.org/#page-visibility-change-steps), which would allow specifying the order between reactions to visibility change.

Since Web NFC is implemented only in Chromium, I don't think it makes sense to update the HTML spec for now. What do you think?



-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/627#issuecomment-961678255 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 5 November 2021 07:25:09 UTC