Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Apple Inc. All rights reserved. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. |
| 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 8 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 83 virtual const char* renderName() const OVERRIDE { return "RenderTableCol"; } | 83 virtual const char* renderName() const OVERRIDE { return "RenderTableCol"; } |
| 84 virtual bool isRenderTableCol() const OVERRIDE { return true; } | 84 virtual bool isRenderTableCol() const OVERRIDE { return true; } |
| 85 virtual void updateFromElement() OVERRIDE; | 85 virtual void updateFromElement() OVERRIDE; |
| 86 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED() ; } | 86 virtual void computePreferredLogicalWidths() OVERRIDE { ASSERT_NOT_REACHED() ; } |
| 87 | 87 |
| 88 virtual void insertedIntoTree() OVERRIDE; | 88 virtual void insertedIntoTree() OVERRIDE; |
| 89 virtual void willBeRemovedFromTree() OVERRIDE; | 89 virtual void willBeRemovedFromTree() OVERRIDE; |
| 90 | 90 |
| 91 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; | 91 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; |
| 92 virtual bool canHaveChildren() const OVERRIDE; | 92 virtual bool canHaveChildren() const OVERRIDE; |
| 93 virtual LayerType layerTypeRequired() const OVERRIDE { return NoLayer; } | 93 virtual LayerType layerTypeRequired() const OVERRIDE |
| 94 { | |
| 95 if (isStickyPositioned()) | |
|
Julien - ping for review
2014/03/12 03:14:42
columns are only style placeholder. That's the rea
ostap
2014/03/12 05:26:24
I think that table column can be sticky positioned
Julien - ping for review
2014/03/12 15:17:04
Yes, it can but that doesn't mean that we should a
ostap
2014/03/12 15:51:12
Ok. I'll disable sticky support for table elements
| |
| 96 return NormalLayer; | |
| 97 | |
| 98 return NoLayer; | |
| 99 } | |
| 94 | 100 |
| 95 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec t* repaintContainer) const OVERRIDE; | 101 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec t* repaintContainer) const OVERRIDE; |
| 96 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; | 102 virtual void imageChanged(WrappedImagePtr, const IntRect* = 0) OVERRIDE; |
| 97 | 103 |
| 98 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE; | 104 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV ERRIDE; |
| 99 | 105 |
| 100 RenderTable* table() const; | 106 RenderTable* table() const; |
| 101 | 107 |
| 102 RenderObjectChildList m_children; | 108 RenderObjectChildList m_children; |
| 103 unsigned m_span; | 109 unsigned m_span; |
| 104 }; | 110 }; |
| 105 | 111 |
| 106 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); | 112 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderTableCol, isRenderTableCol()); |
| 107 | 113 |
| 108 } | 114 } |
| 109 | 115 |
| 110 #endif | 116 #endif |
| OLD | NEW |