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 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 // CSSPropertyImageOrientation has been removed, was return 397; | 451 // CSSPropertyImageOrientation has been removed, was return 397; |
452 // CSSPropertyImageResolution has been removed, was return 398; | 452 // CSSPropertyImageResolution has been removed, was return 398; |
453 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING | 453 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING |
454 case CSSPropertyWebkitBlendMode: return 399; | 454 case CSSPropertyWebkitBlendMode: return 399; |
455 case CSSPropertyWebkitBackgroundBlendMode: return 400; | 455 case CSSPropertyWebkitBackgroundBlendMode: return 400; |
456 #endif | 456 #endif |
457 case CSSPropertyTextDecorationLine: return 401; | 457 case CSSPropertyTextDecorationLine: return 401; |
458 case CSSPropertyTextDecorationStyle: return 402; | 458 case CSSPropertyTextDecorationStyle: return 402; |
459 case CSSPropertyTextDecorationColor: return 403; | 459 case CSSPropertyTextDecorationColor: return 403; |
460 case CSSPropertyTextAlignLast: return 404; | 460 case CSSPropertyTextAlignLast: return 404; |
461 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT | 461 case CSSPropertyTextUnderlinePosition: return 405; |
462 case CSSPropertyWebkitTextUnderlinePosition: return 405; | |
463 #endif | |
464 case CSSPropertyMaxZoom: return 406; | 462 case CSSPropertyMaxZoom: return 406; |
465 case CSSPropertyMinZoom: return 407; | 463 case CSSPropertyMinZoom: return 407; |
466 case CSSPropertyOrientation: return 408; | 464 case CSSPropertyOrientation: return 408; |
467 case CSSPropertyUserZoom: return 409; | 465 case CSSPropertyUserZoom: return 409; |
468 // CSSPropertyWebkitDashboardRegion was 410. | 466 // CSSPropertyWebkitDashboardRegion was 410. |
469 // CSSPropertyWebkitOverflowScrolling was 411. | 467 // CSSPropertyWebkitOverflowScrolling was 411. |
470 case CSSPropertyWebkitAppRegion: return 412; | 468 case CSSPropertyWebkitAppRegion: return 412; |
471 case CSSPropertyWebkitFilter: return 413; | 469 case CSSPropertyWebkitFilter: return 413; |
472 case CSSPropertyWebkitBoxDecorationBreak: return 414; | 470 case CSSPropertyWebkitBoxDecorationBreak: return 414; |
473 case CSSPropertyWebkitTapHighlightColor: return 415; | 471 case CSSPropertyWebkitTapHighlightColor: return 415; |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 720 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
723 { | 721 { |
724 // FIXME: We may want to handle stylesheets that have multiple owners | 722 // FIXME: We may want to handle stylesheets that have multiple owners |
725 // http://crbug.com/242125 | 723 // http://crbug.com/242125 |
726 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 724 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
727 return getFrom(sheetContents->singleOwnerDocument()); | 725 return getFrom(sheetContents->singleOwnerDocument()); |
728 return 0; | 726 return 0; |
729 } | 727 } |
730 | 728 |
731 } // namespace WebCore | 729 } // namespace WebCore |
OLD | NEW |