From 3b7d1a2f2371494699e8624d0a91ed114469565e Mon Sep 17 00:00:00 2001 From: Sara Arjona Date: Fri, 11 Nov 2022 15:05:55 +0100 Subject: [PATCH] NOBUG: Fixed SVG browser compatibility --- grade/report/singleview/pix/zero_state.svg | 2 +- grade/report/singleview/pix/zero_state_grade.svg | 2 +- grade/report/singleview/pix/zero_state_user.svg | 2 +- h5p/h5plib/v124/joubel/core/fonts/h5p-core-28.svg | 2 +- h5p/h5plib/v124/joubel/core/fonts/h5p-hub-publish.svg | 2 +- h5p/h5plib/v124/joubel/core/images/h5p.svg | 2 +- h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-fullscreen-bar.svg | 2 +- h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-hub.svg | 2 +- h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-metadata-icons.svg | 2 +- lib/editor/tiny/plugins/accessibilitychecker/pix/icon.svg | 2 +- lib/editor/tiny/plugins/media/pix/filemanager.svg | 2 +- lib/editor/tiny/plugins/media/pix/icon.svg | 2 +- lib/editor/tiny/plugins/recordrtc/pix/audio.svg | 2 +- lib/editor/tiny/plugins/recordrtc/pix/video.svg | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) rewrite lib/editor/tiny/plugins/media/pix/icon.svg (86%) diff --git a/grade/report/singleview/pix/zero_state.svg b/grade/report/singleview/pix/zero_state.svg index 873e99c3837..3e0e3e677a8 100644 --- a/grade/report/singleview/pix/zero_state.svg +++ b/grade/report/singleview/pix/zero_state.svg @@ -1,4 +1,4 @@ - + diff --git a/grade/report/singleview/pix/zero_state_grade.svg b/grade/report/singleview/pix/zero_state_grade.svg index bdfa82109d1..a2346849f10 100644 --- a/grade/report/singleview/pix/zero_state_grade.svg +++ b/grade/report/singleview/pix/zero_state_grade.svg @@ -1,4 +1,4 @@ - + diff --git a/grade/report/singleview/pix/zero_state_user.svg b/grade/report/singleview/pix/zero_state_user.svg index 789867e426d..675c311576c 100644 --- a/grade/report/singleview/pix/zero_state_user.svg +++ b/grade/report/singleview/pix/zero_state_user.svg @@ -1,4 +1,4 @@ - + diff --git a/h5p/h5plib/v124/joubel/core/fonts/h5p-core-28.svg b/h5p/h5plib/v124/joubel/core/fonts/h5p-core-28.svg index 7de618096b2..8150d8ba7f0 100644 --- a/h5p/h5plib/v124/joubel/core/fonts/h5p-core-28.svg +++ b/h5p/h5plib/v124/joubel/core/fonts/h5p-core-28.svg @@ -1,6 +1,6 @@ - + diff --git a/h5p/h5plib/v124/joubel/core/fonts/h5p-hub-publish.svg b/h5p/h5plib/v124/joubel/core/fonts/h5p-hub-publish.svg index e32badd40c3..eec568bca03 100644 --- a/h5p/h5plib/v124/joubel/core/fonts/h5p-hub-publish.svg +++ b/h5p/h5plib/v124/joubel/core/fonts/h5p-hub-publish.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"> <metadata> <json> <![CDATA[ diff --git a/h5p/h5plib/v124/joubel/core/images/h5p.svg b/h5p/h5plib/v124/joubel/core/images/h5p.svg index 07191aa8b2a..9ef61ae8fb9 100644 --- a/h5p/h5plib/v124/joubel/core/images/h5p.svg +++ b/h5p/h5plib/v124/joubel/core/images/h5p.svg @@ -2,7 +2,7 @@ <!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 345 150" enable-background="new 0 0 345 150" xml:space="preserve"> + viewBox="0 0 345 150" enable-background="new 0 0 345 150" xml:space="preserve" preserveAspectRatio="xMinYMid meet"> <g> <path fill="#FFFFFF" d="M325.7,14.7C317.6,6.9,305.3,3,289,3h-43.5H234v31h-66l-5.4,22.2c4.5-2.1,10.9-4.2,15.3-5.3 c4.4-1.1,8.8-0.9,13.1-0.9c14.6,0,26.5,4.5,35.6,13.3c9.1,8.8,13.6,20,13.6,33.4c0,9.4-2.3,18.5-7,27.2c-4.7,8.7-11.3,15.4-19.9,20 diff --git a/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-fullscreen-bar.svg b/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-fullscreen-bar.svg index cc91270479c..f0fc940ccb1 100644 --- a/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-fullscreen-bar.svg +++ b/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-fullscreen-bar.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"> <metadata> <json> <![CDATA[ diff --git a/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-hub.svg b/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-hub.svg index 76fa30dcea2..274e983ef57 100644 --- a/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-hub.svg +++ b/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-hub.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"> <metadata> <json> <![CDATA[ diff --git a/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-metadata-icons.svg b/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-metadata-icons.svg index e68dfe6356f..43e1afcd0e9 100644 --- a/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-metadata-icons.svg +++ b/h5p/h5plib/v124/joubel/editor/styles/css/fonts/h5p-metadata-icons.svg @@ -1,6 +1,6 @@ <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > -<svg xmlns="http://www.w3.org/2000/svg"> +<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMid meet"> <metadata> <json> <![CDATA[ diff --git a/lib/editor/tiny/plugins/accessibilitychecker/pix/icon.svg b/lib/editor/tiny/plugins/accessibilitychecker/pix/icon.svg index 3679e2b36c8..92c9d08f4df 100644 --- a/lib/editor/tiny/plugins/accessibilitychecker/pix/icon.svg +++ b/lib/editor/tiny/plugins/accessibilitychecker/pix/icon.svg @@ -4,7 +4,7 @@ <svg version="1.1" id="svg2" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" sodipodi:docname="universal-access.svg" inkscape:version="0.48.4 r9939" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1200px" height="1200px" - viewBox="0 0 1200 1200" enable-background="new 0 0 1200 1200" xml:space="preserve"> + viewBox="0 0 1200 1200" enable-background="new 0 0 1200 1200" xml:space="preserve" preserveAspectRatio="xMinYMid meet"> <path id="path24717" inkscape:connector-curvature="0" d="M600,0C268.629,0,0,268.629,0,600s268.629,600,600,600 s600-268.629,600-600S931.371,0,600,0z M600,80.167c287.105,0,519.833,232.727,519.833,519.833 c0,287.105-232.727,519.871-519.833,519.871c-287.106,0-519.871-232.765-519.871-519.871S312.894,80.167,600,80.167z diff --git a/lib/editor/tiny/plugins/media/pix/filemanager.svg b/lib/editor/tiny/plugins/media/pix/filemanager.svg index 0e10f46ff06..13cac1ee789 100644 --- a/lib/editor/tiny/plugins/media/pix/filemanager.svg +++ b/lib/editor/tiny/plugins/media/pix/filemanager.svg @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="-25 -25 449.498 449.498" style="enable-background:new -25 -25 449.498 449.498;" xml:space="preserve"> + viewBox="-25 -25 449.498 449.498" style="enable-background:new -25 -25 449.498 449.498;" xml:space="preserve" preserveAspectRatio="xMinYMid meet"> <g id="XMLID_1152_"> <g id="XMLID_1153_"> <path id="XMLID_1154_" style="fill:#1F2C47;" d="M235.664,379.498H67.638c-14.678,0-26.619-11.941-26.619-26.619V66.117 diff --git a/lib/editor/tiny/plugins/media/pix/icon.svg b/lib/editor/tiny/plugins/media/pix/icon.svg dissimilarity index 86% index 00d509bb018..5620a1c6e04 100644 --- a/lib/editor/tiny/plugins/media/pix/icon.svg +++ b/lib/editor/tiny/plugins/media/pix/icon.svg @@ -1 +1 @@ -<svg width="16px" height="16px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 2h6v3.5l.5.5H12v1h1V4.8l-.15-.36-3.28-3.3L9.22 1H1.5l-.5.5v13l.5.5H5v-1H2V2zm7 0l3 3H9V2zm5.5 6h-8l-.5.5v6l.5.5h8l.5-.5v-6l-.5-.5zM14 9v4l-1.63-1.6h-.71l-1.16 1.17-2.13-2.13h-.71L7 11.1V9h7zm-2.8 4.27l.81-.81L13.55 14h-1.62l-.73-.73zM7 14v-1.49l1-1L10.52 14H7zm5.5-3.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/></svg> \ No newline at end of file +<svg width="16px" height="16px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor" preserveAspectRatio="xMinYMid meet"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 2h6v3.5l.5.5H12v1h1V4.8l-.15-.36-3.28-3.3L9.22 1H1.5l-.5.5v13l.5.5H5v-1H2V2zm7 0l3 3H9V2zm5.5 6h-8l-.5.5v6l.5.5h8l.5-.5v-6l-.5-.5zM14 9v4l-1.63-1.6h-.71l-1.16 1.17-2.13-2.13h-.71L7 11.1V9h7zm-2.8 4.27l.81-.81L13.55 14h-1.62l-.73-.73zM7 14v-1.49l1-1L10.52 14H7zm5.5-3.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1z"/></svg> \ No newline at end of file diff --git a/lib/editor/tiny/plugins/recordrtc/pix/audio.svg b/lib/editor/tiny/plugins/recordrtc/pix/audio.svg index 4990920a681..3ea1e0e54ca 100644 --- a/lib/editor/tiny/plugins/recordrtc/pix/audio.svg +++ b/lib/editor/tiny/plugins/recordrtc/pix/audio.svg @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="-50 0 608 500" style="enable-background:new 100 0 608 500;" xml:space="preserve"> + viewBox="-50 0 608 500" style="enable-background:new 100 0 608 500;" xml:space="preserve" preserveAspectRatio="xMinYMid meet"> <g> <path d="M394,196.1c0-11.9-9.7-21.6-21.6-21.6s-21.6,9.7-21.6,21.6c0,61.7-50.2,111.8-111.8,111.8 s-111.8-50.2-111.8-111.8c0-11.9-9.7-21.6-21.6-21.6S84,184.2,84,196.1c0,78.2,58.1,143,133.4,153.5v85.2h-55.6 diff --git a/lib/editor/tiny/plugins/recordrtc/pix/video.svg b/lib/editor/tiny/plugins/recordrtc/pix/video.svg index 4084f88b2b6..2778e308b2f 100644 --- a/lib/editor/tiny/plugins/recordrtc/pix/video.svg +++ b/lib/editor/tiny/plugins/recordrtc/pix/video.svg @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" - viewBox="0 0 458.317 458.317" style="enable-background:new 0 0 458.317 458.317;" xml:space="preserve"> + viewBox="0 0 458.317 458.317" style="enable-background:new 0 0 458.317 458.317;" xml:space="preserve" preserveAspectRatio="xMinYMid meet"> <g> <g> <path d="M450.237,109.509c-4.964-2.582-10.953-2.187-15.534,1.026l-68.72,48.19V98.933c0-18.121-14.743-32.864-32.865-32.864 -- 2.11.4.GIT