Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 580c901d87d7f4ff32e3494744ecb35a41334c78 https://github.com/WebKit/WebKit/commit/580c901d87d7f4ff32e3494744ecb35a41334c78 Author: Taher Ali <taher_...@apple.com> Date: 2025-08-23 (Sat, 23 Aug 2025)
Changed paths: M LayoutTests/svg/css/parse-height-expected.txt M LayoutTests/svg/css/parse-length-expected.txt M LayoutTests/svg/custom/invalid-length-units-expected.txt M LayoutTests/svg/custom/invalid-length-units.html M Source/WebCore/svg/SVGLengthValue.cpp Log Message: ----------- Allow trailing spaces when parsing SVGLengthValue https://bugs.webkit.org/show_bug.cgi?id=297819 rdar://158999226 Reviewed by Tim Nguyen. We allow trailing spaces when parsing SVGLengthValue. Essentially, we let the CSS parsing machinery handle trailing spaces. LayoutTests/svg/css/parse-height-expected.txt: LayoutTests/svg/css/parse-length-expected.txt: LayoutTests/svg/custom/invalid-length-units-expected.txt: LayoutTests/svg/custom/invalid-length-units.html: Source/WebCore/svg/SVGLengthValue.cpp: (WebCore::SVGLengthValue::setValueAsString): Canonical link: https://commits.webkit.org/299098@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes