Conversation
| For normal reflected properties, updates to the property are reflected in the corresponding attribute and vice versa. | ||
| For reflected element references this is not the case. | ||
| Instead, setting the property clears ("undefines") the attribute, so that the property and attribute no longer reflect each other. | ||
| Instead, setting the property clears (removes) the attribute, so that the property and attribute no longer reflect each other. |
There was a problem hiding this comment.
Is this more accurate?
| Instead, setting the property clears (removes) the attribute, so that the property and attribute no longer reflect each other. | |
| Instead, setting the property clears the attribute (sets as `undefined`), so that the property and attribute no longer reflect each other. |
There was a problem hiding this comment.
Yes, it is more accurate. I have fixed it.
Preview URLs (7 pages)
Flaws (6)Note! 4 documents with no flaws that don't need to be listed. 🎉 URL:
URL:
URL:
(comment last updated: 2025-05-09 12:27:51) |
| For normal reflected properties, updates to the property are reflected in the corresponding attribute and vice versa. | ||
| For reflected element references this is not the case. | ||
| Instead, setting the property clears ("undefines") the attribute, so that the property and attribute no longer reflect each other. | ||
| Instead, setting the property clears the attribute (sets as `undefined`), so that the property and attribute no longer reflect each other. |
There was a problem hiding this comment.
I don't think this is correct. There's no such thing as "set to undefined" for attributes; undefined is a JavaScript code entity. Maybe some ARIA attributes have an intrinsic default value of undefined, but this is not a general thing. Instead, "undefines" as an improper analogy is better (and you can add it to the terms-abbreviations terminology), or you can say "unsets".
There was a problem hiding this comment.
Thanks:
"undefines" as an improper analogy is better (and you can add it to the terms-abbreviations terminology), or you can say "unsets".
I agree, either of those are better
| For normal reflected properties, updates to the property are reflected in the corresponding attribute and vice versa. | ||
| For reflected element references this is not the case. | ||
| Instead, setting the property clears ("undefines") the attribute, so that the property and attribute no longer reflect each other. | ||
| Instead, setting the property clears the attribute (sets as `undefined`), so that the property and attribute no longer reflect each other. |
There was a problem hiding this comment.
For simplicity:
| Instead, setting the property clears the attribute (sets as `undefined`), so that the property and attribute no longer reflect each other. | |
| Instead, setting the property clears (unsets) the attribute, so that the property and attribute no longer reflect each other. |
There was a problem hiding this comment.
okay, I have updated it in the pr.
bsmth
left a comment
There was a problem hiding this comment.
LGTM too, thanks a lot for the fixes and welcome aboard!
* upstream/main: (40 commits) Add a guide on xs-leaks (mdn#38977) chore: Link to child pages in SVG, URI section (mdn#39470) Correct page title for `Uint8Array.prototype.setFromHex()` (mdn#39494) Bump markdownlint-cli2 from 0.17.2 to 0.18.0 (mdn#39488) Add more documentation for sizes=auto (mdn#39464) css(fix): update 'shape()' page (mdn#39454) Expand Compression Dictionary format description (mdn#39441) Add username/password section to URLs guide (mdn#39487) Fix typos (mdn#39481) CSS: mask-position property description (mdn#39449) Adding @starting-style to CSS nesting at-rules (mdn#39473) feat(aria): Add short titles, format titles for roles (mdn#39472) Fix Circle Collision detection algorithm (mdn#39484) Add warning against using element IDs as global properties. (mdn#39422) Fix typos in web audio spatialization basics (mdn#39476) More Error Messages (mdn#39419) Add links to CSS sidebar (mdn#39445) css: add 'stretch' value examples (mdn#39451) chore: link to unlinked child pages (mdn#39469) Fix typos (mdn#39465) ...
Description
Fixed various typos across multiple documentation files to improve clarity and correctness. The updates address spelling errors in terms like "glossarysidebar," "undefines," "onprerenderingchange," "licence," "elments," and "opaquess."
Motivation
Typos can confuse readers and reduce the perceived quality of the documentation. Correcting these issues ensures accurate and professional content for users.
Additional details
Related issues and pull requests
Fixes #39390