Skip to content
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

CSS ray() function: Add "at <position>" feature row for Firefox116 #20475

Merged
merged 4 commits into from
Aug 14, 2023

Conversation

dipikabh
Copy link
Contributor

@dipikabh dipikabh commented Aug 5, 2023

Summary

Fx116 adds support for specifying initial starting position of the ray. The ray() function itself is still available behind the preference layout.css.motion-path-ray.enabled.

The new syntax:
ray( <angle> && <size>? && contain? && [at <position>]? )

This PR:

  • adds the feature row "position" for at <position>.
  • renames the "size-support" row to "size" for <ray-size>.
  • renames <ray-size> to <size>: (update in content page)

Safari TP does not support <ray-size>, so removed the value for that feature row for Safari.

Test results and supporting details

Codepen: updated ray syntax (https://codepen.io/dipikabh/pen/yLReQaZ)

  • Fx116 stable version: at <position> is supported behind pref and is optional.
  • Chrome 116: at <position> is not supported even behind the flag Experimental Web Platform features (115).
  • Safari TP (Safari 17.0): at <position> is not supported.

Related issues

Doc issue: mdn/content#27751
Content PR: mdn/content#28348

@github-actions github-actions bot added the data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Aug 5, 2023
@queengooborg queengooborg merged commit 7b93040 into mdn:main Aug 14, 2023
4 checks passed
@dipikabh dipikabh deleted the fx116-ray branch August 16, 2023 22:28
@dipikabh
Copy link
Contributor Author

Thank you, @queengooborg 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css 🎨 Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants