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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
385 case CSSPropertyWebkitTransitionTimingFunction: return 336; | 385 case CSSPropertyWebkitTransitionTimingFunction: return 336; |
386 case CSSPropertyWebkitUserDrag: return 337; | 386 case CSSPropertyWebkitUserDrag: return 337; |
387 case CSSPropertyWebkitUserModify: return 338; | 387 case CSSPropertyWebkitUserModify: return 338; |
388 case CSSPropertyWebkitUserSelect: return 339; | 388 case CSSPropertyWebkitUserSelect: return 339; |
389 // case CSSPropertyWebkitFlowInto: return 340; | 389 // case CSSPropertyWebkitFlowInto: return 340; |
390 // case CSSPropertyWebkitFlowFrom: return 341; | 390 // case CSSPropertyWebkitFlowFrom: return 341; |
391 // case CSSPropertyWebkitRegionFragment: return 342; | 391 // case CSSPropertyWebkitRegionFragment: return 342; |
392 // case CSSPropertyWebkitRegionBreakAfter: return 343; | 392 // case CSSPropertyWebkitRegionBreakAfter: return 343; |
393 // case CSSPropertyWebkitRegionBreakBefore: return 344; | 393 // case CSSPropertyWebkitRegionBreakBefore: return 344; |
394 // case CSSPropertyWebkitRegionBreakInside: return 345; | 394 // case CSSPropertyWebkitRegionBreakInside: return 345; |
395 case CSSPropertyShapeInside: return 346; | |
Bem Jones-Bey (adobe)
2014/03/27 00:09:47
I notice that the other cases that have been remov
| |
396 case CSSPropertyShapeOutside: return 347; | 395 case CSSPropertyShapeOutside: return 347; |
397 case CSSPropertyShapeMargin: return 348; | 396 case CSSPropertyShapeMargin: return 348; |
398 case CSSPropertyShapePadding: return 349; | 397 case CSSPropertyShapePadding: return 349; |
399 case CSSPropertyWebkitWrapFlow: return 350; | 398 case CSSPropertyWebkitWrapFlow: return 350; |
400 case CSSPropertyWebkitWrapThrough: return 351; | 399 case CSSPropertyWebkitWrapThrough: return 351; |
401 // CSSPropertyWebkitWrap was 352. | 400 // CSSPropertyWebkitWrap was 352. |
402 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS | 401 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS |
403 case CSSPropertyWebkitTapHighlightColor: return 353; | 402 case CSSPropertyWebkitTapHighlightColor: return 353; |
404 #endif | 403 #endif |
405 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION | 404 #if defined(ENABLE_DRAGGABLE_REGION) && ENABLE_DRAGGABLE_REGION |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
735 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 734 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
736 { | 735 { |
737 // FIXME: We may want to handle stylesheets that have multiple owners | 736 // FIXME: We may want to handle stylesheets that have multiple owners |
738 // http://crbug.com/242125 | 737 // http://crbug.com/242125 |
739 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 738 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
740 return getFrom(sheetContents->singleOwnerDocument()); | 739 return getFrom(sheetContents->singleOwnerDocument()); |
741 return 0; | 740 return 0; |
742 } | 741 } |
743 | 742 |
744 } // namespace WebCore | 743 } // namespace WebCore |
OLD | NEW |