OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 1299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1310 protected: | 1310 protected: |
1311 void willBeDestroyed() override; | 1311 void willBeDestroyed() override; |
1312 | 1312 |
1313 void insertedIntoTree() override; | 1313 void insertedIntoTree() override; |
1314 void willBeRemovedFromTree() override; | 1314 void willBeRemovedFromTree() override; |
1315 | 1315 |
1316 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; | 1316 void styleWillChange(StyleDifference, const ComputedStyle& newStyle) override; |
1317 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; | 1317 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) override; |
1318 void updateFromStyle() override; | 1318 void updateFromStyle() override; |
1319 | 1319 |
1320 virtual ItemPosition selfAlignmentNormalBehavior() const { | 1320 virtual ItemPosition selfAlignmentNormalBehavior() const { |
mstensho (USE GERRIT)
2017/02/22 13:37:04
Is this about resolving align-self:auto? This meth
jfernandez
2017/03/02 11:12:58
Well, not exactly. It's a virtual method to define
| |
1321 return ItemPositionStretch; | 1321 return ItemPositionStart; |
1322 } | 1322 } |
1323 | 1323 |
1324 // Returns false if it could not cheaply compute the extent (e.g. fixed | 1324 // Returns false if it could not cheaply compute the extent (e.g. fixed |
1325 // background), in which case the returned rect may be incorrect. | 1325 // background), in which case the returned rect may be incorrect. |
1326 // FIXME: make this a const method once the LayoutBox reference in BoxPainter | 1326 // FIXME: make this a const method once the LayoutBox reference in BoxPainter |
1327 // is const. | 1327 // is const. |
1328 bool getBackgroundPaintedExtent(LayoutRect&) const; | 1328 bool getBackgroundPaintedExtent(LayoutRect&) const; |
1329 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, | 1329 virtual bool foregroundIsKnownToBeOpaqueInRect(const LayoutRect& localRect, |
1330 unsigned maxDepthToTest) const; | 1330 unsigned maxDepthToTest) const; |
1331 bool computeBackgroundIsKnownToBeObscured() const override; | 1331 bool computeBackgroundIsKnownToBeObscured() const override; |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1625 | 1625 |
1626 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { | 1626 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { |
1627 return breakValue == BreakColumn || breakValue == BreakLeft || | 1627 return breakValue == BreakColumn || breakValue == BreakLeft || |
1628 breakValue == BreakPage || breakValue == BreakRecto || | 1628 breakValue == BreakPage || breakValue == BreakRecto || |
1629 breakValue == BreakRight || breakValue == BreakVerso; | 1629 breakValue == BreakRight || breakValue == BreakVerso; |
1630 } | 1630 } |
1631 | 1631 |
1632 } // namespace blink | 1632 } // namespace blink |
1633 | 1633 |
1634 #endif // LayoutBox_h | 1634 #endif // LayoutBox_h |
OLD | NEW |