Home | History | Annotate | Download | only in qwebelement

Lines Matching refs:QWebElement

26 #include <qwebelement.h>
106 QWebElement body = m_mainFrame->documentElement();
119 QWebElement body = m_mainFrame->documentElement();
130 QWebElement body = m_mainFrame->documentElement();
159 QWebElement svg = m_mainFrame->findFirstElement("svg");
178 QWebElement svg = m_mainFrame->findFirstElement("svg");
196 QWebElement body = m_mainFrame->documentElement();
199 QWebElement p = m_mainFrame->documentElement().findAll("p").at(0);
266 QWebElement body = m_mainFrame->documentElement();
269 QWebElement svg = body.findAll("*#foobar").at(0);
281 QWebElement body = m_mainFrame->documentElement();
284 QList<QWebElement> referenceList = paras.toList();
286 QList<QWebElement> foreachList;
287 foreach(QWebElement p, paras) {
295 QList<QWebElement> forLoopList;
316 QWebElement body = m_mainFrame->documentElement();
332 QWebElement body = m_mainFrame->documentElement();
347 QWebElement body = m_mainFrame->documentElement();
349 foreach(QWebElement p, body.findAll("p")) {
367 QWebElement body = m_mainFrame->documentElement();
397 QWebElement para = m_mainFrame->findFirstElement("p");
422 QWebElement para = m_mainFrame->documentElement().findAll("p").at(0);
431 QWebElement doc = m_mainFrame->documentElement();
448 QWebElement firstPara = firstFrame->documentElement().findAll("p").at(0);
449 QWebElement secondPara = secondFrame->documentElement().findAll("p").at(0);
470 QWebElement p = m_mainFrame->documentElement().findAll("p").at(0);
471 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("blue"));
472 QVERIFY(p.styleProperty("cursor", QWebElement::InlineStyle).isEmpty());
477 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("red"));
478 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("yellow"));
479 QCOMPARE(p.styleProperty("cursor", QWebElement::InlineStyle), QLatin1String("auto"));
482 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("green"));
483 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("green"));
486 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("blue"));
487 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("green"));
490 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("blue"));
491 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("blue"));
507 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("blue"));
508 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("blue"));
524 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("blue"));
525 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("blue"));
541 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String(""));
542 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("red"));
561 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("blue"));
562 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("black"));
579 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String("black"));
586 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String(""));
587 QCOMPARE(p.styleProperty("color", QWebElement::CascadedStyle), QLatin1String(""));
595 QWebElement p = m_mainFrame->documentElement().findAll("p").at(0);
596 QCOMPARE(p.styleProperty("cursor", QWebElement::ComputedStyle), QLatin1String("auto"));
597 QVERIFY(!p.styleProperty("cursor", QWebElement::ComputedStyle).isEmpty());
598 QVERIFY(p.styleProperty("cursor", QWebElement::InlineStyle).isEmpty());
603 QCOMPARE(p.styleProperty("cursor", QWebElement::ComputedStyle), QLatin1String("text"));
604 QCOMPARE(p.styleProperty("color", QWebElement::ComputedStyle), QLatin1String("rgb(255, 0, 0)"));
605 QCOMPARE(p.styleProperty("color", QWebElement::InlineStyle), QLatin1String("red"));
620 QWebElement body = m_mainFrame->documentElement().findFirst("body");
661 QWebElement body = m_mainFrame->documentElement().findFirst("body");
662 QWebElement div = body.findFirst("div");
704 QWebElement body = m_mainFrame->documentElement().findFirst("body");
709 QWebElement div = body.findFirst("div");
737 QWebElement body = m_mainFrame->documentElement().findFirst("body");
762 QWebElement body = m_mainFrame->documentElement().findFirst("body");
798 QWebElement body = m_mainFrame->documentElement().findFirst("body");
847 QWebElement body = m_mainFrame->documentElement().findFirst("body");
893 QWebElement body = m_mainFrame->findFirstElement("body");
895 QWebElement p = body.firstChild();
898 QWebElement table = p.nextSibling();
908 QWebElement body = m_mainFrame->findFirstElement("body");
910 QWebElement table = body.lastChild();
913 QWebElement p = table.previousSibling();
928 QWebElement input1 = inputs.at(0);
932 QWebElement input2 = inputs.at(1);
998 // compare table rendered through QWebElement::render to whole page table rendering
1035 QWebElement head = m_mainFrame->findFirstElement("head");