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 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 case CSSPropertyStrokeDasharray: return 379; | 413 case CSSPropertyStrokeDasharray: return 379; |
414 case CSSPropertyStrokeDashoffset: return 380; | 414 case CSSPropertyStrokeDashoffset: return 380; |
415 case CSSPropertyStrokeLinecap: return 381; | 415 case CSSPropertyStrokeLinecap: return 381; |
416 case CSSPropertyStrokeLinejoin: return 382; | 416 case CSSPropertyStrokeLinejoin: return 382; |
417 case CSSPropertyStrokeMiterlimit: return 383; | 417 case CSSPropertyStrokeMiterlimit: return 383; |
418 case CSSPropertyStrokeOpacity: return 384; | 418 case CSSPropertyStrokeOpacity: return 384; |
419 case CSSPropertyStrokeWidth: return 385; | 419 case CSSPropertyStrokeWidth: return 385; |
420 case CSSPropertyAlignmentBaseline: return 386; | 420 case CSSPropertyAlignmentBaseline: return 386; |
421 case CSSPropertyBaselineShift: return 387; | 421 case CSSPropertyBaselineShift: return 387; |
422 case CSSPropertyDominantBaseline: return 388; | 422 case CSSPropertyDominantBaseline: return 388; |
423 case CSSPropertyGlyphOrientationHorizontal: return 389; | 423 // CSSPropertyGlyphOrientationHorizontal has been removed, was return 389; |
424 case CSSPropertyGlyphOrientationVertical: return 390; | 424 // CSSPropertyGlyphOrientationVertical has been removed, was return 390; |
425 // CSSPropertyKerning has been removed, was return 391; | 425 // CSSPropertyKerning has been removed, was return 391; |
426 case CSSPropertyTextAnchor: return 392; | 426 case CSSPropertyTextAnchor: return 392; |
427 case CSSPropertyVectorEffect: return 393; | 427 case CSSPropertyVectorEffect: return 393; |
428 case CSSPropertyWritingMode: return 394; | 428 case CSSPropertyWritingMode: return 394; |
429 // CSSPropertyWebkitSvgShadow has been removed, was return 395; | 429 // CSSPropertyWebkitSvgShadow has been removed, was return 395; |
430 // CSSPropertyWebkitCursorVisibility has been removed, was return 396; | 430 // CSSPropertyWebkitCursorVisibility has been removed, was return 396; |
431 // CSSPropertyImageOrientation has been removed, was return 397; | 431 // CSSPropertyImageOrientation has been removed, was return 397; |
432 // CSSPropertyImageResolution has been removed, was return 398; | 432 // CSSPropertyImageResolution has been removed, was return 398; |
433 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING | 433 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING |
434 case CSSPropertyWebkitBlendMode: return 399; | 434 case CSSPropertyWebkitBlendMode: return 399; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 983 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
984 { | 984 { |
985 // FIXME: We may want to handle stylesheets that have multiple owners | 985 // FIXME: We may want to handle stylesheets that have multiple owners |
986 // http://crbug.com/242125 | 986 // http://crbug.com/242125 |
987 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 987 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
988 return getFrom(sheetContents->singleOwnerDocument()); | 988 return getFrom(sheetContents->singleOwnerDocument()); |
989 return 0; | 989 return 0; |
990 } | 990 } |
991 | 991 |
992 } // namespace blink | 992 } // namespace blink |
OLD | NEW |