Correct a variety of documentation issues (#34786)

Fix some warnings in documentation as well as some faulty documentation
introduced in #34776.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-12-29 11:37:57 +01:00 committed by GitHub
parent 3aa9e00e4e
commit 93ae8d22fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 20 additions and 19 deletions

View file

@ -89,7 +89,7 @@ impl IntersectionObserverMethods<crate::DomTypeHolder> for IntersectionObserver
/// > is a ratio of intersection area to bounding box area of an observed target.
/// > Notifications for a target are generated when any of the thresholds are crossed
/// > for that target. If no options.threshold was provided to the IntersectionObserver
/// > constructor, or the sequence is empty, the value of this attribute will be [0].
/// > constructor, or the sequence is empty, the value of this attribute will be `[0]`.
///
/// <https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-thresholds>
fn Thresholds(&self, _context: JSContext, _retval: MutableHandleValue) {}