Jean-Marc Desperrier wrote:
> Axel Hecht wrote:
>> I'm asked for reviews to intl.css patches every now and then, and I 
>> wonder if I should advocate the use of @-moz-document.
> 
> I didn't know about intl.css, does it make no sense to think it could be 
> diverted to solve the "Rendering of ellipsis for different scripts" 
> problem ? (by using it to force the UI to use the correct localized font 
> instead of the one inherited from the OS)
> 

I don't think so. The ellipsis is really a layout problem and not an 
l10n problem. Yeah, broken record.

The two frequent use cases where we show the ellipsis are either in a 
context that is dominated by web content, or that's a localizable string 
anyway. The first one is hard, the latter one is trivial.

The problem about the first one is to understand where to break the OS 
integration piece. One way I have been thinking about would be to find 
out which font category the OS language is in, and only to use the OS 
font for those that match, and to use our font settings for all others.

The real problem is, I have no idea how strict the selection of the OS 
font for chrome really is. Looking at DOMI, it doesn't seem to be a CSS 
rule.

Axel
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to