I'm adding support for padding-end and margin-end in bug 25761 and I noticed that computed style is not implemented for these properties. I'll implement this after bug 25761 has landed.
Created attachment 60999 [details] Patch
I wasn't sure where to put the helper function, resolveDirectionAwareProperty. Suggestions welcome.
Comment on attachment 60999 [details] Patch I’m a little worried that the serialized form of all CSS properties will include redundant values and that will be some sort of problems. THe same value as both margin-left and margin-start, for example. Clearly when getting one particular property this is right. WebCore/ChangeLog:9 + (WebCore::): Please avoid adding lines like this to ChangeLog.
(In reply to comment #3) > (From update of attachment 60999 [details]) > I’m a little worried that the serialized form of all CSS properties will include redundant values and that will be some sort of problems. THe same value as both margin-left and margin-start, for example. Clearly when getting one particular property this is right. Fair point. I also see that we do not include shorthands in this list. I'll remove the direction aware properties from computedProperties.
Created attachment 61113 [details] Patch for landing
Comment on attachment 61113 [details] Patch for landing Clearing flags on attachment: 61113 Committed r63038: <http://trac.webkit.org/changeset/63038>
All reviewed patches have been landed. Closing bug.