- From: Robert Longson via GitHub <sysbot+gh@w3.org>
- Date: Sat, 13 Jan 2024 13:29:27 +0000
- To: public-svg-issues@w3.org
longsonr has just created a new issue for https://github.com/w3c/svgwg: == What should happen when trying to insert empty strings or separators into SVGStringList == Please: The specification https://www.w3.org/TR/SVG2/types.html#InterfaceSVGStringList says that insertItemBefore, replaceItem and appendItem do not throw unless the SVGStringList is read only. https://www.w3.org/TR/SVG2/types.html#__svg__SVGNameList__insertItemBefore So what should happen if we - try to insert an empty string? - try to insert a string that contains separators? <svg xmlns="http://www.w3.org/2000/svg"> <script> document.documentElement.systemLanguage.appendItem(""); document.documentElement.systemLanguage.appendItem("a, b"); document.documentElement.requiredExtensions.appendItem("a b"); </script> </svg> - Should we throw an exception or just ignore the appendItem of an empty string? - Should we throw an exception, ignore the append, or append multiple items when the string contains separators? If we just append strings with separators then when we serialise them we'll additional items. Please view or discuss this issue at https://github.com/w3c/svgwg/issues/930 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 13 January 2024 13:29:30 UTC