Environment
- Elixir version (please paste the output of
elixir -v):
- Phoenix and LiveView versions (
mix deps | grep -w 'phoenix\|phoenix_live_view'):
4889426ca118fee49b321f5979eea64179410fa9
- Browsers (including version) you attempted to reproduce this bug on (the more the merrier):
Actual behavior
Global attributes include values that are not part of the HTML specification (well, not on the MDN anyway), and lacks some others.
Here's the full list, based on a comparison between MDN and this list:
Exist in Phoenix globals, but not in spec:
- alt
- contextmenu
- height
- placeholder
- rel
- target
- type
- width
Exist in spec, but not in Phoenix
- anchor
- autocorrect
- inert
- virtualkeyboardpolicy
- writingsuggestions
Expected behavior
I expect both lists to be in sync (best effort, obviously 😄). We noticed that because people started using some of these attributes on components where it should not exist, which caused issues.
Environment
elixir -v):mix deps | grep -w 'phoenix\|phoenix_live_view'):Actual behavior
Global attributes include values that are not part of the HTML specification (well, not on the MDN anyway), and lacks some others.
Here's the full list, based on a comparison between MDN and this list:
Exist in Phoenix globals, but not in spec:
Exist in spec, but not in Phoenix
Expected behavior
I expect both lists to be in sync (best effort, obviously 😄). We noticed that because people started using some of these attributes on components where it should not exist, which caused issues.