-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abbr[title] should not have border-bottom #16574
Comments
@Rewt0r I think potentially instead of removing it, it would make more sense to use the @Rewt0r would you be able to post an exact browser version where this issue occurs, the operating system which you use, and a JSBin demonstrating the issue? This will make it easier for the core team to quickly test and confirm the issue which you mention. |
Relevant Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1157083 |
@Rewt0r Ah, link to your bug next time :-) https://bugzilla.mozilla.org/show_bug.cgi?id=1170480 |
Mozilla didn’t make the change at random. There’s two reasons behind it:
Hopefully this explains why your proposal is not the most future-friendly solution. |
Yep, saw that in the x-ref which explained all of that :) thanks for the links though |
Can we close since this doesn't appear to be something we'll be fixing in Bootstrap? |
I just hit this with FF 40 beta. Not sure what we can do but currently it's not right either. EDIT: Just saw the normalize.css issue, subscribed there and we'll see. |
In addition to being affected by this due to Normalize.css, Bootstrap is also directly affected due to Line 237 in 0db1838
|
True that. What do you think we should do @cvrebert? I mean, we should address this as soon as possible since it just looks bad on Firefox. On the other hand, I know Firefox doesn't have the user share Chrome has, but since I use it personally, I'd like to sort this out as soon as possible :) How about we just use @supports? For the tooltip plugin, we could move that style to JS and inject it according to the browser, although I'm not sure I like browser sniffing. |
@XhmikosR Yeah, I think we should apply either |
But what about other browsers? I mean, they don't all implement this. So |
|
*shrug* I defer to @mdo on which of the 2 methods to use. |
I'm in favor of necolas/normalize.css#451. |
But that would remove the border for all browsers, even those which don't have it... |
@XhmikosR So what? It's a harmless no-op if the browser doesn't support |
Well, the browsers that don't have this are the all except for Firefox 40+, right? |
Ah, never mind, I thought that normalize.css patch was just removing |
Ah, thinking it through myself, if the end result would be something like
then yeh, that'd work nicely. 👍 |
Closing for now—we'll get the fix from Normalize whenever it happens <3. |
Can we get a v3 release with this fix? |
@niemyjski, I think it’s possible, but is there any reason you couldn’t use v4? |
@jonathantneal Yes my app is deployed in production and our customers are seeing this with firefox and opera. Also v4 is alpha and will break a lot of stuff on top of it I'm using less. |
Last time I tried this in Chrome it resulted in a black solid line for
|
I don’t know about “alpha”, but normalize.css v4 has had a proper release. A lot of people and time and testing went into v4. There were also a lot of fixes beyond that particular issue. I also understand if you would want to just patch this one thing; and in that case I would recommend adding this rule to your CSS. abbr[title] {
border-bottom: none;
text-decoration: underline;
text-decoration: underline dotted;
} |
Works in firefox but results in solid underline on chrome and others |
Yeah that is what I said above too.
|
Chrome and Firefox are implementing Remember, other browsers never styled As for the solid line; the nearest fallback for As Chrome adds this update (which might come sooner if you ask them for it), your visitors will receive the Should you wish to avoid the standards and the fallback, I would recommend adding this rule to your CSS. abbr[title] {
border-bottom: 1px dotted;
text-decoration: none;
} |
@jonathantneal Thanks! that did the trick and I also left a message on the chrome issue tracker |
Bootstrap 3 is no longer being officially developed or supported. All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4! <3, |
On the latest Firefox releases this is showing 2 underlines on abbr elements, the specification states that the default CSS for abbr[title] should be:
Therefore this is not required in Bootstrap.
Refer to: http://www.w3.org/TR/html5/rendering.html#phrasing-content-0
The text was updated successfully, but these errors were encountered: