<rdar://problem/9291132> Add support for -epub-prefixed properties
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 23:36:02 +0000 (23:36 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Apr 2011 23:36:02 +0000 (23:36 +0000)
commit5706e7735b4d5b019ced94d8f6c7cb537783ed48
tree3a06c59ee45eac8590c667daf2b9165ee64b5a7a
parentd29d2063ebceb24cbaabd142d1383612b9ccce7c
<rdar://problem/9291132> Add support for -epub-prefixed properties

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/css/epub-properties.html

* bindings/js/JSCSSStyleDeclarationCustom.cpp:
(WebCore::cssPropertyName): Map "epub"-prefixed properties to "-epub"-prefixed ones.
* css/CSSPropertyNames.in: Added -epub- aliases to caption-side, -webkit-hyphens, -webkit-text-combine,
-webkit-text-emphasis, -webkit-text-emphasis-color, -webkit-text-emphasis-style, -webkit-text-orientation,
text-transform, text-transform, word-break, and -webkit-writing-mode.

LayoutTests:

* fast/css/epub-properties-expected.txt: Added.
* fast/css/epub-properties.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/epub-properties-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/epub-properties.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSCSSStyleDeclarationCustom.cpp
Source/WebCore/css/CSSPropertyNames.in