W3C validator is throwing some error.
Error: Duplicate attribute style.
At line 511, column 116
512 512" style="enable-backgr
Can we safely remove the part that is causing error e/o any fatal consequences:
<svg style="transform: rotate(-90deg);" x="0px" y="0px" viewBox="0 0 512 512"
style="enable-background:new 0 0 512 512;" xml:space="preserve">
Gandalf
2
What part of the error message do you not understand?
should we remove this:
style="enable-background:new 0 0 512 512;"
w/o any unseen or fatal issue?
Gandalf
4
Why not see what happens if you combine the two style
attributes?
2 Likes
It appears to be deprecated…
https://www.w3.org/TR/filter-effects/#AccessBackgroundImage
coothead
1 Like
Do you mean instead of 1,2,3, 4 there should be only one “style”
or may be problem is in this part:
<svg style="transform: rotate(-90deg);" x="0px" y="0px" viewBox="0 0 512 512" style=" 0 0 512 512;" xml:space="preserve">
Hi there codeispoetry,
There are others that have also fallen by the wayside…
…and are indicated in a shade of red. 
coothead
1 Like
That error got fixed by this:
Previous →
<svg style="transform: rotate(-90deg);" x="0px" y="0px" viewBox="0 0 512 512" style=" 0 0 512 512;" xml:space="preserve">
now:
<svg style="transform: rotate(-90deg);" x="0px" y="0px" viewBox="0 0 512 512" xml:space="preserve">
Deleted this part:
style=" 0 0 512 512;"
system
Closed
9
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.