Hi Team, While going through Blink's commit, I came across another failing test case in Safari 17 (macOS Sonoma). Test Case: https://jsfiddle.net/35yL6qnw/5/ ^ above shows 'en FAIL' in Red (Safari) while show 'EN' in Black (Chrome Canary 119 and Firefox Nightly 120). Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/1f24b02c1e563e405a59d5d44eeb03a6f2c00d59 Web-Spec: https://www.w3.org/TR/SVG11/struct.html#ConditionalProcessingSystemLanguageAttribute ___ Just wanted to raise so we can fix it. Thanks!
Merge this as well: https://source.chromium.org/chromium/chromium/src/+/592442acb95d29bd54f068f70009a6ec47fa863b
static bool isLangTagPrefix(const String& langTag, const String& language) { if (!langTag.startsWithIgnoringASCIICase(language)) return false; return langTag.length() == language.length() || langTag[language.length()] == '-'; } static bool matchLanguageList(const String& langTag, const Vector<String>& languages) { for (const auto& value : languages) { if (isLangTagPrefix(langTag, value)) return true; } return false; } and following changes here: "SVGTests::isValid()" for (auto& langTag : attributes->systemLanguage().items()) { if (matchLanguageList(langTag, genericDefaultLanguage)) return false; } ___ It leads to following compile errors: candidate function not viable: no known conversion from 'StringView' to 'const Vector<String>' for 2nd argument and no matching function for call to 'matchLanguageList' ___ Still looking into it but if someone want to take it. Go ahead and run with it. Might not come back soon but good to share what tried to make it easier for others.
Probably fixing Bug 262146 first would help with this one.
<rdar://problem/116424326>