• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/tidy-15.15/tidy/src/

Lines Matching defs:content

45         if (node->prev == NULL && node->parent->content != node)
52 for (child = node->content; child; child = child->next)
109 if (node->parent->content == node)
110 node->parent->content = node->next;
137 of content of "element"
143 if (element->content == NULL)
146 element->content->prev = node;
148 node->next = element->content;
150 element->content = node;
155 of content of "element"
165 element->content = node;
176 node->content = element;
181 if (node->parent->content == element)
182 node->parent->content = node;
214 if (parent->content == element)
215 parent->content = node;
246 if ( element->content )
329 if (node->content)
330 TY_(DropEmptyElements)(doc, node->content);
460 parent's content, then by discarding the space
623 if (node->content)
624 CleanSpaces(doc, node->content);
644 Node* text = element->content;
696 if (!(root->content && root->content->type == XmlDecl))
977 /* mixed content model permits text */
994 HTML4 strict doesn't allow mixed content for
995 elements with %block; as their content model
999 noscript have content model %block;
1077 start tag, discard the start tag and let the subsequent content get
1078 parsed as content of the enclosing LI. This seems to mimic IE and
1080 ParseBlock (which is parsing the LI's content) and ParseList (which
1081 is parsing the LI's parent's content) repeatedly defer to each
1317 block) content model, e.g. <del> or <ins>, otherwise constructs like
1359 element->content && element->content == element->last )
1361 Node *child = element->content;
1373 element->content = child->content;
1375 child->content = element;
1406 if (element->content != NULL && node->attributes == NULL)
1426 if ( element->content == NULL && !(mode & Preformatted) )
1439 /* mixed content model so allow text */
1628 if (element->content == NULL)
1657 if (element->content == NULL)
1691 if (element->content == NULL)
1766 else if (!(element->content))
1911 if (list->content)
2084 unexpected content in table row is moved to just before
2115 if (row->content == NULL)
2217 if head content move to head
2319 if head content move to head
2621 /* acceptable content for pre elements */
2897 if (field->content == NULL && !(mode & Preformatted))
2959 if (title->content == NULL)
2995 This isn't quite right for CDATA content as it recognises
2996 tags within the content and parses them accordingly.
3160 AttVal * content = AttrGetById(node, TidyAttr_CONTENT);
3161 if (httpEquiv && AttrValueIs(httpEquiv, "Content-Type") && AttrHasValue(content))
3165 val = charset = TY_(tmbstrdup)(content->value);
3167 val = strstr(content->value, "charset");
3310 /* mixed content model permits text */
3446 /* HTML4 strict doesn't allow inline content here */
3796 for (node = frameset->content; node; node = node->next)
3853 /* insert other content into noframes element */
3898 node = body->content;
3933 if (node->content)
3934 EncloseBlockText(doc, node->content);
3938 || !node->content)
3944 block = node->content;
3982 if (node->content)
3983 ReplaceObsoleteElements(doc, node->content);
4005 if (node->content)
4006 AttributeChecks(doc, node->content);
4013 2007-02-02 iccir If TidySanitizeAgainstXSS is set, remove elements which could load external content
4042 /* When the content was parsed as XML, the tag identifiers all point at a generic XML tag identifier
4061 else if (node->content)
4063 SanitizeNodesAgainstXSS(doc, node->content);
4082 if (TY_(FindXmlDecl)(doc) && doc->root.content)
4279 /* parse content on seeing start tag */
4291 node = element->content;
4364 /* if start tag then parse element's content */