Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyle.cpp

Issue 1716073002: Fix changes in the snap-height property to invalidate layout (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-dynamic-001-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 || rareInheritedData->m_respectImageOrientation != other.rareInherit edData->m_respectImageOrientation 576 || rareInheritedData->m_respectImageOrientation != other.rareInherit edData->m_respectImageOrientation
577 || rareInheritedData->m_rubyPosition != other.rareInheritedData->m_r ubyPosition 577 || rareInheritedData->m_rubyPosition != other.rareInheritedData->m_r ubyPosition
578 || rareInheritedData->textEmphasisMark != other.rareInheritedData->t extEmphasisMark 578 || rareInheritedData->textEmphasisMark != other.rareInheritedData->t extEmphasisMark
579 || rareInheritedData->textEmphasisPosition != other.rareInheritedDat a->textEmphasisPosition 579 || rareInheritedData->textEmphasisPosition != other.rareInheritedDat a->textEmphasisPosition
580 || rareInheritedData->textEmphasisCustomMark != other.rareInheritedD ata->textEmphasisCustomMark 580 || rareInheritedData->textEmphasisCustomMark != other.rareInheritedD ata->textEmphasisCustomMark
581 || rareInheritedData->m_textJustify != other.rareInheritedData->m_te xtJustify 581 || rareInheritedData->m_textJustify != other.rareInheritedData->m_te xtJustify
582 || rareInheritedData->m_textOrientation != other.rareInheritedData-> m_textOrientation 582 || rareInheritedData->m_textOrientation != other.rareInheritedData-> m_textOrientation
583 || rareInheritedData->m_textCombine != other.rareInheritedData->m_te xtCombine 583 || rareInheritedData->m_textCombine != other.rareInheritedData->m_te xtCombine
584 || rareInheritedData->m_tabSize != other.rareInheritedData->m_tabSiz e 584 || rareInheritedData->m_tabSize != other.rareInheritedData->m_tabSiz e
585 || rareInheritedData->listStyleImage != other.rareInheritedData->lis tStyleImage 585 || rareInheritedData->listStyleImage != other.rareInheritedData->lis tStyleImage
586 || rareInheritedData->m_snapHeightUnit != other.rareInheritedData->m _snapHeightUnit
587 || rareInheritedData->m_snapHeightPosition != other.rareInheritedDat a->m_snapHeightPosition
586 || rareInheritedData->textStrokeWidth != other.rareInheritedData->te xtStrokeWidth) 588 || rareInheritedData->textStrokeWidth != other.rareInheritedData->te xtStrokeWidth)
587 return true; 589 return true;
588 590
589 if (!rareInheritedData->shadowDataEquivalent(*other.rareInheritedData.ge t())) 591 if (!rareInheritedData->shadowDataEquivalent(*other.rareInheritedData.ge t()))
590 return true; 592 return true;
591 593
592 if (!rareInheritedData->quotesDataEquivalent(*other.rareInheritedData.ge t())) 594 if (!rareInheritedData->quotesDataEquivalent(*other.rareInheritedData.ge t()))
593 return true; 595 return true;
594 } 596 }
595 597
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1874 if (!shadowList) 1876 if (!shadowList)
1875 return false; 1877 return false;
1876 for (size_t i = shadowList->shadows().size(); i--; ) { 1878 for (size_t i = shadowList->shadows().size(); i--; ) {
1877 if (shadowList->shadows()[i].color().isCurrentColor()) 1879 if (shadowList->shadows()[i].color().isCurrentColor())
1878 return true; 1880 return true;
1879 } 1881 }
1880 return false; 1882 return false;
1881 } 1883 }
1882 1884
1883 } // namespace blink 1885 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/imported/csswg-test/css-snap-size-1/snap-height-dynamic-001-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698