[Webkit-unassigned] [Bug 104390] calc() not working inside translateX
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 4 00:46:56 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=104390
Alexander Shalamov <alexander.shalamov at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexander.shalamov at gmail.co
| |m
--- Comment #2 from Alexander Shalamov <alexander.shalamov at gmail.com> 2013-03-04 00:49:20 PST ---
(In reply to comment #0)
> Created an attachment (id=178253)
--> (https://bugs.webkit.org/attachment.cgi?id=178253&action=review) [details]
> test page showing the issue
>
> While -webkit-calc() works for a property like width, this done not seem to work:
>
> .card.second {
> transform: translateX(-webkit-calc(100% - 4.3em));
> transform: translateX(calc(100% - 4.3em));
> }
>
> That for is allowed in Firefox 18.
>
> Attaching a test page and a screenshot with the expected result.
I think transformations are prefixed at the moment. With -webkit-transform CSS property name, I get same result as in the attached image.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list