[gtk/wip/ebassi/grid-layout: 2/2] testsuite/css: Change the active RadioButton



commit c9d8ff21d2086b2a9de322ae8f81d316d554452b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Apr 5 01:39:34 2019 +0100

    testsuite/css: Change the active RadioButton
    
    The `buttons` test for CSS nodes sets the second RadioButton as the
    active one, whereas the first RadioButton is not set as active.
    Nevertheless, the reference output says that the first radio button
    should match the `:checked` selector, whereas the second radio button
    should not.
    
    The fact that the test currently passes is a mystery.

 testsuite/css/nodes/buttons.ui | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/testsuite/css/nodes/buttons.ui b/testsuite/css/nodes/buttons.ui
index 60e429dd2d..f9343c6725 100644
--- a/testsuite/css/nodes/buttons.ui
+++ b/testsuite/css/nodes/buttons.ui
@@ -31,6 +31,7 @@
           <object class="GtkRadioButton" id="button3">
             <property name="label" translatable="yes">Hello World!</property>
             <property name="can_focus">1</property>
+            <property name="active">1</property>
             <property name="receives_default">1</property>
             <layout>
               <property name="left_attach">2</property>
@@ -41,7 +42,6 @@
         <child>
           <object class="GtkRadioButton" id="button4">
             <property name="label" translatable="yes">Hello World!</property>
-            <property name="active">1</property>
             <property name="group">button3</property>
             <property name="can_focus">1</property>
             <property name="receives_default">1</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]