| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 } | 98 } |
| 99 | 99 |
| 100 inline bool canHaveChildrenForEditing(const Node* node) | 100 inline bool canHaveChildrenForEditing(const Node* node) |
| 101 { | 101 { |
| 102 return !node->isTextNode() && node->canContainRangeEndPoint(); | 102 return !node->isTextNode() && node->canContainRangeEndPoint(); |
| 103 } | 103 } |
| 104 | 104 |
| 105 bool isAtomicNode(const Node*); | 105 bool isAtomicNode(const Node*); |
| 106 bool isBlock(const Node*); | 106 bool isBlock(const Node*); |
| 107 bool isInline(const Node*); | 107 bool isInline(const Node*); |
| 108 bool isSpecialHTMLElement(const Node*); | |
| 109 bool isTabHTMLSpanElement(const Node*); | 108 bool isTabHTMLSpanElement(const Node*); |
| 110 bool isTabHTMLSpanElementTextNode(const Node*); | 109 bool isTabHTMLSpanElementTextNode(const Node*); |
| 111 bool isMailHTMLBlockquoteElement(const Node*); | 110 bool isMailHTMLBlockquoteElement(const Node*); |
| 112 bool isRenderedTableElement(const Node*); | 111 bool isRenderedTableElement(const Node*); |
| 113 bool isRenderedHTMLTableElement(const Node*); | 112 bool isRenderedHTMLTableElement(const Node*); |
| 114 bool isTableCell(const Node*); | 113 bool isTableCell(const Node*); |
| 115 bool isEmptyTableCell(const Node*); | 114 bool isEmptyTableCell(const Node*); |
| 116 bool isTableStructureNode(const Node*); | 115 bool isTableStructureNode(const Node*); |
| 117 bool isHTMLListElement(Node*); | 116 bool isHTMLListElement(Node*); |
| 118 bool isListItem(const Node*); | 117 bool isListItem(const Node*); |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 271 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 273 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; | 272 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
| 274 } | 273 } |
| 275 | 274 |
| 276 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 275 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 277 const String& nonBreakingSpaceString(); | 276 const String& nonBreakingSpaceString(); |
| 278 | 277 |
| 279 } | 278 } |
| 280 | 279 |
| 281 #endif | 280 #endif |
| OLD | NEW |