- From: Karl Dubost via GitHub <noreply@w3.org>
- Date: Thu, 23 Apr 2026 01:20:39 +0000
- To: public-svg-issues@w3.org
karlcow has just labeled a pull request from viralipurbey for https://github.com/w3c/svgwg as "Agenda+":
== Add path-length CSS property definition (Section 9.6.2) ==
**Summary**
Add a CSS property definition for `path-length` alongside the existing `pathLength` SVG attribute in the Paths chapter (Section 9.6.1), per the [CSS WG resolution from 22 January 2020](https://lists.w3.org/Archives/Public/www-style/2020Feb/0009.html).
**Changes**
[paths.html](https://github.com/w3c/svgwg/blob/c6cc21c4561f626f8acc906c7ed53fc098724896/master/paths.html)
- Added new subsection 9.6.2 The 'path-length' property with:
- CSS property definition table (`none | <number [0,∞]`>, initial value `none`, applies to shapes and `textPath`, not inherited, not animatable).
- Prose describing the property's effect on 'distance-along-a-path' calculations ('text-on-path' layout, motion animation, stroke dash operations).
- Statement that `pathLength` is a presentation attribute for `path-length`.
- Note referencing the CSS WG resolution.
[definitions.xml](https://github.com/w3c/svgwg/blob/c6cc21c4561f626f8acc906c7ed53fc098724896/master/definitions.xml)
- Registered `path-length` in the presentation attributes category.
- Added `<property>` entry for `path-length`.
- Updated the `pathLength` attribute definition with `presentationattribute` mapping.
Addresses #773
**Preview**
<img width="1446" height="1378" alt="image" src="https://github.com/user-attachments/assets/b23ef175-8d34-4bb9-977c-28cedb58b45e" />
See https://github.com/w3c/svgwg/pull/1073
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 23 April 2026 01:20:40 UTC