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

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

Issue 1328673003: Remove -webkit-line-box-contain implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix up a few more tests. Created 5 years, 3 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 | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/layout/LayoutBlock.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) 2012 Google, Inc. All rights reserved. 2 * Copyright (C) 2012 Google, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 case CSSPropertyGridTemplateRows: return 243; 285 case CSSPropertyGridTemplateRows: return 243;
286 case CSSPropertyGridColumnStart: return 244; 286 case CSSPropertyGridColumnStart: return 244;
287 case CSSPropertyGridColumnEnd: return 245; 287 case CSSPropertyGridColumnEnd: return 245;
288 case CSSPropertyGridRowStart: return 246; 288 case CSSPropertyGridRowStart: return 246;
289 case CSSPropertyGridRowEnd: return 247; 289 case CSSPropertyGridRowEnd: return 247;
290 case CSSPropertyGridColumn: return 248; 290 case CSSPropertyGridColumn: return 248;
291 case CSSPropertyGridRow: return 249; 291 case CSSPropertyGridRow: return 249;
292 case CSSPropertyGridAutoFlow: return 250; 292 case CSSPropertyGridAutoFlow: return 250;
293 case CSSPropertyWebkitHighlight: return 251; 293 case CSSPropertyWebkitHighlight: return 251;
294 case CSSPropertyWebkitHyphenateCharacter: return 252; 294 case CSSPropertyWebkitHyphenateCharacter: return 252;
295 case CSSPropertyWebkitLineBoxContain: return 257; 295 // case CSSPropertyWebkitLineBoxContain: return 257;
296 // case CSSPropertyWebkitLineAlign: return 258; 296 // case CSSPropertyWebkitLineAlign: return 258;
297 case CSSPropertyWebkitLineBreak: return 259; 297 case CSSPropertyWebkitLineBreak: return 259;
298 case CSSPropertyWebkitLineClamp: return 260; 298 case CSSPropertyWebkitLineClamp: return 260;
299 // case CSSPropertyWebkitLineGrid: return 261; 299 // case CSSPropertyWebkitLineGrid: return 261;
300 // case CSSPropertyWebkitLineSnap: return 262; 300 // case CSSPropertyWebkitLineSnap: return 262;
301 case CSSPropertyWebkitLogicalWidth: return 263; 301 case CSSPropertyWebkitLogicalWidth: return 263;
302 case CSSPropertyWebkitLogicalHeight: return 264; 302 case CSSPropertyWebkitLogicalHeight: return 264;
303 case CSSPropertyWebkitMarginAfterCollapse: return 265; 303 case CSSPropertyWebkitMarginAfterCollapse: return 265;
304 case CSSPropertyWebkitMarginBeforeCollapse: return 266; 304 case CSSPropertyWebkitMarginBeforeCollapse: return 266;
305 case CSSPropertyWebkitMarginBottomCollapse: return 267; 305 case CSSPropertyWebkitMarginBottomCollapse: return 267;
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
1012 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 1012 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
1013 { 1013 {
1014 // FIXME: We may want to handle stylesheets that have multiple owners 1014 // FIXME: We may want to handle stylesheets that have multiple owners
1015 // http://crbug.com/242125 1015 // http://crbug.com/242125
1016 if (sheetContents && sheetContents->hasSingleOwnerNode()) 1016 if (sheetContents && sheetContents->hasSingleOwnerNode())
1017 return getFrom(sheetContents->singleOwnerDocument()); 1017 return getFrom(sheetContents->singleOwnerDocument());
1018 return 0; 1018 return 0;
1019 } 1019 }
1020 1020
1021 } // namespace blink 1021 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/resolver/StyleResolver.cpp ('k') | Source/core/layout/LayoutBlock.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698