[webkit-dev] Problem with -webkit-gradient css option on MIPS platform.

Konstantin Tokarev annulen at yandex.ru
Tue Sep 29 08:42:18 PDT 2015



29.09.2015, 18:36, "Pushkin Andrei" <Andrei.Pushkin at promwad.com>:
> Hi. I have embedded Linux MIPS board with webkit 1.10.
> This code does not work on my MIPS board (-webkit-gradient is ignored):
> <button type="submit" style="background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#adadad),color-stop(100%,#7d7c7d)); !important">ABC</button>
> But work in my x86 PC on same version of webkit.
>
> This code work fine in all platforms:
> <div style="background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#adadad),color-stop(100%,#7d7c7d)); width: 100px; height:100px">ABC</div>
>
> Andrei Pushkin
> ,
>

That's probably not causing any issues here, but "!important" should be placed before ";", otherwise it has no effect


-- 
Regards,
Konstantin


More information about the webkit-dev mailing list