Open GoogleCodeExporter opened 9 years ago
How are you globally modifying the line height? Something like * { line-height:
1em; }? Do you have a sample document?
A quick perusal of the W3 spec for HTML4 doesn't indicate how superscript
should be rendered. Am I missing something? I have seen other places indicate
that the rise should be half a character and not based on line height. However,
if this is your primary complaint it affects text outside a table as well.
Original comment by eclecticgeek
on 28 Feb 2011 at 7:25
Original comment by fabien.menager
on 14 May 2011 at 11:32
Actually it is not needed to alter the global line-height of the document.
The following just demonstrates the current problems:
<td>Some <span class="s1">special</span> text.</td>
inside a table, and some css:
span.s2 {
font-size: 50%;
}
It seems like changing color the text inside a table-cell has effect, but
font-resizing isnt honored at all.
Original comment by excepti...@hotmail.com
on 23 Sep 2011 at 10:05
Font sizing appears to work correctly. Your sample code is using the wrong
class name inside the table.
The problem with superscript appears to be related to text that is not
contained within a block-level element. A work-around to the problem is to
surround your text with some type of block element, e.g. P or DIV.
Original comment by eclecticgeek
on 24 Sep 2011 at 12:47
attaching test document
Original comment by eclecticgeek
on 24 Sep 2011 at 12:48
Attachments:
Original comment by eclecticgeek
on 24 May 2013 at 3:00
Original issue reported on code.google.com by
excepti...@hotmail.com
on 25 Feb 2011 at 8:27