code: protected void bind(Element element, CmsDomUtil.Style... attributes) {
  
          if (m_elem == null) {
              // create playground
              m_elem = DOM.createDiv();
              Style style = m_elem.getStyle();
              style.setVisibility(Style.Visibility.HIDDEN);
              style.setPosition(Style.Position.ABSOLUTE);
              style.setLeft(-5000, Style.Unit.PX);
              style.setTop(-5000, Style.Unit.PX);
          }
          // copy all relevant CSS properties
          Style style = m_elem.getStyle();
          for (CmsDomUtil.Style attr : attributes) {
              String attrName = attr.toString();
              style.setProperty(attrName, CmsDomUtil.getCurrentStyle(element, attr));
          }
          // append playground
          RootPanel.getBodyElement().appendChild(m_elem);
      }
docs: Binds this text metrics instance to an element from which to copy existing
  CSS styles that can affect the size of the rendered text.<p>
  
  @param element the element
  @param attributes the attributes to bind