LibWeb/HTML: Implement cite attribute according to spec

Implements the cite attribute of `q`, `blockqoute`, `ins` and `del`
elements according to spec by returning a valid URL.
This commit is contained in:
Glenn Skrzypczak 2024-11-25 19:26:16 +01:00 committed by Tim Ledbetter
commit 74645facae
Notes: github-actions[bot] 2024-11-26 11:41:48 +00:00
4 changed files with 10 additions and 2 deletions

View file

@ -19,6 +19,10 @@
{ "source": "src" },
{ "track": "src" },
{ "video": "src" },
{ "q": "cite" },
{ "blockquote": "cite" },
{ "ins": "cite" },
{ "del": "cite" },
];
for (const elementDescriptor of elementList) {
[elementName, propertyName] = Object.entries(elementDescriptor)[0];