Skip to content

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

@Ahmad-S792

Description

@Ahmad-S792

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions