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

Side by Side Diff: Source/WebCore/rendering/RenderTable.h

Issue 9117049: Merge 105768 - Incorrect positioning of floating pseudo-elements in table captions (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 months 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/WebCore/rendering/RenderBlock.cpp ('k') | Source/WebCore/rendering/RenderTable.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) 1997 Martin Jones (mjones@kde.org) 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org)
3 * (C) 1997 Torben Weis (weis@kde.org) 3 * (C) 1997 Torben Weis (weis@kde.org)
4 * (C) 1998 Waldo Bastian (bastian@kde.org) 4 * (C) 1998 Waldo Bastian (bastian@kde.org)
5 * (C) 1999 Lars Knoll (knoll@kde.org) 5 * (C) 1999 Lars Knoll (knoll@kde.org)
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) 6 * (C) 1999 Antti Koivisto (koivisto@kde.org)
7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv ed. 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009, 2010 Apple Inc. All rights reserv ed.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual void computeLogicalWidth(); 240 virtual void computeLogicalWidth();
241 241
242 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); 242 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize);
243 243
244 virtual void addOverflowFromChildren(); 244 virtual void addOverflowFromChildren();
245 245
246 void subtractCaptionRect(LayoutRect&) const; 246 void subtractCaptionRect(LayoutRect&) const;
247 247
248 void recalcCollapsedBorders(); 248 void recalcCollapsedBorders();
249 void recalcSections() const; 249 void recalcSections() const;
250 void adjustLogicalHeightForCaption(RenderBlock*); 250 void layoutCaption(RenderTableCaption*);
251 251
252 mutable Vector<LayoutUnit> m_columnPos; 252 mutable Vector<LayoutUnit> m_columnPos;
253 mutable Vector<ColumnStruct> m_columns; 253 mutable Vector<ColumnStruct> m_columns;
254 254
255 mutable Vector<RenderBlock*> m_captions; 255 mutable Vector<RenderBlock*> m_captions;
256 mutable RenderTableSection* m_head; 256 mutable RenderTableSection* m_head;
257 mutable RenderTableSection* m_foot; 257 mutable RenderTableSection* m_foot;
258 mutable RenderTableSection* m_firstBody; 258 mutable RenderTableSection* m_firstBody;
259 259
260 OwnPtr<TableLayout> m_tableLayout; 260 OwnPtr<TableLayout> m_tableLayout;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 ASSERT(!object || object->isTable()); 293 ASSERT(!object || object->isTable());
294 return static_cast<const RenderTable*>(object); 294 return static_cast<const RenderTable*>(object);
295 } 295 }
296 296
297 // This will catch anyone doing an unnecessary cast. 297 // This will catch anyone doing an unnecessary cast.
298 void toRenderTable(const RenderTable*); 298 void toRenderTable(const RenderTable*);
299 299
300 } // namespace WebCore 300 } // namespace WebCore
301 301
302 #endif // RenderTable_h 302 #endif // RenderTable_h
OLDNEW
« no previous file with comments | « Source/WebCore/rendering/RenderBlock.cpp ('k') | Source/WebCore/rendering/RenderTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698