Changes between Initial Version and Version 1 of Ticket #33121, comment 12
- Timestamp:
- 10/10/2018 02:42:32 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33121, comment 12
initial v1 2 2 - Allow `data-*` attributes. Needs to be set as `data-*` when adding it, not to be mixed with the HTML 4.0 `data` attribute (https://www.w3.org/TR/html40/struct/objects.html#adef-data). 3 3 - Add `data-*` to all elements by default. 4 5 Wondering if we should pass the restrictions (array of possible values) or just short circuit as soon as we match a `data-*` attribute. The thing is that the restrictions will apply to all data attributes in the element, not to a specific attribute.