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

Add bcd info for pattern related svg attributes #36992

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

Conversation

skyclouds2001
Copy link
Contributor

Description

add browser-compat key and Browser compatibility section for adding bcd info

other include some style adjust

Motivation

Additional details

Related issues and pull requests

@github-actions github-actions bot added Content:SVG SVG docs size/m [PR only] 51-500 LoC changed labels Nov 27, 2024
Copy link
Contributor

github-actions bot commented Nov 27, 2024

Preview URLs (8 pages)
Flaws (1)

Note! 7 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/SVG/Attribute/href
Title: href
Flaw count: 1

  • macros:
    • /en-US/docs/Glossary/SMIL does not exist

(comment last updated: 2024-12-20 03:08:06)

@skyclouds2001 skyclouds2001 marked this pull request as ready for review November 27, 2024 01:25
@skyclouds2001 skyclouds2001 requested a review from a team as a code owner November 27, 2024 01:25
@skyclouds2001 skyclouds2001 requested review from hamishwillee and removed request for a team November 27, 2024 01:25
@@ -94,7 +101,7 @@ For {{SVGElement('feBlend')}}, `height` defines the vertical length for the rend
</tbody>
</table>

## feColorMatrix
### `<feColorMatrix>`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Where was this heading approach agreed? I like it, but if we're using styling and tag markup in the headings this should be agreed and captured in the SVG page template (it might be, I haven't checked)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

at present there is only a page template for svg element; and there is no page template for svg attrbute

Copy link
Collaborator

@hamishwillee hamishwillee Dec 20, 2024

Choose a reason for hiding this comment

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

How about you create an SVG attribute template in a PR the way you want it, and then invite people to discuss? Then we can have agreement on things like #36992 (comment) and something that others can match going forward.

Thoughts?

If you prefer I could create the template on Monday?

Comment on lines +6 to +13
- svg.elements.filter.height
- svg.elements.foreignObject.height
- svg.elements.image.height
- svg.elements.mask.height
- svg.elements.pattern.height
- svg.elements.rect.height
- svg.elements.svg.height
- svg.elements.use.height
Copy link
Collaborator

Choose a reason for hiding this comment

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

What's the value in having all of these? In Web APIs it was agreed that we definitely should not add all the cases, say, of where a global might be used.

The reasoning was that it it add a lot of useless information to the page - for example, if you're interested this information, where are you looking. I'd say you would look in the element in which it is used. I'm never going to look and say - hey, the mask support height from version X, let's go use the mask now. Make sense? I'd revert.

Copy link
Collaborator

Choose a reason for hiding this comment

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

@skyclouds2001 The point of this PR seems to be to add these BCD changes. I don't think these are actually unhelpful, but it may be that the broader team disagrees. Where's the agreement for this approach?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@skyclouds2001 The point of this PR seems to be to add these BCD changes. I don't think these are actually unhelpful, but it may be that the broader team disagrees. Where's the agreement for this approach?

no, maybe, I guess

Copy link
Collaborator

Choose a reason for hiding this comment

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

Best to start with an agreed template #36992 (comment)

- https://drafts.fxtf.org/filter-effects/#element-attrdef-feimage-preserveaspectratio
- https://svgwg.org/svg2-draft/coords.html#PreserveAspectRatioAttribute
browser-compat:
- svg.elements.svg.preserveAspectRatio
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ditto to above comment, and for all the others.

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