decidim-dev 0.31.8 → 0.32.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -12
- data/app/commands/decidim/dev/create_dummy_resource.rb +6 -6
- data/app/controllers/decidim/dev/dummy_resources_controller.rb +0 -2
- data/app/models/decidim/dev/dummy_resource.rb +4 -1
- data/app/models/decidim/dev/nested_dummy_resource.rb +1 -0
- data/app/packs/src/decidim/dev/accessibility.js +1 -1
- data/config/locales/ar.yml +1 -2
- data/config/locales/bg.yml +1 -2
- data/config/locales/ca-IT.yml +1 -2
- data/config/locales/ca.yml +1 -2
- data/config/locales/cs.yml +1 -2
- data/config/locales/de.yml +1 -2
- data/config/locales/el.yml +1 -2
- data/config/locales/es-MX.yml +1 -2
- data/config/locales/es-PY.yml +1 -2
- data/config/locales/es.yml +1 -2
- data/config/locales/eu.yml +7 -8
- data/config/locales/fi-plain.yml +1 -2
- data/config/locales/fi.yml +1 -2
- data/config/locales/fr-CA.yml +1 -2
- data/config/locales/fr.yml +1 -2
- data/config/locales/ga-IE.yml +0 -1
- data/config/locales/gl.yml +2 -17
- data/config/locales/hu.yml +1 -2
- data/config/locales/id-ID.yml +1 -2
- data/config/locales/is-IS.yml +1 -2
- data/config/locales/it.yml +1 -2
- data/config/locales/ja.yml +1 -2
- data/config/locales/lt.yml +1 -2
- data/config/locales/lv.yml +1 -2
- data/config/locales/nl.yml +1 -2
- data/config/locales/no.yml +1 -2
- data/config/locales/pl.yml +1 -2
- data/config/locales/pt-BR.yml +1 -2
- data/config/locales/pt.yml +1 -2
- data/config/locales/ro-RO.yml +1 -2
- data/config/locales/ru.yml +1 -2
- data/config/locales/sk.yml +1 -26
- data/config/locales/sl.yml +0 -1
- data/config/locales/sv.yml +1 -2
- data/config/locales/tr-TR.yml +1 -2
- data/config/locales/uk.yml +0 -1
- data/config/locales/zh-CN.yml +1 -2
- data/config/locales/zh-TW.yml +1 -2
- data/config/rubocop/decidim-linters/configuration.yml +4 -36
- data/config/rubocop/rails/disabled.yml +6 -0
- data/config/rubocop/rspec/configuration.yml +5 -1
- data/config/rubocop/ruby/configuration.yml +2 -3
- data/config/rubocop/ruby/disabled.yml +9 -0
- data/config/rubocop/yard/configuration.yml +1 -0
- data/decidim-dev.gemspec +21 -23
- data/lib/decidim/dev/assets/assemblies.json +1 -21
- data/lib/decidim/dev/assets/assemblies_with_null.json +1 -2
- data/lib/decidim/dev/assets/participatory_processes.json +1 -4
- data/lib/decidim/dev/assets/participatory_processes_with_null.json +1 -1
- data/lib/decidim/dev/dummy_translator.rb +1 -1
- data/lib/decidim/dev/rubocop/cop/decidim/message_antipattern.rb +76 -0
- data/lib/decidim/dev/test/rspec_support/active_job.rb +5 -0
- data/lib/decidim/dev/test/rspec_support/capybara.rb +0 -54
- data/lib/decidim/dev/test/rspec_support/component_context.rb +1 -1
- data/lib/decidim/dev/test/rspec_support/helpers.rb +10 -17
- data/lib/decidim/dev/test/rspec_support/tom_select.rb +7 -4
- data/lib/decidim/dev/version.rb +1 -1
- data/lib/decidim/dev.rb +1 -33
- data/lib/erb_lint/linters/admin_page_title_linter.rb +46 -0
- data/lib/erb_lint/linters/partial_path_linter.rb +101 -0
- data/rubocop-decidim.yml +1 -0
- metadata +133 -131
- data/lib/decidim/dev/assets/8001x4000.png +0 -0
- data/lib/decidim/dev/assets/empty_file.png +0 -0
- data/lib/decidim/dev/assets/malformed_svg_unclosed_element.svg +0 -7
- data/lib/decidim/dev/assets/malicious_svg_animation.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_animation_attribute_names.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_animation_fill.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_animation_style.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_animation_values.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_attributename_case.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_backslash_reference.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_css_backslash_url.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_css_comment_in_url.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_css_image_set.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_css_image_set_nested_parentheses.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_cursor.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_cursor_attribute.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_data_uri_declared_encoding.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_data_uri_deep_nested.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_data_uri_leading_space.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_data_uri_nested.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_data_uri_parameter.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_entity.svg +0 -5
- data/lib/decidim/dev/assets/malicious_svg_entity_parameter.svg +0 -7
- data/lib/decidim/dev/assets/malicious_svg_external_animation.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_external_animation_missing_target.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_external_animation_target.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_external_feimage.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_external_image.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_external_use.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_fill_external_reference.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_foreign_object.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_handler.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_marker_external_reference.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_mask_attribute.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_script.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_style_comment_string.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_style_import.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_style_import_string.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_style_url_escape.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_style_url_string.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_stylesheet_pi.svg +0 -1
- data/lib/decidim/dev/assets/malicious_svg_uri.svg +0 -1
- data/lib/decidim/dev/assets/spoofed_image.png +0 -0
- data/lib/decidim/dev/assets/spoofed_image_binary.png +0 -1
- data/lib/decidim/dev/assets/spoofed_image_html.png +0 -5
- data/lib/decidim/dev/assets/spoofed_svg_xml.svg +0 -2
- data/lib/decidim/dev/assets/test.avif +0 -0
- data/lib/decidim/dev/assets/test.gif +0 -0
- data/lib/decidim/dev/assets/test.heic +0 -0
- data/lib/decidim/dev/assets/test.svg +0 -1
- data/lib/decidim/dev/assets/test_animation.svg +0 -1
- data/lib/decidim/dev/assets/test_animation_link.svg +0 -7
- data/lib/decidim/dev/assets/test_animation_presentation_reference.svg +0 -8
- data/lib/decidim/dev/assets/test_complex.svg +0 -12
- data/lib/decidim/dev/assets/test_css_references.svg +0 -14
- data/lib/decidim/dev/assets/test_data_uri_declared_encoding.svg +0 -5
- data/lib/decidim/dev/assets/test_entity_in_comment.svg +0 -8
- data/lib/decidim/dev/assets/test_entity_in_processing_instruction.svg +0 -7
- data/lib/decidim/dev/assets/test_percent_encoded_fragment.svg +0 -7
- data/lib/decidim/dev/assets/test_percent_encoded_multibyte_reference.svg +0 -7
- data/lib/decidim/dev/assets/test_percent_encoded_multibyte_reference_mixed.svg +0 -8
- data/lib/decidim/dev/assets/test_presentation_attribute_references.svg +0 -13
- data/lib/decidim/dev/assets/test_references.svg +0 -12
- data/lib/decidim/dev/assets/test_style_text.svg +0 -9
- data/lib/decidim/dev/assets/video.mp4 +0 -0
- data/lib/decidim/dev/rubocop/cop/decidim/enforce_permission_to.rb +0 -459
- data/lib/decidim/dev/rubocop/cop/decidim/organization_scoped_finder.rb +0 -200
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users.csv → import_members.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_invalid_col_sep.csv → import_members_invalid_col_sep.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_iso8859-1.csv → import_members_iso8859-1.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_nok.csv → import_members_nok.csv} +0 -0
- /data/lib/decidim/dev/assets/{import_participatory_space_private_users_with_bom.csv → import_members_with_bom.csv} +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A document which declares a parameter entity in the internal subset of its
|
|
3
|
-
document type definition, which is a declaration even when it is not used. -->
|
|
4
|
-
<!DOCTYPE svg [
|
|
5
|
-
<!ENTITY % parameter "value">
|
|
6
|
-
]>
|
|
7
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><text y="8">Example</text></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><image width="16" height="16"><animate attributeName="href" values="#none;https://tracker.example.org/track.gif" dur="1s" fill="freeze"/></image></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><a><animate href="#missing" attributeName="href" to="https://tracker.example.org/track.gif" fill="freeze"/></a></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><image id="pic" width="16" height="16"/><g><animate xlink:href="#pic" attributeName="href" values="#none;https://tracker.example.org/track.gif" dur="1s" fill="freeze"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><filter id="f"><feImage href="https://evil.example.org/map.png" result="i"/></filter></defs><rect width="16" height="16" filter="url(#f)"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><image href="https://tracker.example.org/track.gif" width="16" height="16"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><use xlink:href="https://evil.example.org/sprite.svg#icon"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><rect width="16" height="16" fill="url(https://example.org/paint.svg#gradient)"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><foreignObject width="16" height="16"><div xmlns="http://www.w3.org/1999/xhtml">Hello</div></foreignObject><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" onload="alert('xss')"><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M 1 8 h 14" fill="none" stroke="#000" marker-end="url(https://example.org/markers.svg#arrow)"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><mask id="mask"><rect width="16" height="16" fill="#fff"/></mask></defs><rect width="16" height="16" mask="url(https://tracker.example.org/mask.png)"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><script>alert("xss")</script><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.a::after { content: "/*"; } .b { background: url(https://example.org/background.png); } .c::after { content: "*/"; }</style><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>@import url(https://example.org/style.css);</style><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>@import "https://example.org/style.css";</style><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.logo { background: u\72l("https://example.org/background.png"); } .logo2 { background: \75rl("https://example.org/other.png"); }</style><circle class="logo" cx="8" cy="8" r="8" fill="#000"/><circle class="logo2" cx="8" cy="8" r="4" fill="#fff"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><style>.logo { background: url("https://example.org/background.png"); }</style><circle class="logo" cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/css" href="https://example.org/style.css"?><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16"><a xlink:href="javascript:alert('xss')"><circle cx="8" cy="8" r="8" fill="#000"/></a></svg>
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������ޭ������
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" fill="#000"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" fill="#000"><animate attributeName="cx" values="4;8;12" dur="1s" repeatCount="indefinite"/></circle></svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- Animations assigning external links to "a" elements, which do not load any resource when the document is rendered, both modifying their parent element and referencing the target element with their own "href". -->
|
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
|
|
4
|
-
<a><set attributeName="href" to="https://example.org"/><text y="8">Example</text></a>
|
|
5
|
-
<a id="link"><text y="15">Other</text></a>
|
|
6
|
-
<g><animate href="#link" attributeName="href" values="#none;https://other.example.org" dur="1s" fill="freeze"/></g>
|
|
7
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- An animation assigning a presentation attribute whose reference resolves to an
|
|
3
|
-
element of the document itself, which is fetched only when the animation reaches
|
|
4
|
-
it, so the document is accepted. -->
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
6
|
-
<defs><pattern id="paint"><rect width="16" height="16"/></pattern></defs>
|
|
7
|
-
<rect width="16" height="16"><animate attributeName="fill" values="url(#paint);url(#paint)" dur="1s"/></rect>
|
|
8
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<!-- A logo exported by a vector editor, using a style sheet, symbol reuse and an embedded raster image. -->
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
|
|
5
|
-
<style>.logo { fill: #000; } .dot { fill: url(#dot); }</style>
|
|
6
|
-
<defs>
|
|
7
|
-
<circle id="dot" cx="8" cy="8" r="8"/>
|
|
8
|
-
</defs>
|
|
9
|
-
<use xlink:href="#dot" class="logo" style="fill:url(#dot);"/>
|
|
10
|
-
<image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==" width="1" height="1"/>
|
|
11
|
-
<a xlink:href="https://example.org"><text y="15">offset=0; one=1</text></a>
|
|
12
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A document whose CSS references are resolved against the document itself:
|
|
3
|
-
the paint server and the mask, which are not fetched as the properties
|
|
4
|
-
accepting them only refer to elements of the document, and the text which
|
|
5
|
-
only looks like a reference because it is inside a string which is not an
|
|
6
|
-
argument of a function loading a resource. -->
|
|
7
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
8
|
-
<defs>
|
|
9
|
-
<pattern id="paint"><rect width="16" height="16"/></pattern>
|
|
10
|
-
<mask id="mask"><rect width="16" height="16" fill="#fff"/></mask>
|
|
11
|
-
</defs>
|
|
12
|
-
<style>.logo { fill: url(#paint); mask: url(#mask); content: "image-set(\"https://example.org/logo.png\")"; }</style>
|
|
13
|
-
<circle class="logo" cx="8" cy="8" r="8" mask="url(#mask)"/>
|
|
14
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- An inline data reference which declares its own encoding. Its contents are
|
|
3
|
-
decoded as bytes, so the declared encoding is still read when they are
|
|
4
|
-
parsed as a nested document. -->
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><image width="16" height="16" href="data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22ISO-8859-1%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctext%3E%E9%3C%2Ftext%3E%3C%2Fsvg%3E"/></svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A document which mentions an entity declaration only inside a comment and
|
|
3
|
-
inside a CDATA section, where they are not interpreted as declarations. -->
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
5
|
-
<!-- Exported by a tool which documented that <!ENTITY declarations are not used. -->
|
|
6
|
-
<style><![CDATA[/* The text "<!ENTITY foo>" here is not a declaration. */ circle { fill: #000; }]]></style>
|
|
7
|
-
<circle cx="8" cy="8" r="8"/>
|
|
8
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A document which mentions an entity declaration inside a processing
|
|
3
|
-
instruction, where it is only text and not a declaration. -->
|
|
4
|
-
<?editor <!ENTITY documented "text of the instruction" ?>
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
6
|
-
<text y="15">Example</text>
|
|
7
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- An animation whose target reference is percent encoded, which browsers
|
|
3
|
-
resolve to the identifier of a link, which does not load any resource. -->
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
|
|
5
|
-
<a id="link" xlink:href="https://example.org"><text y="15">Example</text></a>
|
|
6
|
-
<set xlink:href="#%6C%69%6E%6B" attributeName="href" to="https://example.org" dur="1s" fill="freeze"/>
|
|
7
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- An animation whose target reference decodes to the multi-byte identifier of
|
|
3
|
-
a link, which does not load any resource. -->
|
|
4
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
|
|
5
|
-
<a id="café" xlink:href="https://example.org"><text y="15">Example</text></a>
|
|
6
|
-
<set xlink:href="#caf%C3%A9" attributeName="href" to="https://example.org" dur="1s" fill="freeze"/>
|
|
7
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- An animation whose target reference mixes a literal multi-byte character
|
|
3
|
-
with percent encoded bytes, which browsers resolve to the identifier of a
|
|
4
|
-
link, which does not load any resource. -->
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
|
|
6
|
-
<a id="caféé" xlink:href="https://example.org"><text y="15">Example</text></a>
|
|
7
|
-
<set xlink:href="#café%C3%A9" attributeName="href" to="https://example.org" dur="1s" fill="freeze"/>
|
|
8
|
-
</svg>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A document whose presentation attributes reference elements of the document
|
|
3
|
-
itself: the paint server, the filter, the clipping path and the marker,
|
|
4
|
-
which are resolved without fetching any resource. -->
|
|
5
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
6
|
-
<defs>
|
|
7
|
-
<pattern id="paint"><rect width="16" height="16"/></pattern>
|
|
8
|
-
<filter id="blur"><feGaussianBlur stdDeviation="1"/></filter>
|
|
9
|
-
<clipPath id="clip"><circle cx="8" cy="8" r="8"/></clipPath>
|
|
10
|
-
<marker id="arrow" markerWidth="4" markerHeight="4" refX="2" refY="2"><path d="M 0 0 l 4 2 l -4 2 z"/></marker>
|
|
11
|
-
</defs>
|
|
12
|
-
<rect width="16" height="16" fill="url(#paint)" stroke="#000" filter="url(#blur)" clip-path="url(#clip)" marker-end="url(#arrow)"/>
|
|
13
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A logo referencing resources which are resolved against the document itself (fragments and relative paths) or which are inline (data URIs), and linking to an external site, which does not load any resource. -->
|
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 16">
|
|
4
|
-
<defs>
|
|
5
|
-
<circle id="dot" cx="8" cy="8" r="8"/>
|
|
6
|
-
</defs>
|
|
7
|
-
<use href="#dot"/>
|
|
8
|
-
<image href="logo.png" width="16" height="16"/>
|
|
9
|
-
<image xlink:href="/assets/logo.png" width="16" height="16"/>
|
|
10
|
-
<image href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8BQDwAEhQGAhKmMIQAAAABJRU5ErkJggg==" width="1" height="1"/>
|
|
11
|
-
<a xlink:href="https://example.org"><text y="15">Example</text></a>
|
|
12
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!-- A logo whose style sheet mentions resource references only inside quoted text and comments, which are rendered as content and never loaded. -->
|
|
3
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16">
|
|
4
|
-
<style>.logo::after { content: "See @import instructions"; } .logo::before { content: "url(https://example.org/logo.png)"; } .logo::first-line { content: "u\72l(https://example.org/logo.png)"; } .logo { fill: url(#dot); /* background: url(https://example.org) */ }</style>
|
|
5
|
-
<defs>
|
|
6
|
-
<circle id="dot" cx="8" cy="8" r="8"/>
|
|
7
|
-
</defs>
|
|
8
|
-
<circle class="logo" cx="8" cy="8" r="8" fill="#000" style="content: 'url(https://example.org) and @import'"/>
|
|
9
|
-
</svg>
|
|
Binary file
|