Changes between Initial Version and Version 1 of Ticket #6796


Ignore:
Timestamp:
Jan 3, 2011, 9:21:53 AM (9 years ago)
Author:
Scott González
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6796

    • Property Status changed from new to open
  • Ticket #6796 – Description

    initial v1  
    11If you attempt using a buttonset on a document or element which has dir="rtl" the wrong corners will be selected
    22
    3 Just see the code here (demo code for button set, only one change - bolded)
    4 
    5 <html '''dir="rtl"'''>
    6 
    7 {{{
    8 <!DOCTYPE html>
    9 <html dir="rtl">
    10 <head>
    11   <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
    12   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    13   <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
    14  
    15   <script>
    16   $(document).ready(function() {
    17     $("#radio").buttonset();
    18   });
    19   </script>
    20 </head>
    21 <body style="font-size:62.5%;">
    22  
    23 <div id="radio">
    24         <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label>
    25         <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label>
    26         <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label>
    27 </div>
    28 
    29 </body>
    30 </html>
    31 }}}
     3Just add <html dir="rtl">to the existing demo pages to see the problem.