/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * The contents of this file are subject to the Mozilla Public
 * License Version 1.1 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of
 * the License at http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS
 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 * implied. See the License for the specific language governing
 * rights and limitations under the License.
 *
 * The Original Code is the Mozilla SVG project.
 *
 * The Initial Developer of the Original Code is Crocodile Clips Ltd.
 * Portions created by Crocodile Clips are 
 * Copyright (C) 2001 Crocodile Clips Ltd. All
 * Rights Reserved.
 *
 * Contributor(s): 
 *
 *    Alex Fritze <alex.fritze@crocodile-clips.com> (original author)
 *
 */

/* XXX most xul bindings are switched of because there are too many
 * issues (see bug #111317) */ 

@namespace url(http://www.w3.org/2000/svg);

a {
  -moz-binding:url('chrome://svg/content/svgBindings.xml#a'); 
}

a * {
  cursor: pointer;
}
               
circle {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#circle'); */
}

ellipse {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#ellipse'); */
}

g {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#g'); */
}

line {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#line'); */
}

path {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#path'); */
}

polygon {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#polygon'); */
}

polyline {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#polyline'); */
}

rect {
/*  -moz-binding:url('chrome://svg/content/svgBindings.xml#rect'); */
}

svg {

  /* XXX can't have binding on outermost element. see bug#71191
     -moz-binding:url('chrome://svg/content/svgBindings.xml#svg');
  */
  
  /* give svg elements block display style, so that they reflow
     correctly when given a relative width/height: */
  display: block;

  font-family: Helvetica;
}

svg:not(:root) {
	/* <svg> isn't the root element - we could apply binding if it
   * wasn't for bug#172574 */
	/* -moz-binding:url('chrome://svg/content/svgBindings.xml#svg'); */
}

               
text {
  /* -moz-binding:url('chrome://svg/content/svgBindings.xml#text'); */
}

tspan {
  /* -moz-binding:url('chrome://svg/content/svgBindings.xml#tspan'); */
}


  
