function testBlockItem() {
  var el = block.container;
  var legend = goog.dom.getFirstElementChild(el);

  assertEquals(String(goog.dom.TagName.FIELDSET), el.tagName);
  assert(goog.dom.classlist.contains(el, 'vsaq-block'));
  assertEquals(String(goog.dom.TagName.LEGEND), legend.tagName);

  var span = goog.dom.getFirstElementChild(legend);
  assertEquals(String(goog.dom.TagName.SPAN), span.tagName);
  assertEquals(CAPTION, span.innerHTML);
}
/**
 * Tests whether blocks are rendered correctly.
 */
Tests whether blocks are rendered correctly.
Tests whether blocks are rendered correctly .
function testBlockItem() {
  var el = block.container;
  var legend = goog.dom.getFirstElementChild(el);
  assertEquals(String(goog.dom.TagName.FIELDSET), el.tagName);
  assert(goog.dom.classlist.contains(el, 'vsaq-block'));
  assertEquals(String(goog.dom.TagName.LEGEND), legend.tagName);
  var span = goog.dom.getFirstElementChild(legend);
  assertEquals(String(goog.dom.TagName.SPAN), span.tagName);
  assertEquals(CAPTION, span.innerHTML);
}
function testBlockItem ( ) { var el = block . container ; var legend = goog . dom . getFirstElementChild ( el ) ; assertEquals ( String ( goog . dom . TagName . FIELDSET ) , el . tagName ) ; assert ( goog . dom . classlist . contains ( el , 'vsaq-block' ) ) ; assertEquals ( String ( goog . dom . TagName . LEGEND ) , legend . tagName ) ; var span = goog . dom . getFirstElementChild ( legend ) ; assertEquals ( String ( goog . dom . TagName . SPAN ) , span . tagName ) ; assertEquals ( CAPTION , span . innerHTML ) ; }
Tests whether blocks are rendered correctly.
Tests whether blocks are rendered correctly .