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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 return !node->isTextNode() && node->canContainRangeEndPoint(); | 94 return !node->isTextNode() && node->canContainRangeEndPoint(); |
95 } | 95 } |
96 | 96 |
97 bool isAtomicNode(const Node*); | 97 bool isAtomicNode(const Node*); |
98 bool isBlock(const Node*); | 98 bool isBlock(const Node*); |
99 bool isInline(const Node*); | 99 bool isInline(const Node*); |
100 bool isSpecialElement(const Node*); | 100 bool isSpecialElement(const Node*); |
101 bool isTabSpanNode(const Node*); | 101 bool isTabSpanNode(const Node*); |
102 bool isTabSpanTextNode(const Node*); | 102 bool isTabSpanTextNode(const Node*); |
103 bool isMailBlockquote(const Node*); | 103 bool isMailBlockquote(const Node*); |
104 bool isTableElement(Node*); | 104 bool isRenderedTable(const Node*); |
105 bool isTableCell(const Node*); | 105 bool isTableCell(const Node*); |
106 bool isEmptyTableCell(const Node*); | 106 bool isEmptyTableCell(const Node*); |
107 bool isTableStructureNode(const Node*); | 107 bool isTableStructureNode(const Node*); |
108 bool isListElement(Node*); | 108 bool isListElement(Node*); |
109 bool isListItem(const Node*); | 109 bool isListItem(const Node*); |
110 bool isNodeRendered(const Node*); | 110 bool isNodeRendered(const Node*); |
111 bool isNodeVisiblyContainedWithin(Node*, const Range*); | 111 bool isNodeVisiblyContainedWithin(Node*, const Range*); |
112 bool isRenderedAsNonInlineTableImageOrHR(const Node*); | 112 bool isRenderedAsNonInlineTableImageOrHR(const Node*); |
113 bool areIdenticalElements(const Node*, const Node*); | 113 bool areIdenticalElements(const Node*, const Node*); |
114 bool isNonTableCellHTMLBlockElement(const Node*); | 114 bool isNonTableCellHTMLBlockElement(const Node*); |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. | 248 // FIXME: this is required until 6853027 is fixed and text checking can do t
his for us. |
249 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; | 249 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
250 } | 250 } |
251 | 251 |
252 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 252 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
253 const String& nonBreakingSpaceString(); | 253 const String& nonBreakingSpaceString(); |
254 | 254 |
255 } | 255 } |
256 | 256 |
257 #endif | 257 #endif |
OLD | NEW |