Unreviewed. [GTK] Use radio buttons instead of a combo for text direction in theme...
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Feb 2020 11:23:45 +0000 (11:23 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Feb 2020 11:23:45 +0000 (11:23 +0000)
* ManualTests/gtk/theme.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@255912 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
ManualTests/gtk/theme.html

index b4b73a6..a5a8b39 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. [GTK] Use radio buttons instead of a combo for text direction in theme test
+
+        * ManualTests/gtk/theme.html:
+
 2020-02-05  Don Olmstead  <don.olmstead@sony.com>
 
         [PlayStation] Build a shared JavaScriptCore
index c7d3323..643865a 100644 (file)
@@ -8,8 +8,9 @@
     GTK_THEME=theme-name[:variant] environment variable.
   </p>
 
-  <p>Text direction: <select onchange="body = document.getElementById('body'); if (this.selectedIndex == 0) body.style.direction='ltr'; else body.style.direction='rtl';">
-      <option>Left to right</option><option>Right to left</option></select>
+  <p>Text direction:
+    <input type="radio" name="direction" id="ltr" checked onchange="if (document.getElementById('ltr').checked) body.setAttribute('dir', 'ltr');"/>Left to right
+    <input type="radio" name="direction" id="rtl" onchange="if (document.getElementById('rtl').checked) body.setAttribute('dir', 'rtl');"/> Right to left<br/>
   </p>
 
   <h1>Buttons</h1>