| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 { | 122 { |
| 123 return EditingStrategy::editingIgnoresContent(node); | 123 return EditingStrategy::editingIgnoresContent(node); |
| 124 } | 124 } |
| 125 | 125 |
| 126 inline bool canHaveChildrenForEditing(const Node* node) | 126 inline bool canHaveChildrenForEditing(const Node* node) |
| 127 { | 127 { |
| 128 return !node->isTextNode() && node->canContainRangeEndPoint(); | 128 return !node->isTextNode() && node->canContainRangeEndPoint(); |
| 129 } | 129 } |
| 130 | 130 |
| 131 bool isAtomicNode(const Node*); | 131 bool isAtomicNode(const Node*); |
| 132 CORE_EXPORT bool isBlock(const Node*); | 132 CORE_EXPORT bool isEnclosingBlock(const Node*); |
| 133 bool isInline(const Node*); | 133 bool isInline(const Node*); |
| 134 bool isTabHTMLSpanElement(const Node*); | 134 bool isTabHTMLSpanElement(const Node*); |
| 135 bool isTabHTMLSpanElementTextNode(const Node*); | 135 bool isTabHTMLSpanElementTextNode(const Node*); |
| 136 bool isMailHTMLBlockquoteElement(const Node*); | 136 bool isMailHTMLBlockquoteElement(const Node*); |
| 137 bool isRenderedTableElement(const Node*); | 137 bool isRenderedTableElement(const Node*); |
| 138 bool isRenderedHTMLTableElement(const Node*); | 138 bool isRenderedHTMLTableElement(const Node*); |
| 139 bool isTableCell(const Node*); | 139 bool isTableCell(const Node*); |
| 140 bool isEmptyTableCell(const Node*); | 140 bool isEmptyTableCell(const Node*); |
| 141 bool isTableStructureNode(const Node*); | 141 bool isTableStructureNode(const Node*); |
| 142 bool isHTMLListElement(Node*); | 142 bool isHTMLListElement(Node*); |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 307 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 308 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; | 308 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; |
| 309 } | 309 } |
| 310 | 310 |
| 311 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 311 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 312 const String& nonBreakingSpaceString(); | 312 const String& nonBreakingSpaceString(); |
| 313 | 313 |
| 314 } | 314 } |
| 315 | 315 |
| 316 #endif | 316 #endif |
| OLD | NEW |