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 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
779 diff.setTransformChanged(); | 779 diff.setTransformChanged(); |
780 | 780 |
781 if (rareNonInheritedData->opacity != other.rareNonInheritedData->opacity
) | 781 if (rareNonInheritedData->opacity != other.rareNonInheritedData->opacity
) |
782 diff.setOpacityChanged(); | 782 diff.setOpacityChanged(); |
783 | 783 |
784 if (rareNonInheritedData->m_filter != other.rareNonInheritedData->m_filt
er) | 784 if (rareNonInheritedData->m_filter != other.rareNonInheritedData->m_filt
er) |
785 diff.setFilterChanged(); | 785 diff.setFilterChanged(); |
786 | 786 |
787 if (rareNonInheritedData->m_backdropFilter != other.rareNonInheritedData
->m_backdropFilter) | 787 if (rareNonInheritedData->m_backdropFilter != other.rareNonInheritedData
->m_backdropFilter) |
788 diff.setBackdropFilterChanged(); | 788 diff.setBackdropFilterChanged(); |
| 789 |
| 790 if (RuntimeEnabledFeatures::cssBoxReflectFilterEnabled() && rareNonInher
itedData->m_boxReflect != other.rareNonInheritedData->m_boxReflect) |
| 791 diff.setFilterChanged(); |
789 } | 792 } |
790 | 793 |
791 if (!diff.needsPaintInvalidation()) { | 794 if (!diff.needsPaintInvalidation()) { |
792 if (inherited->color != other.inherited->color | 795 if (inherited->color != other.inherited->color |
793 || inherited->visitedLinkColor != other.inherited->visitedLinkColor | 796 || inherited->visitedLinkColor != other.inherited->visitedLinkColor |
794 || inherited_flags.m_textUnderline != other.inherited_flags.m_textUn
derline | 797 || inherited_flags.m_textUnderline != other.inherited_flags.m_textUn
derline |
795 || visual->textDecoration != other.visual->textDecoration) { | 798 || visual->textDecoration != other.visual->textDecoration) { |
796 diff.setTextDecorationOrColorChanged(); | 799 diff.setTextDecorationOrColorChanged(); |
797 } else if (rareNonInheritedData.get() != other.rareNonInheritedData.get(
) | 800 } else if (rareNonInheritedData.get() != other.rareNonInheritedData.get(
) |
798 && (rareNonInheritedData->m_textDecorationStyle != other.rareNonInhe
ritedData->m_textDecorationStyle | 801 && (rareNonInheritedData->m_textDecorationStyle != other.rareNonInhe
ritedData->m_textDecorationStyle |
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1857 if (!shadowList) | 1860 if (!shadowList) |
1858 return false; | 1861 return false; |
1859 for (size_t i = shadowList->shadows().size(); i--; ) { | 1862 for (size_t i = shadowList->shadows().size(); i--; ) { |
1860 if (shadowList->shadows()[i].color().isCurrentColor()) | 1863 if (shadowList->shadows()[i].color().isCurrentColor()) |
1861 return true; | 1864 return true; |
1862 } | 1865 } |
1863 return false; | 1866 return false; |
1864 } | 1867 } |
1865 | 1868 |
1866 } // namespace blink | 1869 } // namespace blink |
OLD | NEW |