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

Side by Side Diff: Source/core/frame/UseCounter.cpp

Issue 607593002: Remove -webkit-border-fit (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/rendering/RenderBlockFlow.h » ('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 /* 2 /*
3 * Copyright (C) 2012 Google, Inc. All rights reserved. 3 * Copyright (C) 2012 Google, Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 case CSSPropertyWebkitBorderAfterStyle: return 184; 229 case CSSPropertyWebkitBorderAfterStyle: return 184;
230 case CSSPropertyWebkitBorderAfterWidth: return 185; 230 case CSSPropertyWebkitBorderAfterWidth: return 185;
231 case CSSPropertyWebkitBorderBefore: return 186; 231 case CSSPropertyWebkitBorderBefore: return 186;
232 case CSSPropertyWebkitBorderBeforeColor: return 187; 232 case CSSPropertyWebkitBorderBeforeColor: return 187;
233 case CSSPropertyWebkitBorderBeforeStyle: return 188; 233 case CSSPropertyWebkitBorderBeforeStyle: return 188;
234 case CSSPropertyWebkitBorderBeforeWidth: return 189; 234 case CSSPropertyWebkitBorderBeforeWidth: return 189;
235 case CSSPropertyWebkitBorderEnd: return 190; 235 case CSSPropertyWebkitBorderEnd: return 190;
236 case CSSPropertyWebkitBorderEndColor: return 191; 236 case CSSPropertyWebkitBorderEndColor: return 191;
237 case CSSPropertyWebkitBorderEndStyle: return 192; 237 case CSSPropertyWebkitBorderEndStyle: return 192;
238 case CSSPropertyWebkitBorderEndWidth: return 193; 238 case CSSPropertyWebkitBorderEndWidth: return 193;
239 case CSSPropertyWebkitBorderFit: return 194; 239 // CSSPropertyWebkitBorderFit was 194
240 case CSSPropertyWebkitBorderHorizontalSpacing: return 195; 240 case CSSPropertyWebkitBorderHorizontalSpacing: return 195;
241 case CSSPropertyWebkitBorderImage: return 196; 241 case CSSPropertyWebkitBorderImage: return 196;
242 case CSSPropertyWebkitBorderRadius: return 197; 242 case CSSPropertyWebkitBorderRadius: return 197;
243 case CSSPropertyWebkitBorderStart: return 198; 243 case CSSPropertyWebkitBorderStart: return 198;
244 case CSSPropertyWebkitBorderStartColor: return 199; 244 case CSSPropertyWebkitBorderStartColor: return 199;
245 case CSSPropertyWebkitBorderStartStyle: return 200; 245 case CSSPropertyWebkitBorderStartStyle: return 200;
246 case CSSPropertyWebkitBorderStartWidth: return 201; 246 case CSSPropertyWebkitBorderStartWidth: return 201;
247 case CSSPropertyWebkitBorderVerticalSpacing: return 202; 247 case CSSPropertyWebkitBorderVerticalSpacing: return 202;
248 case CSSPropertyWebkitBoxAlign: return 203; 248 case CSSPropertyWebkitBoxAlign: return 203;
249 case CSSPropertyWebkitBoxDirection: return 204; 249 case CSSPropertyWebkitBoxDirection: return 204;
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 833 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
834 { 834 {
835 // FIXME: We may want to handle stylesheets that have multiple owners 835 // FIXME: We may want to handle stylesheets that have multiple owners
836 // http://crbug.com/242125 836 // http://crbug.com/242125
837 if (sheetContents && sheetContents->hasSingleOwnerNode()) 837 if (sheetContents && sheetContents->hasSingleOwnerNode())
838 return getFrom(sheetContents->singleOwnerDocument()); 838 return getFrom(sheetContents->singleOwnerDocument());
839 return 0; 839 return 0;
840 } 840 }
841 841
842 } // namespace blink 842 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/rendering/RenderBlockFlow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698