Changeset 173


Ignore:
Timestamp:
05/11/13 01:33:30 (6 years ago)
Author:
nhoyt
Message:
  • ff-overlay.js, view-category.js, view-details.js: Added ainspector.clearContent reference to OAA_WEB_ACCESSIBILITY_UTILS.removeChildNodes fn.
  • view-details.xul, ai-sidebar.css: Tweaked margin widths of ainspector-selected-rule, ainspector-rule-details and ainspector-details-rule-info.
Location:
trunk/proto-13/chrome
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-13/chrome/content/ff-overlay.js

    r169 r173  
    1212 
    1313// initialize references to utility methods 
     14ainspector.clearContent = OAA_WEB_ACCESSIBILITY_UTILS.removeChildNodes; 
    1415ainspector.getProps     = OAA_WEB_ACCESSIBILITY_UTILS.getProperties; 
    1516ainspector.getPropValue = OAA_WEB_ACCESSIBILITY_UTILS.getPropValue; 
  • trunk/proto-13/chrome/content/view-category.js

    r172 r173  
    295295  var isRowSelected = tree.view.selection.isSelected(index); 
    296296  var nls = ainspectorSidebar.nlsProperties; 
    297   var getHTML  = OAA_WEB_ACCESSIBILITY_UTILS.createXHTMLElement; 
    298   var clearContent = OAA_WEB_ACCESSIBILITY_UTILS.removeChildNodes; 
     297  var getHTML = OAA_WEB_ACCESSIBILITY_UTILS.createXHTMLElement; 
    299298 
    300299  var h2, p; 
     
    308307 
    309308  // specify text for Selected Rule vbox 
    310   clearContent(vbox); 
     309  ainspector.clearContent(vbox); 
    311310 
    312311  if (isRowSelected) { 
  • trunk/proto-13/chrome/content/view-details.js

    r172 r173  
    2525  var index = tree.currentIndex; 
    2626 
    27   var getHTML  = OAA_WEB_ACCESSIBILITY_UTILS.createXHTMLElement; 
    28   var clearContent = OAA_WEB_ACCESSIBILITY_UTILS.removeChildNodes; 
     27  var getHTML = OAA_WEB_ACCESSIBILITY_UTILS.createXHTMLElement; 
    2928  var h2, p, ul, li; 
    3029  var h2FirstStyle = ainspector.h2FirstStyle; 
     
    4544  // set the vbox XHTML content 
    4645  var vbox1 = document.getElementById("ainspector-rule-details"); 
    47   clearContent(vbox1); 
     46  ainspector.clearContent(vbox1); 
    4847 
    4948  h2 = getHTML("h2", labels.SUMMARY, h2FirstStyle); 
     
    5958  // set the Rule Information panel XHTML content 
    6059  var vbox2 = document.getElementById("ainspector-details-rule-info"); 
    61   clearContent(vbox2); 
     60  ainspector.clearContent(vbox2); 
    6261 
    6362  h2 = getHTML("h2", labels.DEFINITION, h2FirstStyle); 
     
    101100ainspectorSidebar.clearDetailsView = function () { 
    102101  var vbox1 = document.getElementById("ainspector-rule-details"); 
    103   clearContent(vbox1); 
     102  ainspector.clearContent(vbox1); 
    104103 
    105104  var vbox2 = document.getElementById("ainspector-details-rule-info"); 
    106   clearContent(vbox2); 
     105  ainspector.clearContent(vbox2); 
    107106}; 
    108107 
  • trunk/proto-13/chrome/content/view-details.xul

    r172 r173  
    1717    <spacer height="12"/> 
    1818 
    19     <tabbox id="ainspector-details-tabbox" persist="selectedIndex label"> 
     19    <tabbox id="ainspector-details-tabbox" 
     20      persist="selectedIndex label" 
     21      style="margin-left: 4px"> 
    2022      <tabs style="font-size: 110%"> 
    2123        <tab label="&ai-details.label.elements;"/> 
     
    2325      </tabs> 
    2426      <tabpanels style="padding: 16px 0px 0px"> 
    25         <tabpanel height="303" style="padding: 0; background: white"> 
     27        <tabpanel height="303" style="background: white"> 
    2628          <vbox id="ainspector-details-elements"/> 
    2729        </tabpanel> 
  • trunk/proto-13/chrome/skin/ai-sidebar.css

    r172 r173  
    110110  margin: 0; 
    111111  margin-left: 4px; 
    112   margin-right: 4px; 
     112  margin-right: 5px; 
    113113  padding: 4px; 
    114114} 
Note: See TracChangeset for help on using the changeset viewer.