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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 case CSSPropertyStrokeLinecap: return 381; | 435 case CSSPropertyStrokeLinecap: return 381; |
436 case CSSPropertyStrokeLinejoin: return 382; | 436 case CSSPropertyStrokeLinejoin: return 382; |
437 case CSSPropertyStrokeMiterlimit: return 383; | 437 case CSSPropertyStrokeMiterlimit: return 383; |
438 case CSSPropertyStrokeOpacity: return 384; | 438 case CSSPropertyStrokeOpacity: return 384; |
439 case CSSPropertyStrokeWidth: return 385; | 439 case CSSPropertyStrokeWidth: return 385; |
440 case CSSPropertyAlignmentBaseline: return 386; | 440 case CSSPropertyAlignmentBaseline: return 386; |
441 case CSSPropertyBaselineShift: return 387; | 441 case CSSPropertyBaselineShift: return 387; |
442 case CSSPropertyDominantBaseline: return 388; | 442 case CSSPropertyDominantBaseline: return 388; |
443 case CSSPropertyGlyphOrientationHorizontal: return 389; | 443 case CSSPropertyGlyphOrientationHorizontal: return 389; |
444 case CSSPropertyGlyphOrientationVertical: return 390; | 444 case CSSPropertyGlyphOrientationVertical: return 390; |
445 case CSSPropertyKerning: return 391; | 445 // CSSPropertyKerning has been removed, was return 391; |
446 case CSSPropertyTextAnchor: return 392; | 446 case CSSPropertyTextAnchor: return 392; |
447 case CSSPropertyVectorEffect: return 393; | 447 case CSSPropertyVectorEffect: return 393; |
448 case CSSPropertyWritingMode: return 394; | 448 case CSSPropertyWritingMode: return 394; |
449 // CSSPropertyWebkitSvgShadow has been removed, was return 395; | 449 // CSSPropertyWebkitSvgShadow has been removed, was return 395; |
450 #if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY | 450 #if defined(ENABLE_CURSOR_VISIBILITY) && ENABLE_CURSOR_VISIBILITY |
451 case CSSPropertyWebkitCursorVisibility: return 396; | 451 case CSSPropertyWebkitCursorVisibility: return 396; |
452 #endif | 452 #endif |
453 // CSSPropertyImageOrientation has been removed, was return 397; | 453 // CSSPropertyImageOrientation has been removed, was return 397; |
454 // CSSPropertyImageResolution has been removed, was return 398; | 454 // CSSPropertyImageResolution has been removed, was return 398; |
455 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING | 455 #if defined(ENABLE_CSS_COMPOSITING) && ENABLE_CSS_COMPOSITING |
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 751 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
752 { | 752 { |
753 // FIXME: We may want to handle stylesheets that have multiple owners | 753 // FIXME: We may want to handle stylesheets that have multiple owners |
754 // http://crbug.com/242125 | 754 // http://crbug.com/242125 |
755 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 755 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
756 return getFrom(sheetContents->singleOwnerDocument()); | 756 return getFrom(sheetContents->singleOwnerDocument()); |
757 return 0; | 757 return 0; |
758 } | 758 } |
759 | 759 |
760 } // namespace WebCore | 760 } // namespace WebCore |
OLD | NEW |