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

Side by Side Diff: third_party/WebKit/Source/core/layout/TableLayoutAlgorithmFixed.h

Issue 1921973005: [css tables] Don't pass table width increase due to % columns to parents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move variables around Created 4 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2002 Lars Knoll (knoll@kde.org)
3 * (C) 2002 Dirk Mueller (mueller@kde.org) 3 * (C) 2002 Dirk Mueller (mueller@kde.org)
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License. 8 * version 2 of the License.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 16 matching lines...) Expand all
27 27
28 namespace blink { 28 namespace blink {
29 29
30 class LayoutTable; 30 class LayoutTable;
31 31
32 class TableLayoutAlgorithmFixed final : public TableLayoutAlgorithm { 32 class TableLayoutAlgorithmFixed final : public TableLayoutAlgorithm {
33 public: 33 public:
34 TableLayoutAlgorithmFixed(LayoutTable*); 34 TableLayoutAlgorithmFixed(LayoutTable*);
35 35
36 void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidt h) override; 36 void computeIntrinsicLogicalWidths(LayoutUnit& minWidth, LayoutUnit& maxWidt h) override;
37 LayoutUnit scaledWidthFromPercentColumns() override;
37 void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxW idth) const override; 38 void applyPreferredLogicalWidthQuirks(LayoutUnit& minWidth, LayoutUnit& maxW idth) const override;
38 void layout() override; 39 void layout() override;
39 void willChangeTableLayout() override; 40 void willChangeTableLayout() override;
40 41
41 private: 42 private:
42 int calcWidthArray(); 43 int calcWidthArray();
43 44
44 Vector<Length> m_width; 45 Vector<Length> m_width;
45 }; 46 };
46 47
47 } // namespace blink 48 } // namespace blink
48 49
49 #endif // TableLayoutAlgorithmFixed_h 50 #endif // TableLayoutAlgorithmFixed_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698