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

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

Issue 9271030: 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 virtual void computeLogicalWidth(); 241 virtual void computeLogicalWidth();
242 242
243 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize); 243 virtual LayoutRect overflowClipRect(const LayoutPoint& location, RenderRegio n*, OverlayScrollbarSizeRelevancy = IgnoreOverlayScrollbarSize);
244 244
245 virtual void addOverflowFromChildren(); 245 virtual void addOverflowFromChildren();
246 246
247 void subtractCaptionRect(LayoutRect&) const; 247 void subtractCaptionRect(LayoutRect&) const;
248 248
249 void recalcCollapsedBorders(); 249 void recalcCollapsedBorders();
250 void recalcSections() const; 250 void recalcSections() const;
251 void adjustLogicalHeightForCaption(RenderBlock*); 251 void layoutCaption(RenderTableCaption*);
252 252
253 mutable Vector<LayoutUnit> m_columnPos; 253 mutable Vector<LayoutUnit> m_columnPos;
254 mutable Vector<ColumnStruct> m_columns; 254 mutable Vector<ColumnStruct> m_columns;
255 255
256 mutable Vector<RenderTableCaption*> m_captions; 256 mutable Vector<RenderTableCaption*> m_captions;
257 mutable RenderTableSection* m_head; 257 mutable RenderTableSection* m_head;
258 mutable RenderTableSection* m_foot; 258 mutable RenderTableSection* m_foot;
259 mutable RenderTableSection* m_firstBody; 259 mutable RenderTableSection* m_firstBody;
260 260
261 OwnPtr<TableLayout> m_tableLayout; 261 OwnPtr<TableLayout> m_tableLayout;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 ASSERT(!object || object->isTable()); 294 ASSERT(!object || object->isTable());
295 return static_cast<const RenderTable*>(object); 295 return static_cast<const RenderTable*>(object);
296 } 296 }
297 297
298 // This will catch anyone doing an unnecessary cast. 298 // This will catch anyone doing an unnecessary cast.
299 void toRenderTable(const RenderTable*); 299 void toRenderTable(const RenderTable*);
300 300
301 } // namespace WebCore 301 } // namespace WebCore
302 302
303 #endif // RenderTable_h 303 #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