12012-08-20 Ryosuke Niwa <rniwa@webkit.org>
2
3 Replace isolate || bidi-override by isolate-override
4 https://bugs.webkit.org/show_bug.cgi?id=89746
5
6 Reviewed by NOBODY (OOPS!).
7
8 The combination of bidi-isolate and isolate was replaced by a single isolate-override in
9 http://lists.w3.org/Archives/Public/www-style/2012May/0541.html. The spec. has been updated accordingly:
10 http://dev.w3.org/csswg/css3-writing-modes/#unicode-bidi
11
12 To follow the specification change, added -webkit-isolate-override and removed the support for
13 isolate || bidi-override, simplifying the CSS parser and serializer.
14
15 Test: fast/text/bidi-override-isolate.html
16
17 * css/CSSComputedStyleDeclaration.cpp:
18 (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Removed. We can just new a CSSPrimitiveValue
19 constructor now.
20 * css/CSSParser.cpp:
21 (WebCore::CSSParser::parseValue):
22 * css/CSSPrimitiveValueMappings.h:
23 (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added now that unicode-bidi always creates a signle
24 primitive value instead of a primitive value of css value list.
25 (WebCore::CSSPrimitiveValue::operator EUnicodeBidi):
26 * css/CSSValueKeywords.in: Added -webkit-isolate-override
27 * css/StyleBuilder.cpp:
28 (WebCore): Removed ApplyPropertyUnicodeBidi since we can use ApplyPropertyDefault now.
29 (WebCore::StyleBuilder::StyleBuilder): Use ApplyPropertyDefault.
30 * platform/text/UnicodeBidi.h: Renamed OverrideIsolate to IsolateOverride to match the spec.
31 (WebCore::isIsolated):
32 (WebCore::isOverride):
33 * rendering/RenderBlockLineLayout.cpp:
34 (WebCore::constructBidiRuns):
35