OLD | NEW |
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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 case CSSPropertyGridDefinitionRows: return 243; | 299 case CSSPropertyGridDefinitionRows: return 243; |
300 case CSSPropertyGridColumnStart: return 244; | 300 case CSSPropertyGridColumnStart: return 244; |
301 case CSSPropertyGridColumnEnd: return 245; | 301 case CSSPropertyGridColumnEnd: return 245; |
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 CSSPropertyWebkitHyphenateLimitAfter: return 253; | |
310 case CSSPropertyWebkitHyphenateLimitBefore: return 254; | |
311 case CSSPropertyWebkitHyphenateLimitLines: return 255; | |
312 case CSSPropertyWebkitHyphens: return 256; | |
313 case CSSPropertyWebkitLineBoxContain: return 257; | 309 case CSSPropertyWebkitLineBoxContain: return 257; |
314 case CSSPropertyWebkitLineAlign: return 258; | 310 case CSSPropertyWebkitLineAlign: return 258; |
315 case CSSPropertyWebkitLineBreak: return 259; | 311 case CSSPropertyWebkitLineBreak: return 259; |
316 case CSSPropertyWebkitLineClamp: return 260; | 312 case CSSPropertyWebkitLineClamp: return 260; |
317 case CSSPropertyWebkitLineGrid: return 261; | 313 case CSSPropertyWebkitLineGrid: return 261; |
318 case CSSPropertyWebkitLineSnap: return 262; | 314 case CSSPropertyWebkitLineSnap: return 262; |
319 case CSSPropertyWebkitLogicalWidth: return 263; | 315 case CSSPropertyWebkitLogicalWidth: return 263; |
320 case CSSPropertyWebkitLogicalHeight: return 264; | 316 case CSSPropertyWebkitLogicalHeight: return 264; |
321 case CSSPropertyWebkitMarginAfterCollapse: return 265; | 317 case CSSPropertyWebkitMarginAfterCollapse: return 265; |
322 case CSSPropertyWebkitMarginBeforeCollapse: return 266; | 318 case CSSPropertyWebkitMarginBeforeCollapse: return 266; |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 670 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
675 { | 671 { |
676 // FIXME: We may want to handle stylesheets that have multiple owners | 672 // FIXME: We may want to handle stylesheets that have multiple owners |
677 // http://crbug.com/242125 | 673 // http://crbug.com/242125 |
678 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 674 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
679 return getFrom(sheetContents->singleOwnerDocument()); | 675 return getFrom(sheetContents->singleOwnerDocument()); |
680 return 0; | 676 return 0; |
681 } | 677 } |
682 | 678 |
683 } // namespace WebCore | 679 } // namespace WebCore |
OLD | NEW |