Add directional property enums to the switch in applyProperty
Created attachment 61758 [details] Patch
Comment on attachment 61758 [details] Patch I wish there was a "cleaner" way of doing it. (In fact, I can think of one but it involves macros and perhaps a little trickiness so maybe it wouldn't be that great.) Here's the shape of what I'm thinking of. A "header" file with a list like this. CSS_DIRECTION_AWARE_PROPERTY(CSSPropertyWebkitMarginEnd, CSSPropertyMarginRight, CSSPropertyMarginLeft) Anyway what you have here will work.
Committed r63509: <http://trac.webkit.org/changeset/63509>