Brion VIBBER has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/132750

Change subject: CSS style to make HTML5 <wbr> work on IE 8-11
......................................................................

CSS style to make HTML5 <wbr> work on IE 8-11

(Note that using the zero-width space directly is roughly equivalent;
see https://en.wikipedia.org/wiki/Zero-width_space )

Bug: 65155
Change-Id: I53f62fdb26cec65a3f4a5bea1bb9b1d7a9cb9c13
---
M skins/common/shared.css
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/50/132750/1

diff --git a/skins/common/shared.css b/skins/common/shared.css
index ac7f407..f9f0372 100644
--- a/skins/common/shared.css
+++ b/skins/common/shared.css
@@ -38,7 +38,11 @@
        background-color: yellow;
        color: black;
 }
-
+/* Helper for wbr element on IE 8+; in HTML5 but not supported by default as 
of IE 11 */
+/* Note canonical HTML5 styles recommend "content: \u200B" but this doesn't 
work as of IE 11 */
+wbr {
+       display: inline-block;
+}
 /* Input types that should follow user direction, like buttons */
 /* TODO: What about buttons in wikipage content ? */
 input[type="submit"],

-- 
To view, visit https://gerrit.wikimedia.org/r/132750
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I53f62fdb26cec65a3f4a5bea1bb9b1d7a9cb9c13
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <br...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to