| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 inline bool canHaveChildrenForEditing(const Node* node) | 97 inline bool canHaveChildrenForEditing(const Node* node) |
| 98 { | 98 { |
| 99 return !node->isTextNode() && node->canContainRangeEndPoint(); | 99 return !node->isTextNode() && node->canContainRangeEndPoint(); |
| 100 } | 100 } |
| 101 | 101 |
| 102 bool isAtomicNode(const Node*); | 102 bool isAtomicNode(const Node*); |
| 103 bool isBlock(const Node*); | 103 bool isBlock(const Node*); |
| 104 bool isInline(const Node*); | 104 bool isInline(const Node*); |
| 105 bool isSpecialHTMLElement(const Node*); | 105 bool isSpecialHTMLElement(const Node*); |
| 106 bool isTabSpanElement(const Node*); | 106 bool isTabHTMLSpanElement(const Node*); |
| 107 bool isTabSpanTextNode(const Node*); | 107 bool isTabHTMLSpanElementTextNode(const Node*); |
| 108 bool isMailHTMLBlockquoteElement(const Node*); | 108 bool isMailHTMLBlockquoteElement(const Node*); |
| 109 bool isRenderedTable(const Node*); | 109 bool isRenderedTable(const Node*); |
| 110 bool isRenderedTableElement(const Node*); | 110 bool isRenderedTableElement(const Node*); |
| 111 bool isTableCell(const Node*); | 111 bool isTableCell(const Node*); |
| 112 bool isEmptyTableCell(const Node*); | 112 bool isEmptyTableCell(const Node*); |
| 113 bool isTableStructureNode(const Node*); | 113 bool isTableStructureNode(const Node*); |
| 114 bool isListElement(Node*); | 114 bool isHTMLListElement(Node*); |
| 115 bool isListItem(const Node*); | 115 bool isListItem(const Node*); |
| 116 bool isNodeRendered(const Node*); | 116 bool isNodeRendered(const Node*); |
| 117 bool isNodeVisiblyContainedWithin(Node&, const Range&); | 117 bool isNodeVisiblyContainedWithin(Node&, const Range&); |
| 118 bool isRenderedAsNonInlineTableImageOrHR(const Node*); | 118 bool isRenderedAsNonInlineTableImageOrHR(const Node*); |
| 119 bool areIdenticalElements(const Node*, const Node*); | 119 bool areIdenticalElements(const Node*, const Node*); |
| 120 bool isNonTableCellHTMLBlockElement(const Node*); | 120 bool isNonTableCellHTMLBlockElement(const Node*); |
| 121 TextDirection directionOfEnclosingBlock(const Position&); | 121 TextDirection directionOfEnclosingBlock(const Position&); |
| 122 | 122 |
| 123 // ------------------------------------------------------------------------- | 123 // ------------------------------------------------------------------------- |
| 124 // Position | 124 // Position |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 268 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
| 269 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; | 269 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
| 270 } | 270 } |
| 271 | 271 |
| 272 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 272 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
| 273 const String& nonBreakingSpaceString(); | 273 const String& nonBreakingSpaceString(); |
| 274 | 274 |
| 275 } | 275 } |
| 276 | 276 |
| 277 #endif | 277 #endif |
| OLD | NEW |