Skip to main content

Search and Top Navigation

#8322 closed bug (fixed)

Opened May 14, 2012 10:15PM UTC

Closed May 15, 2012 01:40AM UTC

Last modified May 15, 2012 01:40AM UTC

Autocomplete: Combobox demo should not override .ui-button styles

Reported by: VitalyT Owned by:
Priority: minor Milestone: 1.8.21
Component: ui.autocomplete Version: 1.8.20
Keywords: Cc:
Blocked by: Blocking:
Description

In the example for Autocomplete->Combobox the code suggests use of style as below, which gets into conflict with any button you have in the UI. UI sample should not be detached from the real-world use, and not suggest use of styles that will screw up everything else.

.ui-button {

position: absolute;

top: 0;

bottom: 0;

margin-left: -1px;

padding: 0;

/* adjust styles for IE 6/7 */

*height: 1.7em;

*top: 0.1em;

}

Attachments (0)
Change History (4)

Changed May 15, 2012 01:37AM UTC by scottgonzalez comment:1

component: ui.coreui.autocomplete
summary: Example for Autocomplete->Combobox is plain badAutocomplete: Combobox demo should not override .ui-button styles

Changed May 15, 2012 01:40AM UTC by Scott González comment:2

resolution: → fixed
status: newclosed

Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.

Changeset: 1b19121189356879ca39a19ba241a04ff4786b62

Changed May 15, 2012 01:40AM UTC by Scott González comment:3

Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.

(cherry picked from commit 1b19121189356879ca39a19ba241a04ff4786b62)

Conflicts:

demos/autocomplete/combobox.html

Changeset: 637d102e59b4b8e6bf4f631bdbe8d298e5874f63

Changed May 15, 2012 01:40AM UTC by scottgonzalez comment:4

milestone: 1.91.8.21