- From: Trav Stone <travtrilogi@gmail.com>
- Date: Wed, 02 Dec 2015 08:42:13 +0000
- To: www-style@w3.org
- Message-ID: <CAJg5QxAhBRq1WmAJHXNJh8quDuA29PX0DNrcvr1Vi6sjLQQQPg@mail.gmail.com>
Hi, Jumping in this thread; it would definitely be helpful to have some API that returns the exact values that the browser is operating upon. See the following bugs I posted: https://code.google.com/p/chromium/issues/detail?id=559245 https://bugzilla.mozilla.org/show_bug.cgi?id=1226695 In my use-case, what's of interest is knowing (via JS) when the browser is generating an ellipsis. Most of the time this works with integers, but there are cases where it fails. Unfortunately in the application I'm working on there's sufficient data being displayed to almost guarantee that the problem will surface on any given page. Also worth noting: in my use-case I'm working with text in a TD element, so getClientBoundingRect isn't an option unless I want to add extra markup. Given that our application is so data-intensive (with corresponding markup complexity), extra markup is a fairly onerous burden. I understand the issues with changing the int values of the existing API(s), so I am strongly in support of making a new API to resolve the issue. Many thanks! Trav
Received on Monday, 7 December 2015 13:06:19 UTC