| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) | 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
| 4 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 4 * Copyright (C) 2011 Adobe Systems Incorporated. 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 if (surround->padding != other.surround->padding) | 698 if (surround->padding != other.surround->padding) |
| 699 return true; | 699 return true; |
| 700 } | 700 } |
| 701 | 701 |
| 702 if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) { | 702 if (rareNonInheritedData.get() != other.rareNonInheritedData.get()) { |
| 703 if (rareNonInheritedData->m_alignContent != other.rareNonInheritedData->
m_alignContent | 703 if (rareNonInheritedData->m_alignContent != other.rareNonInheritedData->
m_alignContent |
| 704 || rareNonInheritedData->m_alignItems != other.rareNonInheritedData-
>m_alignItems | 704 || rareNonInheritedData->m_alignItems != other.rareNonInheritedData-
>m_alignItems |
| 705 || rareNonInheritedData->m_alignSelf != other.rareNonInheritedData->
m_alignSelf | 705 || rareNonInheritedData->m_alignSelf != other.rareNonInheritedData->
m_alignSelf |
| 706 || rareNonInheritedData->m_justifyContent != other.rareNonInheritedD
ata->m_justifyContent | 706 || rareNonInheritedData->m_justifyContent != other.rareNonInheritedD
ata->m_justifyContent |
| 707 || rareNonInheritedData->m_justifyItems != other.rareNonInheritedDat
a->m_justifyItems | 707 || rareNonInheritedData->m_justifyItems != other.rareNonInheritedDat
a->m_justifyItems |
| 708 || rareNonInheritedData->m_justifySelf != other.rareNonInheritedData
->m_justifySelf) | 708 || rareNonInheritedData->m_justifySelf != other.rareNonInheritedData
->m_justifySelf |
| 709 || rareNonInheritedData->m_snapWidth != other.rareNonInheritedData->
m_snapWidth) |
| 709 return true; | 710 return true; |
| 710 } | 711 } |
| 711 | 712 |
| 712 return false; | 713 return false; |
| 713 } | 714 } |
| 714 | 715 |
| 715 bool ComputedStyle::diffNeedsPaintInvalidationLayer(const ComputedStyle& other)
const | 716 bool ComputedStyle::diffNeedsPaintInvalidationLayer(const ComputedStyle& other)
const |
| 716 { | 717 { |
| 717 if (position() != StaticPosition && (visual->clip != other.visual->clip || v
isual->hasAutoClip != other.visual->hasAutoClip)) | 718 if (position() != StaticPosition && (visual->clip != other.visual->clip || v
isual->hasAutoClip != other.visual->hasAutoClip)) |
| 718 return true; | 719 return true; |
| (...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1852 if (!shadowList) | 1853 if (!shadowList) |
| 1853 return false; | 1854 return false; |
| 1854 for (size_t i = shadowList->shadows().size(); i--; ) { | 1855 for (size_t i = shadowList->shadows().size(); i--; ) { |
| 1855 if (shadowList->shadows()[i].color().isCurrentColor()) | 1856 if (shadowList->shadows()[i].color().isCurrentColor()) |
| 1856 return true; | 1857 return true; |
| 1857 } | 1858 } |
| 1858 return false; | 1859 return false; |
| 1859 } | 1860 } |
| 1860 | 1861 |
| 1861 } // namespace blink | 1862 } // namespace blink |
| OLD | NEW |