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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2145823002: Implement the overflow-anchor CSS property as an opt-out for ScrollAnchoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Put opt-out behind RuntimeEnabledFeature and update tests Created 4 years, 5 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
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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // Box decoration attributes. Not inherited. 126 // Box decoration attributes. Not inherited.
127 127
128 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone }; 128 enum EBoxDecorationBreak { BoxDecorationBreakSlice, BoxDecorationBreakClone };
129 129
130 // Box attributes. Not inherited. 130 // Box attributes. Not inherited.
131 131
132 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox }; 132 enum EBoxSizing { BoxSizingContentBox, BoxSizingBorderBox };
133 133
134 // Random visual rendering model attributes. Not inherited. 134 // Random visual rendering model attributes. Not inherited.
135 135
136 enum EOverflowAnchor {
137 AnchorVisible, AnchorNone, AnchorAuto
138 };
139
136 enum EOverflow { 140 enum EOverflow {
137 OverflowVisible, OverflowHidden, OverflowScroll, OverflowAuto, OverflowOverl ay, OverflowPagedX, OverflowPagedY 141 OverflowVisible, OverflowHidden, OverflowScroll, OverflowAuto, OverflowOverl ay, OverflowPagedX, OverflowPagedY
138 }; 142 };
139 143
140 enum EVerticalAlign { 144 enum EVerticalAlign {
141 VerticalAlignBaseline, 145 VerticalAlignBaseline,
142 VerticalAlignMiddle, 146 VerticalAlignMiddle,
143 VerticalAlignSub, 147 VerticalAlignSub,
144 VerticalAlignSuper, 148 VerticalAlignSuper,
145 VerticalAlignTextTop, 149 VerticalAlignTextTop,
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 613
610 enum AutoRepeatType { 614 enum AutoRepeatType {
611 NoAutoRepeat, 615 NoAutoRepeat,
612 AutoFill, 616 AutoFill,
613 AutoFit 617 AutoFit
614 }; 618 };
615 619
616 } // namespace blink 620 } // namespace blink
617 621
618 #endif // ComputedStyleConstants_h 622 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollableArea.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698