Esempio n. 1
0
  /** {@inheritDoc} */
  @Override
  public Node jsxGet_lastChild() {
    if (getBrowserVersion()
        .hasFeature(BrowserVersionFeatures.JS_ATTR_FIRST_LAST_CHILD_RETURNS_NULL)) {
      return null;
    }

    final DomText text = new DomText(getDomNodeOrDie().getPage(), jsxGet_nodeValue());
    return (Node) text.getScriptObject();
  }
Esempio n. 2
0
 /*  9:   */
 /* 10:   */ public Object jsxFunction_splitText(int offset) /* 11:   */ {
   /* 12:47 */ DomText domText = (DomText) getDomNodeOrDie();
   /* 13:48 */ return getScriptableFor(domText.splitText(offset));
   /* 14:   */ }