Last modified: 2014-11-12 12:04:32 UTC
The style sheets for <indicator> elements are not working in print, they are ignored: no floating, no inline elements. .mw-body .mw-indicators {...}, .mw-body .mw-indicator {...} A rule with the descendant combinators .mw-body .mw-indicator(s) seems not working. They work without .mw-body.
I don't understand this report, sorry. Is there a problem with default styles? Is there a problem with your own styles not working as expected?
It is a problem with the default styles which are not working for print.
Steps to reproduce welcome.
I used Seamonkey/Firefox for test. Yesterday we introduced indicators at Wikivoyage/de as you can see it on screen for instance at https://de.wikivoyage.org/wiki/Siwa in the upper right corner consisting of three items (two icons and a coordinate). There are two default css lines for this behavior: .mw-body .mw-indicators{float:right;line-height:1.6;font-size:0.875em;position:relative;z-index:1} .mw-body .mw-indicator{display:-moz-inline-block;display:inline-block;zoom:1;*display:inline} But these rules are not working if you print the article (or use print preview or print version in the side bar). In the print, all three items are on the left side once below the other. Therefore I introduced workaround styles in Mediawiki:Common.css like: .mw-indicators { /* Workaround for bug 73297 */ float:right; line-height:1.6; font-size:0.875em; position:relative; z-index:1 } .mw-indicator { /* Workaround for bug 73297 */ display:-moz-inline-block; display:inline-block; zoom:1; *display:inline } And now it works. These are the same rules but without mw-body ie without descendant combinators. You should also think about rtl writing fpr Hebrew and Arabic sites