[svgwg] Camel-cased viewBox on SVG in HTML document matched case sensitively [Deviation from Specification] (#1032)

Ahmad-S792 has just created a new issue for https://github.com/w3c/svgwg:

== Camel-cased viewBox on SVG in HTML document matched case sensitively [Deviation from Specification] ==
Hi Team,

Just wanted to flag this to track and get input.

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/b946c5d62ca51dff877a5a1947c62e78756bb38e

Test Case - https://jsfiddle.net/4crbzp38/

*** Chrome Canary 144 ***

Passes all

*** Firefox Nightly 147 and Safari 26.1 ***

Fails below:

Camel-cased viewBox on svg in html document should match case-sensitively. Intentional deviation from the spec. 

Normalized camel-cased viewBox on svg in html document should match case-sensitively. Intentional deviation from the spec. 

______________

I am not sure whether it has any web compatibility impact or whether it is something up to UA but if it something we can standardised either matching Blink or matching Firefox & Safari (which is following spec, it looks like), it would good to clarify this difference.

Thanks!

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1032 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 19 November 2025 07:32:51 UTC