- From: Said Abou-Hallawa via GitHub <noreply@w3.org>
- Date: Tue, 19 Aug 2025 23:27:51 +0000
- To: public-svg-issues@w3.org
The `orient` attribute can be set to `auto` by calling one of these calls:
```
markerElement.orientType.baseVal = SVGMarkerElement.SVG_MARKER_ORIENT_AUTO;
markerElement.setAttribute('orient', 'auto');
markerElement.setOrientToAuto();
```
But to set it to `auto-start-reverse`, there are only two ways:
```
markerElement.orientType.baseVal = SVGMarkerElement.SVG_MARKER_ORIENT_AUTO_START_REVERSE;
markerElement.setAttribute('orient', 'auto-start-reverse');
```
So for completeness I think we should provide also:
```
markerElement.setOrientToAutoStartReverse();
```
--
GitHub Notification of comment by shallawa
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/997#issuecomment-3202899374 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 19 August 2025 23:27:52 UTC