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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 #endif | 458 #endif |
459 // CSSPropertyImageOrientation has been removed, was return 397; | 459 // CSSPropertyImageOrientation has been removed, was return 397; |
460 // CSSPropertyImageResolution has been removed, was return 398; | 460 // CSSPropertyImageResolution has been removed, was return 398; |
461 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING | 461 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING |
462 case CSSPropertyWebkitBlendMode: return 399; | 462 case CSSPropertyWebkitBlendMode: return 399; |
463 case CSSPropertyWebkitBackgroundBlendMode: return 400; | 463 case CSSPropertyWebkitBackgroundBlendMode: return 400; |
464 #endif | 464 #endif |
465 case CSSPropertyTextDecorationLine: return 401; | 465 case CSSPropertyTextDecorationLine: return 401; |
466 case CSSPropertyTextDecorationStyle: return 402; | 466 case CSSPropertyTextDecorationStyle: return 402; |
467 case CSSPropertyTextDecorationColor: return 403; | 467 case CSSPropertyTextDecorationColor: return 403; |
| 468 case CSSPropertyTextAlignLast: return 404; |
468 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT | 469 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT |
469 case CSSPropertyWebkitTextAlignLast: return 404; | |
470 case CSSPropertyWebkitTextUnderlinePosition: return 405; | 470 case CSSPropertyWebkitTextUnderlinePosition: return 405; |
471 #endif | 471 #endif |
472 case CSSPropertyMaxZoom: return 406; | 472 case CSSPropertyMaxZoom: return 406; |
473 case CSSPropertyMinZoom: return 407; | 473 case CSSPropertyMinZoom: return 407; |
474 case CSSPropertyOrientation: return 408; | 474 case CSSPropertyOrientation: return 408; |
475 case CSSPropertyUserZoom: return 409; | 475 case CSSPropertyUserZoom: return 409; |
476 #if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT | 476 #if defined(ENABLE_DASHBOARD_SUPPORT) && ENABLE_DASHBOARD_SUPPORT |
477 case CSSPropertyWebkitDashboardRegion: return 410; | 477 case CSSPropertyWebkitDashboardRegion: return 410; |
478 #endif | 478 #endif |
479 // CSSPropertyWebkitOverflowScrolling was 411. | 479 // CSSPropertyWebkitOverflowScrolling was 411. |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
674 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 674 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
675 { | 675 { |
676 // FIXME: We may want to handle stylesheets that have multiple owners | 676 // FIXME: We may want to handle stylesheets that have multiple owners |
677 // http://crbug.com/242125 | 677 // http://crbug.com/242125 |
678 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 678 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
679 return getFrom(sheetContents->singleOwnerDocument()); | 679 return getFrom(sheetContents->singleOwnerDocument()); |
680 return 0; | 680 return 0; |
681 } | 681 } |
682 | 682 |
683 } // namespace WebCore | 683 } // namespace WebCore |
OLD | NEW |