-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getPropertyValue differs from specified #36717
base: main
Are you sure you want to change the base?
Conversation
files/en-us/web/api/cssstyledeclaration/getpropertyvalue/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/cssstyledeclaration/getpropertyvalue/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/cssstyledeclaration/getpropertyvalue/index.md
Outdated
Show resolved
Hide resolved
files/en-us/web/api/cssstyledeclaration/getpropertyvalue/index.md
Outdated
Show resolved
Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Preview URLs (comment last updated: 2025-01-08 21:58:48) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your PR! I think this would be better in the main preamble bit (i.e. just before the ## Syntax
heading) than as a standalone example, because it introduces new information, rather than illustrating information previously given. So I would have something like this:
Note that the string returned from this function may not use the same format as the authored string. For example, an authored value of
color: hsl(250 90 50)
will result in a returned value ofrgb(51, 13, 242)
.
Description
getPropertyValue results might differ from declared valurs
Motivation
Important if compairing values
Additional details
Related issues and pull requests