[wp-trac] [WordPress Trac] #55231: Excessive <svg> elements? As of 5.9.1 Release - Not present in 5.9.
WordPress Trac
noreply at wordpress.org
Wed Feb 23 04:24:13 UTC 2022
#55231: Excessive <svg> elements? As of 5.9.1 Release - Not present in 5.9.
--------------------------+-------------------------------------------
Reporter: mvaleno | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 5.9.1
Severity: normal | Keywords: has-screenshots needs-testing
Focuses: |
--------------------------+-------------------------------------------
This is a before and after.
Started with WordPress 5.9 updated to 5.9.1 and I see a bunch of <svg>
elements before the wp-site-blocks <div> element.
One of these <svg> elements looks like this when expanded in the
inspector:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 0 0" width="0"
height="0" focusable="false" role="none" style="visibility: hidden;
position: absolute; left: -9999px; overflow: hidden;"><defs><filter id
="wp-duotone-dark-grayscale"><feColorMatrix color-interpolation-
filters="sRGB" type="matrix" values=" .299 .587 .114 0 0 .299 .587 .114 0
0 .299 .587 .114 0 0 .299 .587 .114 0 0
"></feColorMatrix><feComponentTransfer color-interpolation-
filters="sRGB"><feFuncR type="table" tableValues="0
0.49803921568627"></feFuncR><feFuncG type="table" tableValues="0
0.49803921568627"></feFuncG><feFuncB type="table" tableValues="0
0.49803921568627"></feFuncB><feFuncA type="table" tableValues="1
1"></feFuncA></feComponentTransfer><feComposite in2="SourceGraphic"
operator="in"></feComposite></filter></defs></svg>
There are many!
Here are the before and after 5.9.1 update images.
Looking at the home page twenty-twenty-two theme, default content, with
Google inspect, WordPress 5.9
[[Image(https://ibb.co/TmwMJtf)]]
Looking at the home page twenty-twenty-two theme, default content, with
Google inspect, WordPress 5.9.1
[[Image(https://ibb.co/W5XhRt4)]]
Not that they seem to be effecting anything, but 1) I can't find where
they are generated 2) They are really cluttering the page structure in the
inspector; as I use it to make sure I am following ARIA rules...
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55231>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list