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.h

Issue 2450033002: Refine the criteria for ScrollAnchor-disabling properties (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | 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) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 * rights reserved. 6 * rights reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 4001 matching lines...) Expand 10 before | Expand all | Expand 10 after
4012 4012
4013 Color stopColor() const { return svgStyle().stopColor(); } 4013 Color stopColor() const { return svgStyle().stopColor(); }
4014 Color floodColor() const { return svgStyle().floodColor(); } 4014 Color floodColor() const { return svgStyle().floodColor(); }
4015 Color lightingColor() const { return svgStyle().lightingColor(); } 4015 Color lightingColor() const { return svgStyle().lightingColor(); }
4016 4016
4017 void addAppliedTextDecoration(const AppliedTextDecoration&); 4017 void addAppliedTextDecoration(const AppliedTextDecoration&);
4018 void applyMotionPathTransform(float originX, 4018 void applyMotionPathTransform(float originX,
4019 float originY, 4019 float originY,
4020 TransformationMatrix&) const; 4020 TransformationMatrix&) const;
4021 4021
4022 bool scrollAnchorDisablingPropertyChanged(const ComputedStyle& other,
4023 StyleDifference&) const;
4022 bool diffNeedsFullLayoutAndPaintInvalidation( 4024 bool diffNeedsFullLayoutAndPaintInvalidation(
4023 const ComputedStyle& other) const; 4025 const ComputedStyle& other) const;
4024 bool diffNeedsFullLayout(const ComputedStyle& other) const; 4026 bool diffNeedsFullLayout(const ComputedStyle& other) const;
4025 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const; 4027 bool diffNeedsPaintInvalidationSubtree(const ComputedStyle& other) const;
4026 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const; 4028 bool diffNeedsPaintInvalidationObject(const ComputedStyle& other) const;
4027 bool diffNeedsPaintInvalidationObjectForPaintImage( 4029 bool diffNeedsPaintInvalidationObjectForPaintImage(
4028 const StyleImage*, 4030 const StyleImage*,
4029 const ComputedStyle& other) const; 4031 const ComputedStyle& other) const;
4030 void updatePropertySpecificDifferences(const ComputedStyle& other, 4032 void updatePropertySpecificDifferences(const ComputedStyle& other,
4031 StyleDifference&) const; 4033 StyleDifference&) const;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
4123 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1); 4125 m_nonInheritedData.m_pseudoBits |= 1 << (pseudo - 1);
4124 } 4126 }
4125 4127
4126 inline bool ComputedStyle::hasPseudoElementStyle() const { 4128 inline bool ComputedStyle::hasPseudoElementStyle() const {
4127 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask; 4129 return m_nonInheritedData.m_pseudoBits & ElementPseudoIdMask;
4128 } 4130 }
4129 4131
4130 } // namespace blink 4132 } // namespace blink
4131 4133
4132 #endif // ComputedStyle_h 4134 #endif // ComputedStyle_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698