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

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

Issue 26588002: Remove support for -webkit-line-clamp Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Base files missing... Created 7 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/page/UseCounter.h ('k') | Source/core/rendering/EllipsisBox.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 /* 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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 case CSSPropertyGridRowStart: return 246; 302 case CSSPropertyGridRowStart: return 246;
303 case CSSPropertyGridRowEnd: return 247; 303 case CSSPropertyGridRowEnd: return 247;
304 case CSSPropertyGridColumn: return 248; 304 case CSSPropertyGridColumn: return 248;
305 case CSSPropertyGridRow: return 249; 305 case CSSPropertyGridRow: return 249;
306 case CSSPropertyGridAutoFlow: return 250; 306 case CSSPropertyGridAutoFlow: return 250;
307 case CSSPropertyWebkitHighlight: return 251; 307 case CSSPropertyWebkitHighlight: return 251;
308 case CSSPropertyWebkitHyphenateCharacter: return 252; 308 case CSSPropertyWebkitHyphenateCharacter: return 252;
309 case CSSPropertyWebkitLineBoxContain: return 257; 309 case CSSPropertyWebkitLineBoxContain: return 257;
310 case CSSPropertyWebkitLineAlign: return 258; 310 case CSSPropertyWebkitLineAlign: return 258;
311 case CSSPropertyWebkitLineBreak: return 259; 311 case CSSPropertyWebkitLineBreak: return 259;
312 case CSSPropertyWebkitLineClamp: return 260;
313 case CSSPropertyWebkitLineGrid: return 261; 312 case CSSPropertyWebkitLineGrid: return 261;
314 case CSSPropertyWebkitLineSnap: return 262; 313 case CSSPropertyWebkitLineSnap: return 262;
315 case CSSPropertyWebkitLogicalWidth: return 263; 314 case CSSPropertyWebkitLogicalWidth: return 263;
316 case CSSPropertyWebkitLogicalHeight: return 264; 315 case CSSPropertyWebkitLogicalHeight: return 264;
317 case CSSPropertyWebkitMarginAfterCollapse: return 265; 316 case CSSPropertyWebkitMarginAfterCollapse: return 265;
318 case CSSPropertyWebkitMarginBeforeCollapse: return 266; 317 case CSSPropertyWebkitMarginBeforeCollapse: return 266;
319 case CSSPropertyWebkitMarginBottomCollapse: return 267; 318 case CSSPropertyWebkitMarginBottomCollapse: return 267;
320 case CSSPropertyWebkitMarginTopCollapse: return 268; 319 case CSSPropertyWebkitMarginTopCollapse: return 268;
321 case CSSPropertyWebkitMarginCollapse: return 269; 320 case CSSPropertyWebkitMarginCollapse: return 269;
322 case CSSPropertyWebkitMarginAfter: return 270; 321 case CSSPropertyWebkitMarginAfter: return 270;
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 717 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
719 { 718 {
720 // FIXME: We may want to handle stylesheets that have multiple owners 719 // FIXME: We may want to handle stylesheets that have multiple owners
721 // http://crbug.com/242125 720 // http://crbug.com/242125
722 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha sSingleOwnerNode()) 721 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha sSingleOwnerNode())
723 return getFrom(sheetContents->singleOwnerDocument()); 722 return getFrom(sheetContents->singleOwnerDocument());
724 return 0; 723 return 0;
725 } 724 }
726 725
727 } // namespace WebCore 726 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/page/UseCounter.h ('k') | Source/core/rendering/EllipsisBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698