Moves stroke, stroke-width and fill attributes from icons to CSS (#23980).

git-svn-id: https://svn.redmine.org/redmine/trunk@23087 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu
2024-09-28 09:55:20 +00:00
parent b9f72246c9
commit ae57e3d6df
4 changed files with 100 additions and 106 deletions

View File

@@ -1716,7 +1716,7 @@ class ApplicationHelperTest < Redmine::HelperTest
Regexp.new(
'<div class="contextual heading-2" title="Edit this section" id="section-4">' \
'<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=4">' \
'<svg class="s18" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \
'<svg class="s18 icon-svg" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \
'<span class="icon-label">Edit this section</span>' \
'</a></div>' \
'<a name="Subtitle-with-inline-code"></a>' \
@@ -1731,7 +1731,7 @@ class ApplicationHelperTest < Redmine::HelperTest
Regexp.new(
'<div class="contextual heading-2" title="Edit this section" id="section-5">' \
'<a class="icon-only icon-edit" href="/projects/1/wiki/Test/edit\?section=5">' \
'<svg class="s18" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \
'<svg class="s18 icon-svg" aria-hidden="true"><use href="\/assets\/icons-.*.svg#icon--edit"></use></svg>' \
'<span class="icon-label">Edit this section</span>' \
'</a></div>' \
'<a name="Subtitle-after-pre-tag"></a>' \