jquery/jquery-mobile — Issue #2731: Remove hard-coded theme options to fix theme inheritance
Author: jblas
Created: 2011-10-17 23:01:19+00:00
State: open

This is a post 1.0 developer task issue ... It looks like theme inheritance mostly works because of our heavy usage of buttonMarkup which actually does crawl up the DOM hierarchy, when a theme is not specified, to find a theme to inherit from.

There are lots of places that actually specify a default theme letter as part of their default options. Specifying a theme letter in the default option of a widget means it will never do this inheritance check since a theme letter will *ALWAYS* be defined at the time the widget is constructed. We need to make sure these defaults are removed for components that must inherit their theme.