author Xidorn Quan <>
Thu, 02 Oct 2014 14:24:32 -0400
changeset 235931 d79568d581e64100b24d4612fee26e74d6dd33a4
parent 112810 612d29c19d3c641dd1d400928e3088e598cdb3c4
permissions -rw-r--r--
Bug 1075336 - Fix lifetime management of CounterStyle. r=dbaron, a=sledru

<!DOCTYPE html>
    This test checks that setting a background on a ::-moz-placeholder works.
    However, given that it is not possible to do an actualy equality check, we
    have te check that setting a background doesn't produce the same result
    as not setting it.
    :-moz-any(input, textarea).color::-moz-placeholder {
      background-color: blue;
    :-moz-any(input, textarea).gradient::-moz-placeholder {
      background: linear-gradient(to right, blue, white, red);
    <input class="color" placeholder='foo'>
    <textarea class="color" placeholder='foo'></textarea>
    <input class="gradient" placeholder='foo'>
    <textarea class="gradient" placeholder='foo'></textarea>