From 33524d683661bf73fd224a76ec62fb88b2b3c767 Mon Sep 17 00:00:00 2001 From: Josep Jesus Bigorra Algaba Date: Tue, 7 Sep 2021 12:09:57 +0200 Subject: Add loading and srcset HTML attributes (#86) Useful for `img` and `picture` elements. Fixes #85. Co-authored-by: Josep Jesus Bigorra Algaba --- html/attributes_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'html/attributes_test.go') diff --git a/html/attributes_test.go b/html/attributes_test.go index 1388494..76e3390 100644 --- a/html/attributes_test.go +++ b/html/attributes_test.go @@ -51,6 +51,7 @@ func TestSimpleAttributes(t *testing.T) { "href": Href, "id": ID, "lang": Lang, + "loading": Loading, "max": Max, "maxlength": MaxLength, "method": Method, @@ -65,6 +66,7 @@ func TestSimpleAttributes(t *testing.T) { "role": Role, "rows": Rows, "src": Src, + "srcset": SrcSet, "style": StyleAttr, "tabindex": TabIndex, "target": Target, -- cgit 1.4.1