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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 case CSSPropertyWebkitBoxAlign: return 203; | 257 case CSSPropertyWebkitBoxAlign: return 203; |
258 case CSSPropertyWebkitBoxDirection: return 204; | 258 case CSSPropertyWebkitBoxDirection: return 204; |
259 case CSSPropertyWebkitBoxFlex: return 205; | 259 case CSSPropertyWebkitBoxFlex: return 205; |
260 case CSSPropertyWebkitBoxFlexGroup: return 206; | 260 case CSSPropertyWebkitBoxFlexGroup: return 206; |
261 case CSSPropertyWebkitBoxLines: return 207; | 261 case CSSPropertyWebkitBoxLines: return 207; |
262 case CSSPropertyWebkitBoxOrdinalGroup: return 208; | 262 case CSSPropertyWebkitBoxOrdinalGroup: return 208; |
263 case CSSPropertyWebkitBoxOrient: return 209; | 263 case CSSPropertyWebkitBoxOrient: return 209; |
264 case CSSPropertyWebkitBoxPack: return 210; | 264 case CSSPropertyWebkitBoxPack: return 210; |
265 case CSSPropertyWebkitBoxReflect: return 211; | 265 case CSSPropertyWebkitBoxReflect: return 211; |
266 case CSSPropertyWebkitBoxShadow: return 212; | 266 case CSSPropertyWebkitBoxShadow: return 212; |
267 case CSSPropertyWebkitColumnAxis: return 214; | 267 // CSSPropertyWebkitColumnAxis was 214 |
268 case CSSPropertyWebkitColumnBreakAfter: return 215; | 268 case CSSPropertyWebkitColumnBreakAfter: return 215; |
269 case CSSPropertyWebkitColumnBreakBefore: return 216; | 269 case CSSPropertyWebkitColumnBreakBefore: return 216; |
270 case CSSPropertyWebkitColumnBreakInside: return 217; | 270 case CSSPropertyWebkitColumnBreakInside: return 217; |
271 case CSSPropertyWebkitColumnCount: return 218; | 271 case CSSPropertyWebkitColumnCount: return 218; |
272 case CSSPropertyWebkitColumnGap: return 219; | 272 case CSSPropertyWebkitColumnGap: return 219; |
273 case CSSPropertyWebkitColumnProgression: return 220; | 273 // CSSPropertyWebkitColumnProgression was 220 |
274 case CSSPropertyWebkitColumnRule: return 221; | 274 case CSSPropertyWebkitColumnRule: return 221; |
275 case CSSPropertyWebkitColumnRuleColor: return 222; | 275 case CSSPropertyWebkitColumnRuleColor: return 222; |
276 case CSSPropertyWebkitColumnRuleStyle: return 223; | 276 case CSSPropertyWebkitColumnRuleStyle: return 223; |
277 case CSSPropertyWebkitColumnRuleWidth: return 224; | 277 case CSSPropertyWebkitColumnRuleWidth: return 224; |
278 case CSSPropertyWebkitColumnSpan: return 225; | 278 case CSSPropertyWebkitColumnSpan: return 225; |
279 case CSSPropertyWebkitColumnWidth: return 226; | 279 case CSSPropertyWebkitColumnWidth: return 226; |
280 case CSSPropertyWebkitColumns: return 227; | 280 case CSSPropertyWebkitColumns: return 227; |
281 #if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK | 281 #if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK |
282 case CSSPropertyWebkitBoxDecorationBreak: return 228; | 282 case CSSPropertyWebkitBoxDecorationBreak: return 228; |
283 #endif | 283 #endif |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 741 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
742 { | 742 { |
743 // FIXME: We may want to handle stylesheets that have multiple owners | 743 // FIXME: We may want to handle stylesheets that have multiple owners |
744 // http://crbug.com/242125 | 744 // http://crbug.com/242125 |
745 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 745 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
746 return getFrom(sheetContents->singleOwnerDocument()); | 746 return getFrom(sheetContents->singleOwnerDocument()); |
747 return 0; | 747 return 0; |
748 } | 748 } |
749 | 749 |
750 } // namespace WebCore | 750 } // namespace WebCore |
OLD | NEW |