Package booton.css

Examples of booton.css.MyCSS.countProperty()


        MyCSS css = new MyCSS();
        css.transform.skewX(10, deg);

        assert css.has("-webkit-transform", "skewX(10deg)");
        assert css.has("transform", "skewX(10deg)");
        assert css.countProperty() == 2;
    }

    @Test
    public void skewY() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here


        MyCSS css = new MyCSS();
        css.transform.skewY(10, deg);

        assert css.has("-webkit-transform", "skewY(10deg)");
        assert css.has("transform", "skewY(10deg)");
        assert css.countProperty() == 2;
    }
}
View Full Code Here

    public void normal() throws Exception {
        MyCSS css = new MyCSS();
        css.overflow.hidden();

        assert css.has("overflow", "hidden");
        assert css.countProperty() == 1;
    }

    @Test
    public void x() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

    public void x() throws Exception {
        MyCSS css = new MyCSS();
        css.overflow.x.scroll();

        assert css.has("overflow-x", "scroll");
        assert css.countProperty() == 1;
    }

    @Test
    public void y() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

    public void y() throws Exception {
        MyCSS css = new MyCSS();
        css.overflow.y.visible();

        assert css.has("overflow-y", "visible");
        assert css.countProperty() == 1;
    }

    @Test
    public void xy() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

        MyCSS css = new MyCSS();
        css.overflow.x.auto().y.hidden();

        assert css.has("overflow-x", "auto");
        assert css.has("overflow-y", "hidden");
        assert css.countProperty() == 2;
    }
}
View Full Code Here

        MyCSS css = new MyCSS();
        css.transform.rotate(10, deg);

        assert css.has("-webkit-transform", "rotate(10deg)");
        assert css.has("transform", "rotate(10deg)");
        assert css.countProperty() == 2;
    }

    @Test
    public void rotateX() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

        MyCSS css = new MyCSS();
        css.transform.rotateX(10, deg);

        assert css.has("-webkit-transform", "rotateX(10deg)");
        assert css.has("transform", "rotateX(10deg)");
        assert css.countProperty() == 2;
    }

    @Test
    public void rotateY() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

        MyCSS css = new MyCSS();
        css.transform.rotateY(10, deg);

        assert css.has("-webkit-transform", "rotateY(10deg)");
        assert css.has("transform", "rotateY(10deg)");
        assert css.countProperty() == 2;
    }

    @Test
    public void rotateZ() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

        MyCSS css = new MyCSS();
        css.transform.rotateZ(10, deg);

        assert css.has("-webkit-transform", "rotateZ(10deg)");
        assert css.has("transform", "rotateZ(10deg)");
        assert css.countProperty() == 2;
    }

    @Test
    public void translate() throws Exception {
        MyCSS css = new MyCSS();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.