forked from AuroraMiddleware/gtk
8ecd4e87e3
Add various tests for the change flag computation that we do in the css selector tree. test1: Just test the basic machinery of this test test2: Trigger every change flag at least once test3: Test that multiple states combine as expected test4: Test negations (known to produce wrong results) test5: Test a complex selector (not producing the expected output atm) widget-factory.ui: The real thing: widget-factory+Adwaita. Note that this expedts to be run with GSETTINGS_BACKEND=memory Note that test4 checks the wrong results that we currently produce for selectors involving :not. It will have to be updated when we fix the handling of :not. The widget-factory.ui testcase will certainly also be affected.
49 lines
3.0 KiB
Plaintext
49 lines
3.0 KiB
Plaintext
window.background:dir(ltr) class
|
|
decoration:dir(ltr) class
|
|
box#box.horizontal.test:dir(ltr) name
|
|
label:dir(ltr) name
|
|
label.a:dir(ltr) class|name|disabled
|
|
label.b:dir(ltr) class|name|selected
|
|
label.c:dir(ltr) class|name|backdrop
|
|
label.d:dir(ltr) class|name|state
|
|
label.e:dir(ltr) class|name|first-child
|
|
label.f:dir(ltr) class|name|last-child
|
|
label.g:dir(ltr) class|name|nth-child
|
|
label.h:dir(ltr) class|name|nth-last-child
|
|
label.i:dir(ltr) class|name|hover
|
|
label.j:dir(ltr) class|name|sibling-name
|
|
label.j1:dir(ltr) class|name|sibling-id
|
|
label.k:dir(ltr) class|name|sibling-class|sibling-name
|
|
label.l:dir(ltr) class|name|sibling-name|sibling-hover
|
|
label.m:dir(ltr) class|name|sibling-name|sibling-disabled
|
|
label.n:dir(ltr) class|name|sibling-name|sibling-backdrop
|
|
label.o:dir(ltr) class|name|sibling-name|sibling-selected
|
|
label.p:dir(ltr) class|name|sibling-name|sibling-state
|
|
label.q:dir(ltr) class|name|sibling-name|sibling-first-child
|
|
label.r:dir(ltr) class|name|sibling-name|sibling-last-child
|
|
label.s:dir(ltr) class|name|nth-child|sibling-name|sibling-nth-child
|
|
label.t:dir(ltr) class|name|nth-last-child|sibling-name|sibling-nth-last-child
|
|
label.u:dir(ltr) class|name|parent-name
|
|
label.u1:dir(ltr) class|name|parent-id
|
|
label.v:dir(ltr) class|name|parent-class|parent-name
|
|
label.w:dir(ltr) class|name|parent-name|parent-state
|
|
label.x:dir(ltr) class|name|parent-name|parent-hover
|
|
label.y:dir(ltr) class|name|parent-name|parent-disabled
|
|
label.z:dir(ltr) class|name|parent-name|parent-backdrop
|
|
label.aa:dir(ltr) class|name|parent-name|parent-selected
|
|
label.bb:dir(ltr) class|name|parent-name|parent-first-child
|
|
label.cc:dir(ltr) class|name|parent-name|parent-last-child
|
|
label.dd:dir(ltr) class|name|parent-name|parent-nth-child
|
|
label.ee:dir(ltr) class|name|parent-name|parent-nth-last-child
|
|
label.ff:dir(ltr) class|name|parent-name|parent-sibling-name
|
|
label.gg:dir(ltr) class|name|parent-name|parent-sibling-id
|
|
label.hh:dir(ltr) class|name|parent-name|parent-sibling-class|parent-sibling-name
|
|
label.ii:dir(ltr) class|name|parent-name|parent-sibling-name|parent-sibling-state
|
|
label.jj:dir(ltr) class|name|parent-name|parent-sibling-name|parent-sibling-hover
|
|
label.kk:dir(ltr) class|name|parent-name|parent-sibling-name|parent-sibling-backdrop
|
|
label.ll:dir(ltr) class|name|parent-name|parent-sibling-name|parent-sibling-selected
|
|
label.mm:dir(ltr) class|name|parent-name|parent-sibling-name|parent-sibling-first-child
|
|
label.nn:dir(ltr) class|name|parent-name|parent-sibling-name|parent-sibling-last-child
|
|
label.oo:dir(ltr) class|name|parent-name|parent-nth-child|parent-sibling-name|parent-sibling-nth-child
|
|
label.pp:dir(ltr) class|name|parent-name|parent-nth-last-child|parent-sibling-name|parent-sibling-nth-last-child
|