Skip to content

Commit 18c1fa1

Browse files
authored
Add SVGPathSegment methods to Firefox 136 release notes (mdn#38441)
1 parent 03be360 commit 18c1fa1

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

files/en-us/mozilla/firefox/experimental_features/index.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,6 +1722,46 @@ Notifications have the [`requireInteraction`](/en-US/docs/Web/API/Notification/r
17221722
</tbody>
17231723
</table>
17241724

1725+
### SVG path API methods
1726+
1727+
The `SVGPathSegment` interface now supports the `getPathData()`, `setPathData()`, and `getPathSegmentAtLength()` methods. These methods provide a convenient way to work with SVG path data instead of parsing raw string data. ([Firefox bug 1934525](https://bugzil.la/1934525)).
1728+
1729+
<table>
1730+
<thead>
1731+
<tr>
1732+
<th>Release channel</th>
1733+
<th>Version added</th>
1734+
<th>Enabled by default?</th>
1735+
</tr>
1736+
</thead>
1737+
<tbody>
1738+
<tr>
1739+
<th>Nightly</th>
1740+
<td>136</td>
1741+
<td>Yes</td>
1742+
</tr>
1743+
<tr>
1744+
<th>Developer Edition</th>
1745+
<td>136</td>
1746+
<td>No</td>
1747+
</tr>
1748+
<tr>
1749+
<th>Beta</th>
1750+
<td>136</td>
1751+
<td>No</td>
1752+
</tr>
1753+
<tr>
1754+
<th>Release</th>
1755+
<td>136</td>
1756+
<td>No</td>
1757+
</tr>
1758+
<tr>
1759+
<th>Preference name</th>
1760+
<td colspan="2"><code>dom.svg.pathSegment.enabled</code></td>
1761+
</tr>
1762+
</tbody>
1763+
</table>
1764+
17251765
## Security and privacy
17261766

17271767
### Block plain text requests from Flash on encrypted pages

files/en-us/mozilla/firefox/releases/136/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ These features are newly shipped in Firefox 136 but are disabled by default. To
126126
- **SVG `<discard>` element for SVG animations**: `svg.discard.enabled`.
127127
The {{svgelement("discard")}} SVG element allows developers to specify a trigger, such as the elapsed time since the SVG was loaded into DOM or the end of a particular animation, at which a specified element and its children should be removed from the DOM. This allows an SVG viewer to conserve memory by discarding animated elements that no longer needed.
128128
([Firefox bug 1069931](https://bugzil.la/1069931)).
129+
- **SVG path API methods**: `dom.svg.pathSegment.enabled`.
130+
The `SVGPathSegment` interface now supports the `getPathData()`, `setPathData()`, and `getPathSegmentAtLength()` methods. These methods provide a convenient way to work with SVG path data instead of parsing raw string data. ([Firefox bug 1934525](https://bugzil.la/1934525)).
129131

130132
## Older versions
131133

0 commit comments

Comments
 (0)