https://bugzilla.wikimedia.org/show_bug.cgi?id=17297
--- Comment #12 from Philippe Verdy <[email protected]> 2012-10-07 16:21:58 UTC --- Looks good. Note that this ialso fixes other useful cases (not just superscripts and subscripts) : - the case where the inner subelements implicitly need to set their own line-height, notably in multilingual texts where inner subelements may be written in another script requiring a bigger line-height as they implicitly use another font which has larger line height requirements (example: citations in Chinese, or Tibetan, within an English paragraph). This was needed for better supporting the internationalisation. - the case where the inner subelements explicitly set a bigger font size (for example with the "big" HTML element. This generally should not occur in Wikipedia articles but it will occur within texts found in Wikisource. Thanks for fixing it, because it avoids many undesired overlaps between lines of text (including if the content is JUST a text element, where that text element uses multiple scripts requiring multiple fonts, or a font that does not even match those specified by default or explicitly in the container). It also avoids overlaps above or below the block element containing the paragraph : the block will be automatially adjusted if needed, by taking first within their top or bottom margin, or expanding them as needed. Using unitless line-heights allows the line-height to be inherited so that lines will be contextually higher where needed (even if this makes the while paragraph having non evenly spaced lines). Forcing evenly spaced lines (with a unit in the line-height) is only required in very specific contexts, where the Wikicode (or HTML markup) will explicitly set a fixed line-height using an explicit line-height with a unit for this case (this is not needed for articles, just for forms where you want to align text lines horizontally between separate columns. This is enough rare that such occurences will be explicitly CSS-styled at the begining of the paragraph or in a container <div> or <table> (or a wiki table), but I've not been able to find any article requiring this hack for forcing evenly spaced lines. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
