LibWeb: Implement the HTMLTrackElement.kind attribute

This reflects the HTML `kind` attribute.
This commit is contained in:
Tim Ledbetter
2024-06-29 23:07:57 +01:00
committed by Andreas Kling
parent 0c4f257021
commit bdaa7f0e8e
Notes: sideshowbarker 2024-07-17 20:19:08 +09:00
4 changed files with 39 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
kind initial value: 'subtitles'
kind value after setting to "invalid": 'metadata'
kind value after setting to "captions": 'captions'
kind value after setting to null: 'metadata'
kind value after setting to "CHAPTERS": 'chapters'
kind value after setting to "": 'metadata'
kind value after calling removeAttribute: 'subtitles'