I was creating a CSS only tooltip, and found a problem with safari. I have all links have text-decoration set to none, by default, and underline on hover, per usual. I also have a span inside the link, that contains the tool tip. I have set it to text-decoration:none, and it does not take it, when the link is hovered, and the tip is displayed , the tooltip still has underlines. I will post a test page I created for this.
Created attachment 16448 [details] Test Page Test page, hover the link, the tooltip text should not be underlined.
Also note, the desired effect is displayed in Firefox and IE, so this is the expected result.
Confirmed difference in behavior from Firefox 2.0.0.7 with a local debug build of WebKit r25803 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).
I guess maybe other browsers don't propagate underlines into positioned blocks. I don't think the "none' is relevant.
Although this should be strict mode, so I have no idea what's going on. Will have to debug.
(In reply to comment #4) > I guess maybe other browsers don't propagate underlines into positioned blocks. > I don't think the "none' is relevant. > I see what you mean, I was thinking that that line was causing it to be non underlined... But still, shouldn't that code do what I am thinking? If the parent block has one style, and the child reverses/cancels the same style? shouldn't it not be still inheriting?
More testing... all browsers are varying here.. IE does respect the text-decoration. Firefox does not but.. Firefox does not by default undeline spans etc. in links that are position:absolute. I think that safari should combine both.. for compatibility...I don't know which one is w3c right? any of them?
Created attachment 460307 [details] Safari 15.5 matches other browsers I am unable to reproduce this bug where the "underline" propagate to tooltip in Safari 15.5 on macOS 12.4 and it is matching all other browsers (Chrome Canary 105 and Firefox Nightly 103). I have attached screenshot of Safari 15.5 behavior but it is similar to other browsers. I think it might have been fixed along the lines or it was spec issue and other browser (Firefox) might have fixed it on their end. I think it can be marked as "RESOLVED CONFIGURATION CHANGED". Thanks!
(In reply to Ahmad Saleem from comment #8) > Created attachment 460307 [details] > Safari 15.5 matches other browsers > > I am unable to reproduce this bug where the "underline" propagate to tooltip > in Safari 15.5 on macOS 12.4 and it is matching all other browsers (Chrome > Canary 105 and Firefox Nightly 103). I have attached screenshot of Safari > 15.5 behavior but it is similar to other browsers. > > I think it might have been fixed along the lines or it was spec issue and > other browser (Firefox) might have fixed it on their end. I think it can be > marked as "RESOLVED CONFIGURATION CHANGED". Thanks! Thank you!