diff --git a/apps/app/ui-tests-app/css/combinators.css b/apps/app/ui-tests-app/css/combinators.css new file mode 100644 index 000000000..a1beb6d33 --- /dev/null +++ b/apps/app/ui-tests-app/css/combinators.css @@ -0,0 +1,36 @@ +.direct-child--type > Button { + background-color: red; + color: white; +} + +.direct-child--class > .test-child { + background-color: blue; + color: white; +} + +.direct-sibling--type Button + Label { + background-color: green; + color: white; +} + +.direct-sibling--id #test-child + #test-child-2 { + background-color: pink; +} + +.direct-sibling--class .test-child + .test-child-2 { + background-color: yellow; +} + +.direct-sibling--attribute Button[data="test-child"] + Button[data="test-child-2"] { + background-color: blueviolet; + color: white; +} + +.direct-sibling--pseudo-selector Button + Button:disabled { + background-color: black; + color: white; +} + +.sibling-test-label { + text-align: center; +} diff --git a/apps/app/ui-tests-app/css/combinators.xml b/apps/app/ui-tests-app/css/combinators.xml new file mode 100644 index 000000000..b7ee5b367 --- /dev/null +++ b/apps/app/ui-tests-app/css/combinators.xml @@ -0,0 +1,66 @@ + + + + + +