Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(945)

Side by Side Diff: Source/core/editing/htmlediting.h

Issue 59963002: Unable to delete the first and the last characters of a contenteditable div with display: table. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing the nits Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/editing/CompositeEditCommand.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/editing/CompositeEditCommand.cpp ('k') | Source/core/editing/htmlediting.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698