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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 case CSSPropertyGridRowStart: return 246; | 302 case CSSPropertyGridRowStart: return 246; |
303 case CSSPropertyGridRowEnd: return 247; | 303 case CSSPropertyGridRowEnd: return 247; |
304 case CSSPropertyGridColumn: return 248; | 304 case CSSPropertyGridColumn: return 248; |
305 case CSSPropertyGridRow: return 249; | 305 case CSSPropertyGridRow: return 249; |
306 case CSSPropertyGridAutoFlow: return 250; | 306 case CSSPropertyGridAutoFlow: return 250; |
307 case CSSPropertyWebkitHighlight: return 251; | 307 case CSSPropertyWebkitHighlight: return 251; |
308 case CSSPropertyWebkitHyphenateCharacter: return 252; | 308 case CSSPropertyWebkitHyphenateCharacter: return 252; |
309 case CSSPropertyWebkitLineBoxContain: return 257; | 309 case CSSPropertyWebkitLineBoxContain: return 257; |
310 case CSSPropertyWebkitLineAlign: return 258; | 310 case CSSPropertyWebkitLineAlign: return 258; |
311 case CSSPropertyWebkitLineBreak: return 259; | 311 case CSSPropertyWebkitLineBreak: return 259; |
312 case CSSPropertyWebkitLineClamp: return 260; | |
313 case CSSPropertyWebkitLineGrid: return 261; | 312 case CSSPropertyWebkitLineGrid: return 261; |
314 case CSSPropertyWebkitLineSnap: return 262; | 313 case CSSPropertyWebkitLineSnap: return 262; |
315 case CSSPropertyWebkitLogicalWidth: return 263; | 314 case CSSPropertyWebkitLogicalWidth: return 263; |
316 case CSSPropertyWebkitLogicalHeight: return 264; | 315 case CSSPropertyWebkitLogicalHeight: return 264; |
317 case CSSPropertyWebkitMarginAfterCollapse: return 265; | 316 case CSSPropertyWebkitMarginAfterCollapse: return 265; |
318 case CSSPropertyWebkitMarginBeforeCollapse: return 266; | 317 case CSSPropertyWebkitMarginBeforeCollapse: return 266; |
319 case CSSPropertyWebkitMarginBottomCollapse: return 267; | 318 case CSSPropertyWebkitMarginBottomCollapse: return 267; |
320 case CSSPropertyWebkitMarginTopCollapse: return 268; | 319 case CSSPropertyWebkitMarginTopCollapse: return 268; |
321 case CSSPropertyWebkitMarginCollapse: return 269; | 320 case CSSPropertyWebkitMarginCollapse: return 269; |
322 case CSSPropertyWebkitMarginAfter: return 270; | 321 case CSSPropertyWebkitMarginAfter: return 270; |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 717 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
719 { | 718 { |
720 // FIXME: We may want to handle stylesheets that have multiple owners | 719 // FIXME: We may want to handle stylesheets that have multiple owners |
721 // http://crbug.com/242125 | 720 // http://crbug.com/242125 |
722 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) | 721 if (sheetContents && !sheetContents->isUserStyleSheet() && sheetContents->ha
sSingleOwnerNode()) |
723 return getFrom(sheetContents->singleOwnerDocument()); | 722 return getFrom(sheetContents->singleOwnerDocument()); |
724 return 0; | 723 return 0; |
725 } | 724 } |
726 | 725 |
727 } // namespace WebCore | 726 } // namespace WebCore |
OLD | NEW |