Issue metadata
Sign in to add a comment
|
SVG <a> tag breaking fill property in inline SVG
Reported by
myd...@gmail.com,
Dec 27 2016
|
||||||||||||||||||||||
Issue descriptionChrome Version (from the about:version page): 55.0.2883.87 (Official Build) (64-bit) Is this the most recent version: yes OS + version: Ubuntu 16.10 CPU architecture (32-bit / 64-bit): 64-bit Window manager: Unity Behavior in Linux Firefox: working as expected Behavior in Windows Chrome (if you have access to it): working as expected What steps will reproduce the problem? (1) Create html file with inline svg with text. (2) Enclose the text with <a> tag. (3) In an external style sheet set the fill property of the svg to red. What is the expected result? The text is red. What happens instead? The text is black. Please provide any additional information below. Attach a screenshot and backtrace if possible. Without the <a> tag everything is working as expected. And if I write fill="inherit" in the <text> tag everything is working as expected too. This is happening only in google chrome on linux, in other browsers on linux it is working as it should. In google chrome on windows it is working too without problems.
,
Dec 27 2016
yes, exactly the same version 55.0.2883.87
,
Jan 2 2017
For the Windows vs. Linux comparison, had the URL https://www.google.com been visited in both of the browsers prior to the test being run?
,
Jan 2 2017
I visited the site in both OS. I thought the color is wrong, because the link was visited already, but it happens with any site, visited or not.
,
Jan 2 2017
I cannot reproduce with "any site", only with once visited within the same browsing context. (When testing "any site", make doubly sure they are not visited - perhaps by using a made up domain name.)
,
Jan 10 2017
Thank you for providing more feedback. Adding requester "schenney@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jan 10 2017
Marking available (confirmed) based on comment #5.
,
Jan 10 2017
,
Jan 13 2017
I tried it again with made up web pages names and it shows red as it should be. But it is a color in a SVG element. I don't think chrome should change the color of an image when it is in a visited <a> link.
,
Jan 13 2017
I found this issue, that seems to be the same as mine: https://bugs.chromium.org/p/chromium/issues/detail?id=352912
,
Jan 15 2017
I think, it is the same bug as in the link in comment #10. But they did write, they resolved it, but it is still here. I made a fiddle from the files on top: https://jsfiddle.net/0vc6okxj/1/
,
Jan 17 2017
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by schenney@chromium.org
, Dec 27 2016Labels: Needs-Feedback
NextAction: 2017-01-10