Re: [WICG/webcomponents] case-sensitive access to HTML attributes (as they were written) would be useful for framework authors (Issue #1076)

Materializing Attr nodes is very slow. I would want something like `getAttributeNames()` that returned case-preserving names.

I worry about how tools will handle this. They can assume that attribute and tag names are case-insensitive and lowercase them all. It might be hard to say that they now need to preserve the case on _everything_. Should case-reserving only be added to `<template parseparts>` and hope that tools can be updated to treat just that specially?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1076#issuecomment-2409145969
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1076/2409145969@github.com>

Received on Sunday, 13 October 2024 21:52:16 UTC