OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
3 * Copyright (C) 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2012 Apple 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 * | 8 * |
9 * 1. Redistributions of source code must retain the above | 9 * 1. Redistributions of source code must retain the above |
10 * copyright notice, this list of conditions and the following | 10 * copyright notice, this list of conditions and the following |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 KURL baseURL; | 66 KURL baseURL; |
67 String charset; | 67 String charset; |
68 CSSParserMode mode; | 68 CSSParserMode mode; |
69 bool isHTMLDocument; | 69 bool isHTMLDocument; |
70 bool isCSSCustomFilterEnabled; | 70 bool isCSSCustomFilterEnabled; |
71 bool isCSSStickyPositionEnabled; | 71 bool isCSSStickyPositionEnabled; |
72 bool isCSSCompositingEnabled; | 72 bool isCSSCompositingEnabled; |
73 bool isCSSTouchActionEnabled; | 73 bool isCSSTouchActionEnabled; |
74 bool needsSiteSpecificQuirks; | 74 bool needsSiteSpecificQuirks; |
75 // This quirk is to maintain compatibility with Android apps built on | 75 // This quirk is to maintain compatibility with Android apps built on |
76 // the Android SDK prior to and including version 17. Presumably, this | 76 // the Android SDK prior to and including version 18. Presumably, this |
77 // can be removed any time after 2015. See http://crbug.com/277157. | 77 // can be removed any time after 2015. See http://crbug.com/277157. |
78 bool useLegacyBackgroundSizeShorthandBehavior; | 78 bool useLegacyBackgroundSizeShorthandBehavior; |
79 }; | 79 }; |
80 | 80 |
81 bool operator==(const CSSParserContext&, const CSSParserContext&); | 81 bool operator==(const CSSParserContext&, const CSSParserContext&); |
82 inline bool operator!=(const CSSParserContext& a, const CSSParserContext& b) { r
eturn !(a == b); } | 82 inline bool operator!=(const CSSParserContext& a, const CSSParserContext& b) { r
eturn !(a == b); } |
83 | 83 |
84 const CSSParserContext& strictCSSParserContext(); | 84 const CSSParserContext& strictCSSParserContext(); |
85 | 85 |
86 }; | 86 }; |
87 | 87 |
88 #endif // CSSParserMode_h | 88 #endif // CSSParserMode_h |
OLD | NEW |