- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 11 Apr 2012 13:15:40 -0400
- To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
- CC: WWW Style <www-style@w3.org>
On 4/11/12 10:04 AM, Kang-Hao (Kenny) Lu wrote: > data:text/html,<!DOCTYPE html> > <div style="background-color: blue; font-size: 2em; > width: calc(1em); height: 1em; > transform: translateX(1em);"> > <div style="background-color: red; font-size: 0.5em; > width: inherit; height: 1em; transform: inherit"> > </div> > </div> (unprefixed) > > , Firefox14a but not IE9 resolves relative unit *in calc()*. Firefox14a, > Operal12alpha and IE9 but not Chromium18 *don't* resolve relative unit > in translateX(), matching Areyh's observation[1]. WebKit nightly resolves the relative unit in both calc() and translateX(), if I understand the testcase correctly. In particular, it matches Firefox for calc(). -Boris
Received on Wednesday, 11 April 2012 17:16:13 UTC