12012-05-24 Tim Horton <timothy_horton@apple.com>
2
3 Add feature defines for web-facing parts of CSS Regions and Exclusions
4 https://bugs.webkit.org/show_bug.cgi?id=87442
5 <rdar://problem/10887709>
6
7 Reviewed by NOBODY (OOPS!).
8
9 * Configurations/FeatureDefines.xcconfig:
10 * GNUmakefile.am:
11 * bindings/generic/RuntimeEnabledFeatures.cpp:
12 * bindings/generic/RuntimeEnabledFeatures.h:
13 (RuntimeEnabledFeatures):
14 (WebCore::RuntimeEnabledFeatures::setCSSExclusionsEnabled):
15 (WebCore::RuntimeEnabledFeatures::cssExclusionsEnabled):
16 * bindings/js/JSCSSRuleCustom.cpp:
17 (WebCore::toJS):
18 * bindings/objc/DOMCSS.mm:
19 (kitClass):
20 * css/CSSComputedStyleDeclaration.cpp:
21 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
22 * css/CSSParser.cpp:
23 (WebCore::isSimpleLengthPropertyID):
24 (WebCore::isValidKeywordPropertyAndValue):
25 (WebCore::isKeywordPropertyID):
26 (WebCore::CSSParser::parseValue):
27 (WebCore::CSSParser::detectAtToken):
28 * css/CSSProperty.cpp:
29 (WebCore::CSSProperty::isInheritedProperty):
30 * css/CSSPropertyNames.in:
31 * css/CSSRule.cpp:
32 (WebCore::CSSRule::cssText):
33 (WebCore::CSSRule::destroy):
34 (WebCore::CSSRule::reattach):
35 * css/CSSRule.h:
36 (WebCore::CSSRule::isRegionRule):
37 * css/CSSRule.idl:
38 * css/StyleBuilder.cpp:
39 (WebCore::StyleBuilder::StyleBuilder):
40 * css/StylePropertySet.cpp:
41 (WebCore::StylePropertySet::getPropertyValue):
42 (WebCore::StylePropertySet::asText):
43 * css/StylePropertyShorthand.cpp:
44 (WebCore::shorthandForProperty):
45 * css/StylePropertyShorthand.h:
46 * css/StyleResolver.cpp:
47 (WebCore::StyleResolver::collectMatchingRulesForList):
48 * css/StyleRule.cpp:
49 (WebCore::StyleRuleBase::destroy):
50 (WebCore::StyleRuleBase::copy):
51 (WebCore::StyleRuleBase::createCSSOMWrapper):
52 * css/WebKitCSSRegionRule.cpp:
53 * css/WebKitCSSRegionRule.h:
54 * css/WebKitCSSRegionRule.idl:
55 * dom/Document.cpp:
56 * dom/Document.h:
57 * dom/Document.idl:
58 * page/DOMWindow.idl:
59 * page/Settings.cpp:
60 (WebCore::Settings::Settings):
61 * page/Settings.h:
62 (WebCore::Settings::setCSSRegionsEnabled):
63 (WebCore::Settings::cssRegionsEnabled):
64