- From: Dirk Schulze <dschulze@adobe.com>
- Date: Sun, 25 May 2014 07:10:37 +0000
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- CC: FX <public-fx@w3.org>, www-style <www-style@w3.org>
On May 23, 2014, at 11:32 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote: >> 2) If no Element was passed, what is the fallback for relative of percentage values? > > Generally speaking, these types of things are resolved against a 0 > length. I suppose that em/rem/etc should be resolved against the UA > default font and font-size. I checked MSCSSMatrix and WebKitCSSMatrix. Both have a method called setMatrixValue which takes a DOMString as argument. This DOMString takes a <transform-list> in the CSS Transforms notation. Percentage length values and relative length values throw a SyntaxError exception for both engines. It is at least another possibility. I am not sure if UAs can access font data without a document even though it should be possible. Greetings, Dirk
Received on Sunday, 25 May 2014 07:11:12 UTC