W3C home > Mailing lists > Public > www-style@w3.org > January 2016

Re: [css-size-adjust] Expose the adjusted font-size and adjustment percentage

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sat, 9 Jan 2016 22:15:25 -0500
To: www-style@w3.org
Message-ID: <5691CCCD.70904@mit.edu>
On 1/9/16 6:46 PM, Philip Rogers wrote:
> To address these usecases I'd like to propose two changes that expose
> the text size adjustment values:
> 1) Spec getComputedStyle(...)["font-size"] to return the used font size
> after adjustment.

Does this preserve the general invariant that doing:

   foo.style.fontSize = getComputedStyle(foo).fontSize;

is a no-op?  It doesn't seem like it would, and that's why Gecko has the 
behavior it has here....

Received on Sunday, 10 January 2016 03:15:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:56 UTC