# Path: validator/compat.py
# FX53_DEFINITION = _build_definition(53, fennec=False, android=False, thunderbird=False)


from helper import CompatTestCase
from validator.compat import FX53_DEFINITION


class TestFX53Compat(CompatTestCase):
    """Test that compatibility tests for Gecko 53 are properly executed."""

    VERSION = FX53_DEFINITION

    def test_splitmenu_element_removed(self):
        """https://github.com/mozilla/amo-validator/issues/506"""
        expected = 'The splitmenu element has been removed.'

        invalid = '''
            splitmenu {
                -moz-binding: url("chrome://browser/content/urlbarBindings.xml#splitmenu");
            }
        '''

        valid = '''

# Path: validator/compat.py
# FX53_DEFINITION = _build_definition(53, fennec=False, android=False, thunderbird=False)


# Path: tests/compat/test_gecko53.py
from helper import CompatTestCase
from validator.compat import FX53_DEFINITION



class TestFX53Compat(CompatTestCase):
    """Test that compatibility tests for Gecko 53 are properly executed."""

    VERSION = FX53_DEFINITION

    def test_splitmenu_element_removed(self):
        """https://github.com/mozilla/amo-validator/issues/506"""
        expected = 'The splitmenu element has been removed.'

        invalid = '''
            splitmenu {
                -moz-binding: url("chrome://browser/content/urlbarBindings.xml#splitmenu");
            }
        '''

        valid = '''

            .splitmenu-menuitem {