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

Fix syntax & structure format for svg gradient related features #36887

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

skyclouds2001
Copy link
Contributor

@skyclouds2001 skyclouds2001 commented Nov 20, 2024

Description

for svg attributes, change spec-urls key to browser-compat key and add Browser compatibility section
fix syntax for cx cy r x1 x2 y1 y2 attributes
combine linearGradient and radialGradient section for href attribute, since the two sections has almost the same content

Motivation

Additional details

https://svgwg.org/svg2-draft/pservers.html#LinearGradientElement
https://svgwg.org/svg2-draft/pservers.html#RadialGradientElement

Related issues and pull requests

see also mdn/browser-compat-data#25150

@github-actions github-actions bot added Content:SVG SVG docs size/m [PR only] 51-500 LoC changed labels Nov 20, 2024
@skyclouds2001 skyclouds2001 marked this pull request as ready for review November 20, 2024 19:26
@skyclouds2001 skyclouds2001 requested review from a team as code owners November 20, 2024 19:26
@skyclouds2001 skyclouds2001 requested review from hamishwillee and bsmth and removed request for a team November 20, 2024 19:26
@@ -177,7 +191,7 @@ svg {

### linearGradient
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because it now covers both?

Suggested change
### linearGradient
### linearGradient/radialGradient

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:SVG SVG docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants