Remove invalid global data attribute (#4270)

* Remove invalid global data attribute

Removes the non-existent global 'data' attribute from HTML global
attributes that was referencing broken MDN documentation. HTML
specification only supports data-* custom attributes and the
<data> element, not a global 'data' attribute.

Fixes #4241

* fix other attributes using datas

---------

Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
This commit is contained in:
navyansh007andJonathan Kelley authored and GitHub committed 2025-06-20 11:24:41 -07:00
1 parent 76ffcabd0b
commit 097bc1d1c8
3 files changed
+5 -3

No files matched your search

-2
View File
@@ -279,8 +279,6 @@ mod_methods! {
/// <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contenteditable>
contenteditable;
/// <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/data>
data;
/// <https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/dir>
dir;