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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 isRenderedTable(const Node*); | 104 bool isRenderedTable(const Node*); |
| 105 bool isTableElement(const Node*); |
105 bool isTableCell(const Node*); | 106 bool isTableCell(const Node*); |
106 bool isEmptyTableCell(const Node*); | 107 bool isEmptyTableCell(const Node*); |
107 bool isTableStructureNode(const Node*); | 108 bool isTableStructureNode(const Node*); |
108 bool isListElement(Node*); | 109 bool isListElement(Node*); |
109 bool isListItem(const Node*); | 110 bool isListItem(const Node*); |
110 bool isNodeRendered(const Node*); | 111 bool isNodeRendered(const Node*); |
111 bool isNodeVisiblyContainedWithin(Node*, const Range*); | 112 bool isNodeVisiblyContainedWithin(Node*, const Range*); |
112 bool isRenderedAsNonInlineTableImageOrHR(const Node*); | 113 bool isRenderedAsNonInlineTableImageOrHR(const Node*); |
113 bool areIdenticalElements(const Node*, const Node*); | 114 bool areIdenticalElements(const Node*, const Node*); |
114 bool isNonTableCellHTMLBlockElement(const Node*); | 115 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. | 249 // 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; | 250 return character == '\'' || character == rightSingleQuotationMark || charact
er == hebrewPunctuationGershayim; |
250 } | 251 } |
251 | 252 |
252 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); | 253 String stringWithRebalancedWhitespace(const String&, bool startIsStartOfParagrap
h, bool endIsEndOfParagraph); |
253 const String& nonBreakingSpaceString(); | 254 const String& nonBreakingSpaceString(); |
254 | 255 |
255 } | 256 } |
256 | 257 |
257 #endif | 258 #endif |
OLD | NEW |