Hi, trying to find the reason for the tiny fonts in gmail, I found the following: <html> <head> <style type="text/css"> td {font-family: arial; font-size:50%} </style> </head> <body> <table> <tr> <td> foo bar </td> </tr> <tr> <td> <table> <tr> <td>foo bar</td> </tr> </table> </td> </tr> </table> </body> </html> is rendered with the same font size in both lines in firefox, konqueror, and opera. Can someone enlighten me why the nested <td> does not decrease the font size again in the second line? If I change the CSS to act on <table> instead of <td> it works as expected. Cheers, Johannes
Oh well. Just found this here: http://developer.mozilla.org/En/Fixing_Table_Inheritance_in_Quirks_Mode Not sure whether I want to do anything about it. Adding quirks in browsers just causes web developers to add quirks to fix them and so on... Cheers, Johannes On Tue, Jun 23, 2009 at 01:16:05PM +0200, Johannes Hofmann wrote:
Hi,
trying to find the reason for the tiny fonts in gmail, I found the following:
<html> <head> <style type="text/css"> td {font-family: arial; font-size:50%} </style> </head> <body>
<table> <tr> <td> foo bar </td> </tr> <tr> <td> <table> <tr> <td>foo bar</td> </tr> </table> </td> </tr> </table>
</body> </html>
is rendered with the same font size in both lines in firefox, konqueror, and opera. Can someone enlighten me why the nested <td> does not decrease the font size again in the second line?
If I change the CSS to act on <table> instead of <td> it works as expected.
Cheers, Johannes
_______________________________________________ Dillo-dev mailing list Dillo-dev@dillo.org http://lists.auriga.wearlab.de/cgi-bin/mailman/listinfo/dillo-dev
On Tue, 23 Jun 2009 13:37:11 +0200 Johannes Hofmann <Johannes.Hofmann@gmx.de> wrote:
Oh well. Just found this here:
http://developer.mozilla.org/En/Fixing_Table_Inheritance_in_Quirks_Mode
Not sure whether I want to do anything about it. Adding quirks in browsers just causes web developers to add quirks to fix them and so on...
For now, as a workaround font_min_size could be set to 10-12 by default (anything lower than 10 is unreadable), but not sure how this will effect some websites, where text is intentionally hidden by setting its size to negative or very low value.
On Tue, Jun 23, 2009 at 05:13:29PM +0300, Tomas R wrote:
On Tue, 23 Jun 2009 13:37:11 +0200 Johannes Hofmann <Johannes.Hofmann@gmx.de> wrote:
Oh well. Just found this here:
http://developer.mozilla.org/En/Fixing_Table_Inheritance_in_Quirks_Mode
Not sure whether I want to do anything about it. Adding quirks in browsers just causes web developers to add quirks to fix them and so on...
For now, as a workaround font_min_size could be set to 10-12 by default (anything lower than 10 is unreadable), but not sure how this will effect some websites, where text is intentionally hidden by setting its size to negative or very low value.
To simulate the behaviour of other browsers, you can add table, caption {font-size: medium} to your ~/.dillo/style.css for now. Maybe we should add this to the FAQ? Cheers, Johannes
On Tue, Jun 23, 2009 at 01:37:11PM +0200, Johannes Hofmann wrote:
Oh well. Just found this here:
http://developer.mozilla.org/En/Fixing_Table_Inheritance_in_Quirks_Mode
Not sure whether I want to do anything about it. Adding quirks in browsers just causes web developers to add quirks to fix them and so on...
Well, it's a quirk... and we already have the font_min_size to tackle the problem. I'd prefer to focus our scarce development time into issues deemed high priority (e.g. the column rendering in textblock). -- Cheers Jorge.-
participants (3)
-
jcid@dillo.org
-
Johannes.Hofmann@gmx.de
-
sandshrew@gmail.com