html icon indicating copy to clipboard operation
html copied to clipboard

Remove "X-UA-Compatible" pragma

Open zcorpan opened this issue 9 months ago • 2 comments

What is the issue with the HTML Standard?

https://html.spec.whatwg.org/#attr-meta-http-equiv-x-ua-compatible

This is already specified to do nothing for UAs, but is allowed in documents. I think we no longer need to allow this as conforming. Either keep in the spec as an obsolete feature (must not be used), or remove completely.

This came up in https://bsky.app/profile/rviscomi.dev/post/3lqsfzhmhbs2w by @rviscomi

cc @sideshowbarker

zcorpan avatar Jun 05 '25 13:06 zcorpan

This would basically be stating "the HTML Standard does not support writing code that targets Internet Explorer or Edge Classic, while still being valid HTML". I'm unsure if we're yet at that point. But maybe we are!

domenic avatar Jun 05 '25 23:06 domenic

Yes.

I think Edge Legacy is dead. Edge Legacy was EOL'd in 2021 and it's not possible to launch it (without disabling Code Integrity Checks).

However, Internet Explorer might still have non-zero usage and Edge has an Internet Explorer mode which will be supported until at least 2029.

Let's keep it conforming for now and revisit in 2030?

zcorpan avatar Jun 16 '25 13:06 zcorpan