Esempio n. 1
0
    /**
     * Test for getCssGradient
     *
     * @return void
     */
    public function testgetCssGradient()
    {
        $this->assertEquals($this->object->getCssGradient('12345', '54321'), 'background-image: url(./themes/svg_gradient.php?from=12345&to=54321);
background-size: 100% 100%;
background: -webkit-gradient(linear, left top, left bottom, from(#12345), to(#54321));
background: -webkit-linear-gradient(top, #12345, #54321);
background: -moz-linear-gradient(top, #12345, #54321);
background: -ms-linear-gradient(top, #12345, #54321);
background: -o-linear-gradient(top, #12345, #54321);');
    }