Skip to content

Rgba does not store Option as component #1

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

Closed
wants to merge 1 commit into from

Conversation

tiaanl
Copy link
Owner

@tiaanl tiaanl commented Jul 23, 2023

Legacy rgb/rgba syntax does not allow the "none" keyword and although the modern rgb/rgba syntax does support it, it is immediately converted to 0, because we never have to serialize back to "none" keywords for rgb/rgba.

Also RGBA is now renamed to Rgba as per common rust naming conventions now that it is not used directly in Gecko any more.

@tiaanl tiaanl force-pushed the remove-option-from-legacy-rgb branch from a7f9637 to f837fa6 Compare July 23, 2023 21:48
Legacy `rgb`/`rgba` syntax does not allow the "none" keyword and
although the modern `rgb`/`rgba` syntax does support it, it is
immediately converted to 0, because we never have to serialize back to
"none" keywords for `rgb`/`rgba`.

Also `RGBA` is now renamed to `Rgba` as per common rust naming
conventions now that it is not used directly in Gecko any more.
@tiaanl tiaanl force-pushed the remove-option-from-legacy-rgb branch from f837fa6 to bf6caea Compare July 23, 2023 21:52
@tiaanl tiaanl closed this Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant