Home | History | Annotate | Download | only in html

Lines Matching full:token

102 void HTMLViewSourceDocument::addViewSourceToken(Token* token)
107 if (token->tagName == textAtom)
108 addText(token->text.get(), "");
109 else if (token->tagName == commentAtom) {
110 if (token->beginTag) {
112 addText(String("<!--") + token->text.get() + "-->", "webkit-html-comment");
120 if (!token->beginTag)
122 text += token->tagName;
123 Vector<UChar>* guide = token->m_sourceInfo.get();
143 if (token->attrs && currAttr < token->attrs->length())
144 attr = token->attrs->attributeItem(currAttr++);
162 if (equalIgnoringCase(token->tagName, "base") && equalIgnoringCase(attr->name().localName(), "href")) {
171 m_current = addLink(value, equalIgnoringCase(token->tagName, "a"));