OLD | NEW |
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 Loading... |
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 |
OLD | NEW |