API Reference 0.3.24dart_web_toolkit_uiCaptionPanelImplMozilla

CaptionPanelImplMozilla class

Implementation class that handles Mozilla rendering issues.

class CaptionPanelImplMozilla extends CaptionPanelImpl {

 void setSafeCaption(dart_html.FieldSetElement fieldset, dart_html.Element legend, SafeHtml caption) {
   setCaption(fieldset, legend, caption.asString(), true);
 }

 void setCaption(dart_html.FieldSetElement fieldset, dart_html.Element legend, String caption, [bool asHtml = true]) {
   fieldset.style.display = "none";
   super.setCaption(fieldset, legend, caption, asHtml);
   fieldset.style.display = "";
 }
}

Extends

CaptionPanelImpl > CaptionPanelImplMozilla

Methods

void setCaption(FieldSetElement fieldset, Element legend, String caption, [bool asHtml = true]) #

void setCaption(dart_html.FieldSetElement fieldset, dart_html.Element legend, String caption, [bool asHtml = true]) {
 fieldset.style.display = "none";
 super.setCaption(fieldset, legend, caption, asHtml);
 fieldset.style.display = "";
}

void setSafeCaption(FieldSetElement fieldset, Element legend, SafeHtml caption) #

void setSafeCaption(dart_html.FieldSetElement fieldset, dart_html.Element legend, SafeHtml caption) {
 setCaption(fieldset, legend, caption.asString(), true);
}