OLD | NEW |
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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 case CSSPropertyTextDecorationColor: return 403; | 434 case CSSPropertyTextDecorationColor: return 403; |
435 case CSSPropertyTextAlignLast: return 404; | 435 case CSSPropertyTextAlignLast: return 404; |
436 case CSSPropertyTextUnderlinePosition: return 405; | 436 case CSSPropertyTextUnderlinePosition: return 405; |
437 case CSSPropertyMaxZoom: return 406; | 437 case CSSPropertyMaxZoom: return 406; |
438 case CSSPropertyMinZoom: return 407; | 438 case CSSPropertyMinZoom: return 407; |
439 case CSSPropertyOrientation: return 408; | 439 case CSSPropertyOrientation: return 408; |
440 case CSSPropertyUserZoom: return 409; | 440 case CSSPropertyUserZoom: return 409; |
441 // CSSPropertyWebkitDashboardRegion was 410. | 441 // CSSPropertyWebkitDashboardRegion was 410. |
442 // CSSPropertyWebkitOverflowScrolling was 411. | 442 // CSSPropertyWebkitOverflowScrolling was 411. |
443 case CSSPropertyWebkitAppRegion: return 412; | 443 case CSSPropertyWebkitAppRegion: return 412; |
444 case CSSPropertyWebkitFilter: return 413; | 444 case CSSPropertyAliasWebkitFilter: return 413; |
445 case CSSPropertyWebkitBoxDecorationBreak: return 414; | 445 case CSSPropertyWebkitBoxDecorationBreak: return 414; |
446 case CSSPropertyWebkitTapHighlightColor: return 415; | 446 case CSSPropertyWebkitTapHighlightColor: return 415; |
447 case CSSPropertyBufferedRendering: return 416; | 447 case CSSPropertyBufferedRendering: return 416; |
448 case CSSPropertyGridAutoRows: return 417; | 448 case CSSPropertyGridAutoRows: return 417; |
449 case CSSPropertyGridAutoColumns: return 418; | 449 case CSSPropertyGridAutoColumns: return 418; |
450 case CSSPropertyBackgroundBlendMode: return 419; | 450 case CSSPropertyBackgroundBlendMode: return 419; |
451 case CSSPropertyMixBlendMode: return 420; | 451 case CSSPropertyMixBlendMode: return 420; |
452 case CSSPropertyTouchAction: return 421; | 452 case CSSPropertyTouchAction: return 421; |
453 case CSSPropertyGridArea: return 422; | 453 case CSSPropertyGridArea: return 422; |
454 case CSSPropertyGridTemplateAreas: return 423; | 454 case CSSPropertyGridTemplateAreas: return 423; |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 776 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
777 { | 777 { |
778 // FIXME: We may want to handle stylesheets that have multiple owners | 778 // FIXME: We may want to handle stylesheets that have multiple owners |
779 // https://crbug.com/242125 | 779 // https://crbug.com/242125 |
780 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 780 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
781 return getFrom(sheetContents->singleOwnerDocument()); | 781 return getFrom(sheetContents->singleOwnerDocument()); |
782 return 0; | 782 return 0; |
783 } | 783 } |
784 | 784 |
785 } // namespace blink | 785 } // namespace blink |
OLD | NEW |