Title: [255912] trunk
Revision
255912
Author
[email protected]
Date
2020-02-06 03:23:45 -0800 (Thu, 06 Feb 2020)

Log Message

Unreviewed. [GTK] Use radio buttons instead of a combo for text direction in theme test

* ManualTests/gtk/theme.html:

Modified Paths

Diff

Modified: trunk/ChangeLog (255911 => 255912)


--- trunk/ChangeLog	2020-02-06 08:47:38 UTC (rev 255911)
+++ trunk/ChangeLog	2020-02-06 11:23:45 UTC (rev 255912)
@@ -1,3 +1,9 @@
+2020-02-06  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. [GTK] Use radio buttons instead of a combo for text direction in theme test
+
+        * ManualTests/gtk/theme.html:
+
 2020-02-05  Don Olmstead  <[email protected]>
 
         [PlayStation] Build a shared _javascript_Core

Modified: trunk/ManualTests/gtk/theme.html (255911 => 255912)


--- trunk/ManualTests/gtk/theme.html	2020-02-06 08:47:38 UTC (rev 255911)
+++ trunk/ManualTests/gtk/theme.html	2020-02-06 11:23:45 UTC (rev 255912)
@@ -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>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to