[Webkit-unassigned] [Bug 56377] WebKit's behavior for text-align inherit differs from other browsers
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 15 08:51:20 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56377
--- Comment #2 from Jeremy Moskovich <playmobil at google.com> 2011-03-15 08:51:21 PST ---
WebKit resolves text-align:start/end to left/right in CSSStyleSelector::applyProperty and then discards the original values. Then when a child element comes along with text-align:inherit left/right is inherited from the parent rather than start/end.
According to my reading of the spec, WebKit's current behavior is actually what's expected of text-align:match-parent and is wrong for inherit.
"""
match-parent
This value behaves the same as ‘inherit’ except that an inherited ‘start’ or ‘end’ keyword is calculated against its parent's ‘direction’ value and results in a computed value of either ‘left’ or ‘right’.
"""
The attached test case renders differently in WebKit than FF which itself differs from IE8/Opera.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list