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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
59 public: | 59 public: |
60 CSSParserContext(CSSParserMode, const KURL& baseURL = KURL()); | 60 CSSParserContext(CSSParserMode, const KURL& baseURL = KURL()); |
61 CSSParserContext(Document*, const KURL& baseURL = KURL(), const String& char set = emptyString()); | 61 CSSParserContext(Document*, const KURL& baseURL = KURL(), const String& char set = emptyString()); |
62 | 62 |
63 KURL baseURL; | 63 KURL baseURL; |
64 String charset; | 64 String charset; |
65 CSSParserMode mode; | 65 CSSParserMode mode; |
66 bool isHTMLDocument; | 66 bool isHTMLDocument; |
67 bool isCSSCustomFilterEnabled; | 67 bool isCSSCustomFilterEnabled; |
68 bool isCSSStickyPositionEnabled; | 68 bool isCSSStickyPositionEnabled; |
69 bool isCSSRegionsEnabled; | |
70 bool isCSSCompositingEnabled; | 69 bool isCSSCompositingEnabled; |
eseidel
2013/04/30 00:11:09
I didn't know these even existed. Interesting.
| |
71 bool isCSSGridLayoutEnabled; | 70 bool isCSSGridLayoutEnabled; |
72 bool isCSSVariablesEnabled; | 71 bool isCSSVariablesEnabled; |
73 bool needsSiteSpecificQuirks; | 72 bool needsSiteSpecificQuirks; |
74 }; | 73 }; |
75 | 74 |
76 bool operator==(const CSSParserContext&, const CSSParserContext&); | 75 bool operator==(const CSSParserContext&, const CSSParserContext&); |
77 inline bool operator!=(const CSSParserContext& a, const CSSParserContext& b) { r eturn !(a == b); } | 76 inline bool operator!=(const CSSParserContext& a, const CSSParserContext& b) { r eturn !(a == b); } |
78 | 77 |
79 const CSSParserContext& strictCSSParserContext(); | 78 const CSSParserContext& strictCSSParserContext(); |
80 | 79 |
81 }; | 80 }; |
82 | 81 |
83 #endif // CSSParserMode_h | 82 #endif // CSSParserMode_h |
OLD | NEW |