WebKit Bugzilla
Attachment 340569 Details for
Bug 185721
: CSS transition not applied if color and fill="currentColor" in same SVG element
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Concise test case for reproducing the issue
transition-bug.html (text/html), 826 bytes, created by
Jan Bösenberg
on 2018-05-17 03:57:04 PDT
(
hide
)
Description:
Concise test case for reproducing the issue
Filename:
MIME Type:
Creator:
Jan Bösenberg
Created:
2018-05-17 03:57:04 PDT
Size:
826 bytes
patch
obsolete
><!DOCTYPE html> ><html> ><head> > <meta charset="utf-8"> > <meta name="viewport" content="width=device-width"> > <title>JS Bin</title> > <style type="text/css"> > > .colored { > color: red; > transition: color 1s; > } > > .colored:hover { > color: blue; > } > > </style> ></head> ><body> > <div>Move mouse over squares to change color</div> > <div > > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="256" viewBox="0,0,512,256" color-interpolation="sRGB" > > > <rect class="colored" x="64" y="64" width="128" height="128" fill="currentColor" /> > > <g class="colored"> > <rect x="256" y="64" width="128" height="128" fill="currentColor" /> > </g> > > </svg> > </div> > ></body> ></html>
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <title>JS Bin</title> <style type="text/css"> .colored { color: red; transition: color 1s; } .colored:hover { color: blue; } </style> </head> <body> <div>Move mouse over squares to change color</div> <div > <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="256" viewBox="0,0,512,256" color-interpolation="sRGB" > <rect class="colored" x="64" y="64" width="128" height="128" fill="currentColor" /> <g class="colored"> <rect x="256" y="64" width="128" height="128" fill="currentColor" /> </g> </svg> </div> </body> </html>
View Attachment As Raw
Actions:
View
Attachments on
bug 185721
: 340569