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 isTabHTMLSpanElement(const Node*); | 133 bool isTabHTMLSpanElement(const Node*); |
134 bool isTabHTMLSpanElementTextNode(const Node*); | 134 bool isTabHTMLSpanElementTextNode(const Node*); |
135 bool isMailHTMLBlockquoteElement(const Node*); | 135 bool isMailHTMLBlockquoteElement(const Node*); |
136 bool isRenderedTableElement(const Node*); | 136 bool isRenderedTableElement(const Node*); |
137 bool isRenderedHTMLTableElement(const Node*); | 137 bool isRenderedHTMLTableElement(const Node*); |
138 bool isTableCell(const Node*); | 138 bool isTableCell(const Node*); |
139 bool isEmptyTableCell(const Node*); | 139 bool isEmptyTableCell(const Node*); |
140 bool isTableStructureNode(const Node*); | 140 bool isTableStructureNode(const Node*); |
141 bool isHTMLListElement(Node*); | 141 bool isHTMLListElement(Node*); |
142 bool isListItem(const Node*); | 142 bool isListItem(const Node*); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 308 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
309 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; | 309 return character == '\'' || character == rightSingleQuotationMarkCharacter |
| character == hebrewPunctuationGershayimCharacter; |
310 } | 310 } |
311 | 311 |
312 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 312 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
313 const String& nonBreakingSpaceString(); | 313 const String& nonBreakingSpaceString(); |
314 | 314 |
315 } | 315 } |
316 | 316 |
317 #endif | 317 #endif |
OLD | NEW |