[Webkit-unassigned] [Bug 53783] Dynamic changes to the lang attribute not seen by e.g. div:lang() selector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 15 02:50:43 PDT 2012


--- Comment #2 from Matt Falkenhagen <falken at chromium.org>  2012-08-15 02:51:14 PST ---
Yes, this was fixed in the patch that added lang to -webkit-locale mapping, which also added a style recalc for when lang is set (http://trac.webkit.org/changeset/103608). In the current code, the style recalc occurs because lang is one of the attributes in HTMLElement::isPresentationAttribute.

Some tests for dynamic changes have landed as part of bug 76364, but technically they only test the mapping to -webkit-locale, and not the CSS :lang selector.

I think it'd be good to add a new test specifically for the :lang selector. I'll upload a patch.

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