Пример #1
0
WebNodeCollection WebInputElement::dataListOptions() const
{
#if ENABLE(DATALIST_ELEMENT)
    HTMLDataListElement* dataList = static_cast<HTMLDataListElement*>(constUnwrap<HTMLInputElement>()->list());
    if (dataList)
        return WebNodeCollection(dataList->options());
#endif
    return WebNodeCollection();
}
Пример #2
0
WebNodeCollection WebDocument::all()
{
    return WebNodeCollection(unwrap<Document>()->all());
}