From b9164b3690d63187e91fcef39cc81aa8c066806d Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 11 Apr 2015 00:24:27 -0700 Subject: [PATCH] Remove half-assed inclusion of link URLs (hrefs) when printing * Relative URLs were output as-is, which is suboptimal or even confusing for end-users * Ditto for fragment identifiers * Outputting long URLs inline with prose isn't good UX JavaScript could potentially help with this (e.g. http://alistapart.com/article/improvingprint). However, we're not currently interested in trying to tackle the hard problem of fancy print stylesheets/views (particularly given the level of cross-browser inconsistency when it comes to printing). So let's just keep things simple, vanilla, and unsurprising, which should also make it easy for others to add their own print fanciness on top of Bootstrap. --- scss/_print.scss | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scss/_print.scss b/scss/_print.scss index 54f9bffab8..44aeead496 100644 --- a/scss/_print.scss +++ b/scss/_print.scss @@ -20,21 +20,10 @@ text-decoration: underline; } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { content: " (" attr(title) ")"; } - // Don't show links that are fragment identifiers, - // or use the `javascript:` pseudo protocol - a[href^="#"]:after, - a[href^="javascript:"]:after { - content: ""; - } - pre, blockquote { border: 1px solid #999;