[Webkit-unassigned] [Bug 104390] New: calc() not working inside translateX

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 7 12:32:05 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=104390

           Summary: calc() not working inside translateX
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jrburke at gmail.com


Created an attachment (id=178253)
 --> (https://bugs.webkit.org/attachment.cgi?id=178253&action=review)
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.

-- 
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