From 5202caf791510a89c6a41a9e78d1a8fd61ae1a16 Mon Sep 17 00:00:00 2001 From: vv01f Date: Wed, 8 Apr 2020 08:16:22 +0200 Subject: [PATCH] add new standard attribute `loading` --- xsl/common.xsl | 7 +++++-- xsl/footer.xsl | 6 ++++-- xsl/xhtml5.xsl | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/xsl/common.xsl b/xsl/common.xsl index 07129721c..8bfce4027 100644 --- a/xsl/common.xsl +++ b/xsl/common.xsl @@ -370,6 +370,7 @@ + lazy @@ -414,7 +415,8 @@ src="{$path}" title="{@title}" alt="{@title}" - class="{@class}"/> + class="{@class}" + loading="lazy"/> @@ -430,7 +432,8 @@ src="{$path}" title="{@title}" alt="{@title}" - class="{@class}"/> + class="{@class}" + loading="lazy"/> diff --git a/xsl/footer.xsl b/xsl/footer.xsl index 192bf24a6..9acf9d8a9 100644 --- a/xsl/footer.xsl +++ b/xsl/footer.xsl @@ -22,7 +22,8 @@ Creative Commons License + title="Creative Commons Attribution-ShareAlike 2.0 Germany License" + loading="lazy"/> @@ -58,7 +59,8 @@ HTML5 Powered with Multimedia, and Semantics + title="HTML5 Powered with Multimedia, and Semantics" + loading="lazy"/> diff --git a/xsl/xhtml5.xsl b/xsl/xhtml5.xsl index edc327b62..c69db8527 100644 --- a/xsl/xhtml5.xsl +++ b/xsl/xhtml5.xsl @@ -247,6 +247,7 @@ + lazy