visual tests: added stripped down autocomplete demo
BIN
tests/visual/autocomplete/bg.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
tests/visual/autocomplete/images/Amsterdam Van-Gogh Museum.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
tests/visual/autocomplete/images/Amsterdam.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
tests/visual/autocomplete/images/Antwerpen Rubenshaus.jpg
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
tests/visual/autocomplete/images/Antwerpen.jpg
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
tests/visual/autocomplete/images/Appenzell.jpg
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
tests/visual/autocomplete/images/Arnhem Historisches Museum.jpg
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
tests/visual/autocomplete/images/Bled.jpg
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
tests/visual/autocomplete/images/Bled_Die Burg von Bled.jpg
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
tests/visual/autocomplete/images/Bogojina_Die Pfarrkirche.jpg
Normal file
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 2.9 KiB |
BIN
tests/visual/autocomplete/images/BolognaFontanadelNettuno.jpg
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
tests/visual/autocomplete/images/BolognaPiazzaMaggiore.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/Bolsward Martinikerk.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
tests/visual/autocomplete/images/Bolsward Stadhuis.jpg
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
tests/visual/autocomplete/images/Bolsward.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
tests/visual/autocomplete/images/BordeauxND.jpg
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
tests/visual/autocomplete/images/BordeauxPlaceB.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
tests/visual/autocomplete/images/BotanischerGartenZuerich.jpg
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
tests/visual/autocomplete/images/Bouillon.jpg
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
tests/visual/autocomplete/images/Gent Hotel de Ville2.jpg
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
tests/visual/autocomplete/images/Gent.jpg
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
tests/visual/autocomplete/images/GenuaStrand.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
tests/visual/autocomplete/images/GenuabeiNacht.jpg
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
tests/visual/autocomplete/images/Giessbachfaelle Brienz.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/Giethoorn.jpg
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
tests/visual/autocomplete/images/Gnesen.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
tests/visual/autocomplete/images/Gornij Grad_KATHEDRALE.jpg
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
tests/visual/autocomplete/images/Gossensass.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
tests/visual/autocomplete/images/Grad_Burg Grad2.jpg
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
tests/visual/autocomplete/images/GrandDixence.jpg
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
tests/visual/autocomplete/images/GrenoblePanorama.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
tests/visual/autocomplete/images/Groningen.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/GrottenvonReclere.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
tests/visual/autocomplete/images/Guebwiller.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/Kazimierz.jpg
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
tests/visual/autocomplete/images/KirchbergAltesRathaus1.jpg
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
tests/visual/autocomplete/images/KlagenfurtDom.jpg
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
tests/visual/autocomplete/images/KleineMeerjungfreu.jpg
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
tests/visual/autocomplete/images/LazienkiparkWarschau.jpg
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
tests/visual/autocomplete/images/LeHavreHafen.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
tests/visual/autocomplete/images/LeMans.jpg
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
tests/visual/autocomplete/images/Lednice.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/Leeuwarden Fries Museum.jpg
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
tests/visual/autocomplete/images/Leeuwarden.jpg
Normal file
After Width: | Height: | Size: 3.9 KiB |
BIN
tests/visual/autocomplete/images/Lelystad.jpg
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
tests/visual/autocomplete/images/Lemmer.jpg
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
tests/visual/autocomplete/images/Leper Halles aux draps.jpg
Normal file
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 6.3 KiB |
BIN
tests/visual/autocomplete/images/Leuven.jpg
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
tests/visual/autocomplete/images/Luxemburg.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
tests/visual/autocomplete/images/LuzernAltstadt.jpg
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
tests/visual/autocomplete/images/LuzernPicassoMuseum.jpg
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
tests/visual/autocomplete/images/Lyon.jpg
Normal file
After Width: | Height: | Size: 6.5 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 5.6 KiB |
BIN
tests/visual/autocomplete/images/Maastricht Walmuur.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
tests/visual/autocomplete/images/Maastricht.jpg
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
tests/visual/autocomplete/images/MagiatalMaggia.jpg
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
tests/visual/autocomplete/images/Mailand3.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
tests/visual/autocomplete/images/Metlika_Bela Krajina Museum.jpg
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
tests/visual/autocomplete/images/MilanoCastelloSforzesco.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
tests/visual/autocomplete/images/MilanoDom.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
tests/visual/autocomplete/images/MilazzoBurg.jpg
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
tests/visual/autocomplete/images/Novo Mesto_Das Museum.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/ObervellachBurgFalkenstein.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
tests/visual/autocomplete/images/OdenseeAndersen.jpg
Normal file
After Width: | Height: | Size: 4.4 KiB |
After Width: | Height: | Size: 7.6 KiB |
BIN
tests/visual/autocomplete/images/Olomouc.jpg
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
tests/visual/autocomplete/images/OlympischesMuseumLausanne.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
tests/visual/autocomplete/images/OrleansMaisonJeannedArc.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/OrleansParcFloraldelaSource.jpg
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
tests/visual/autocomplete/images/OstiaAntica.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
tests/visual/autocomplete/images/Ostrow Tumski.jpg
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
tests/visual/autocomplete/images/PoertschachSchlossLeonstain.jpg
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
tests/visual/autocomplete/images/Portoroz.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
tests/visual/autocomplete/images/Posen.jpg
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
tests/visual/autocomplete/images/Postojna.jpg
Normal file
After Width: | Height: | Size: 4.0 KiB |
BIN
tests/visual/autocomplete/images/Prag Altstaedter Ring.jpg
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
tests/visual/autocomplete/images/Prag Waldsteinpalais.jpg
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
tests/visual/autocomplete/images/RouenNotreDame.jpg
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
tests/visual/autocomplete/images/Salzbergwerk Bex.jpg
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
tests/visual/autocomplete/images/SalzbergwerkWieliczka.jpg
Normal file
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 5.2 KiB |
BIN
tests/visual/autocomplete/images/SalzburgResidenz.jpg
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
tests/visual/autocomplete/images/WienMuseumsQuartier.jpg
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
tests/visual/autocomplete/images/WienMusikverein.jpg
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
tests/visual/autocomplete/images/WienRiesenrad.jpg
Normal file
After Width: | Height: | Size: 8.6 KiB |
BIN
tests/visual/autocomplete/images/WienRingstrasse.jpg
Normal file
After Width: | Height: | Size: 6.5 KiB |
132
tests/visual/autocomplete/index.html
Normal file
@ -0,0 +1,132 @@
|
|||||||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<title>jQuery Autocomplete Plugin</title>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="../../../jquery-1.2.6.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
|
||||||
|
<script type="text/javascript" src="../../../ui/ui.autocomplete.js"></script>
|
||||||
|
|
||||||
|
<script type='text/javascript' src='localdata.js'></script>
|
||||||
|
<link rel="stylesheet" type="text/css" href="main.css" />
|
||||||
|
<link rel="stylesheet" href="../../../themes/default/ui.all.css" type="text/css" media="screen" title="no title" charset="utf-8">
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$().ready(function() {
|
||||||
|
|
||||||
|
function findValueCallback(event, data, formatted) {
|
||||||
|
$("<li>").html( !data ? "No match!" : "Selected: " + formatted).appendTo("#result");
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatItem(row) {
|
||||||
|
return row[0] + " (<strong>id: " + row[1] + "</strong>)";
|
||||||
|
}
|
||||||
|
function formatResult(row) {
|
||||||
|
return row[0].replace(/(<.+?>)/gi, '');
|
||||||
|
}
|
||||||
|
|
||||||
|
$("#suggest1").autocomplete({ data: cities });
|
||||||
|
$("#month").autocomplete({
|
||||||
|
data: months,
|
||||||
|
minChars: 0,
|
||||||
|
max: 12,
|
||||||
|
autoFill: true,
|
||||||
|
mustMatch: true,
|
||||||
|
matchContains: false,
|
||||||
|
scrollHeight: 220,
|
||||||
|
formatItem: function(data, i, total) {
|
||||||
|
// don't show the current month in the list of values (for whatever reason)
|
||||||
|
if ( data[0] == months[new Date().getMonth()] )
|
||||||
|
return false;
|
||||||
|
return data[0];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$("#suggest13").autocomplete({
|
||||||
|
data: emails,
|
||||||
|
minChars: 0,
|
||||||
|
width: 310,
|
||||||
|
matchContains: "word",
|
||||||
|
autoFill: false,
|
||||||
|
formatItem: function(row, i, max) {
|
||||||
|
return i + "/" + max + ": \"" + row.name + "\" [" + row.to + "]";
|
||||||
|
},
|
||||||
|
formatMatch: function(row, i, max) {
|
||||||
|
return row.name + " " + row.to;
|
||||||
|
},
|
||||||
|
formatResult: function(row) {
|
||||||
|
return row.to;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#suggest3").autocomplete({
|
||||||
|
data: cities,
|
||||||
|
multiple: true,
|
||||||
|
mustMatch: true,
|
||||||
|
autoFill: true
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#tags").autocomplete(["c++", "java", "php", "coldfusion", "javascript", "asp", "ruby", "python", "c", "scala", "groovy", "haskell", "pearl"], {
|
||||||
|
width: 320,
|
||||||
|
max: 4,
|
||||||
|
highlight: false,
|
||||||
|
multiple: true,
|
||||||
|
multipleSeparator: " ",
|
||||||
|
scroll: true,
|
||||||
|
scrollHeight: 300
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$("#clear").click(function() {
|
||||||
|
$(":input").unautocomplete();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
|
||||||
|
<form autocomplete="off">
|
||||||
|
<p>
|
||||||
|
<label>Single City (local):</label>
|
||||||
|
<input type="text" id="suggest1" />
|
||||||
|
<input type="button" value="Get Value" />
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>Month (local):</label>
|
||||||
|
<input type="text" id="month" />
|
||||||
|
<input type="button" value="Get Value" />
|
||||||
|
(Current month is excluded from list)
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>E-Mail (local):</label>
|
||||||
|
<input type="text" id="suggest13" />
|
||||||
|
<input type="button" value="Get Value" />
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>Multiple Cities (local):</label>
|
||||||
|
<textarea id='suggest3' cols='40' rows='3'></textarea>
|
||||||
|
<input type="button" value="Get Value" />
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<label>Tags (local):</label>
|
||||||
|
<input type="text" id='tags' />
|
||||||
|
<input type="button" value="Get Value" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<input type="submit" value="Submit" />
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
<button id="clear">Remove all autocompletes</button>
|
||||||
|
|
||||||
|
<h3>Result:</h3> <ol id="result"></ol>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
tests/visual/autocomplete/indicator.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
216
tests/visual/autocomplete/localdata.js
Normal file
@ -0,0 +1,216 @@
|
|||||||
|
var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'];
|
||||||
|
var emails = [
|
||||||
|
{ name: "Peter Pan", to: "peter@pan.de" },
|
||||||
|
{ name: "Molly", to: "molly@yahoo.com" },
|
||||||
|
{ name: "Forneria Marconi", to: "live@japan.jp" },
|
||||||
|
{ name: "Master <em>Sync</em>", to: "205bw@samsung.com" },
|
||||||
|
{ name: "Dr. <strong>Tech</strong> de Log", to: "g15@logitech.com" },
|
||||||
|
{ name: "Don Corleone", to: "don@vegas.com" },
|
||||||
|
{ name: "Mc Chick", to: "info@donalds.org" },
|
||||||
|
{ name: "Donnie Darko", to: "dd@timeshift.info" },
|
||||||
|
{ name: "Quake The Net", to: "webmaster@quakenet.org" },
|
||||||
|
{ name: "Dr. Write", to: "write@writable.com" }
|
||||||
|
];
|
||||||
|
var cities = [
|
||||||
|
"Aberdeen", "Ada", "Adamsville", "Addyston", "Adelphi", "Adena", "Adrian", "Akron",
|
||||||
|
"Albany", "Alexandria", "Alger", "Alledonia", "Alliance", "Alpha", "Alvada",
|
||||||
|
"Alvordton", "Amanda", "Amelia", "Amesville", "Amherst", "Amlin", "Amsden",
|
||||||
|
"Amsterdam", "Andover", "Anna", "Ansonia", "Antwerp", "Apple Creek", "Arcadia",
|
||||||
|
"Arcanum", "Archbold", "Arlington", "Ashland", "Ashley", "Ashtabula", "Ashville",
|
||||||
|
"Athens", "Attica", "Atwater", "Augusta", "Aurora", "Austinburg", "Ava", "Avon",
|
||||||
|
"Avon Lake", "Bainbridge", "Bakersville", "Baltic", "Baltimore", "Bannock",
|
||||||
|
"Barberton", "Barlow", "Barnesville", "Bartlett", "Barton", "Bascom", "Batavia",
|
||||||
|
"Bath", "Bay Village", "Beach City", "Beachwood", "Beallsville", "Beaver",
|
||||||
|
"Beaverdam", "Bedford", "Bellaire", "Bellbrook", "Belle Center", "Belle Valley",
|
||||||
|
"Bellefontaine", "Bellevue", "Bellville", "Belmont", "Belmore", "Beloit", "Belpre",
|
||||||
|
"Benton Ridge", "Bentonville", "Berea", "Bergholz", "Berkey", "Berlin",
|
||||||
|
"Berlin Center", "Berlin Heights", "Bethel", "Bethesda", "Bettsville", "Beverly",
|
||||||
|
"Bidwell", "Big Prairie", "Birmingham", "Blacklick", "Bladensburg", "Blaine",
|
||||||
|
"Blakeslee", "Blanchester", "Blissfield", "Bloomdale", "Bloomingburg",
|
||||||
|
"Bloomingdale", "Bloomville", "Blue Creek", "Blue Rock", "Bluffton",
|
||||||
|
"Bolivar", "Botkins", "Bourneville", "Bowerston", "Bowersville",
|
||||||
|
"Bowling Green", "Bradford", "Bradner", "Brady Lake", "Brecksville",
|
||||||
|
"Bremen", "Brewster", "Brice", "Bridgeport", "Brilliant", "Brinkhaven",
|
||||||
|
"Bristolville", "Broadview Heights", "Broadway", "Brookfield", "Brookpark",
|
||||||
|
"Brookville", "Brownsville", "Brunswick", "Bryan", "Buchtel", "Buckeye Lake",
|
||||||
|
"Buckland", "Bucyrus", "Buffalo", "Buford", "Burbank", "Burghill", "Burgoon",
|
||||||
|
"Burkettsville", "Burton", "Butler", "Byesville", "Cable", "Cadiz", "Cairo",
|
||||||
|
"Caldwell", "Caledonia", "Cambridge", "Camden", "Cameron", "Camp Dennison",
|
||||||
|
"Campbell", "Canal Fulton", "Canal Winchester", "Canfield", "Canton", "Carbon Hill",
|
||||||
|
"Carbondale", "Cardington", "Carey", "Carroll", "Carrollton", "Casstown",
|
||||||
|
"Castalia", "Catawba", "Cecil", "Cedarville", "Celina", "Centerburg",
|
||||||
|
"Chagrin Falls", "Chandlersville", "Chardon", "Charm", "Chatfield", "Chauncey",
|
||||||
|
"Cherry Fork", "Chesapeake", "Cheshire", "Chester", "Chesterhill", "Chesterland",
|
||||||
|
"Chesterville", "Chickasaw", "Chillicothe", "Chilo", "Chippewa Lake",
|
||||||
|
"Christiansburg", "Cincinnati", "Circleville", "Clarington", "Clarksburg",
|
||||||
|
"Clarksville", "Clay Center", "Clayton", "Cleveland", "Cleves", "Clifton",
|
||||||
|
"Clinton", "Cloverdale", "Clyde", "Coal Run", "Coalton", "Coldwater", "Colerain",
|
||||||
|
"College Corner", "Collins", "Collinsville", "Colton", "Columbia Station",
|
||||||
|
"Columbiana", "Columbus", "Columbus Grove", "Commercial Point", "Conesville",
|
||||||
|
"Conneaut", "Conover", "Continental", "Convoy", "Coolville", "Corning", "Cortland",
|
||||||
|
"Coshocton", "Covington", "Creola", "Crestline", "Creston", "Crooksville",
|
||||||
|
"Croton", "Crown City", "Cuba", "Cumberland", "Curtice", "Custar", "Cutler",
|
||||||
|
"Cuyahoga Falls", "Cygnet", "Cynthiana", "Dalton", "Damascus", "Danville",
|
||||||
|
"Dayton", "De Graff", "Decatur", "Deerfield", "Deersville", "Defiance",
|
||||||
|
"Delaware", "Dellroy", "Delphos", "Delta", "Dennison", "Derby", "Derwent",
|
||||||
|
"Deshler", "Dexter City", "Diamond", "Dillonvale", "Dola", "Donnelsville",
|
||||||
|
"Dorset", "Dover", "Doylestown", "Dresden", "Dublin", "Dunbridge", "Duncan Falls",
|
||||||
|
"Dundee", "Dunkirk", "Dupont", "East Claridon", "East Fultonham",
|
||||||
|
"East Liberty", "East Liverpool", "East Palestine", "East Rochester",
|
||||||
|
"East Sparta", "East Springfield", "Eastlake", "Eaton", "Edgerton", "Edison",
|
||||||
|
"Edon", "Eldorado", "Elgin", "Elkton", "Ellsworth", "Elmore", "Elyria",
|
||||||
|
"Empire", "Englewood", "Enon", "Etna", "Euclid", "Evansport", "Fairborn",
|
||||||
|
"Fairfield", "Fairpoint", "Fairview", "Farmdale", "Farmer", "Farmersville",
|
||||||
|
"Fayette", "Fayetteville", "Feesburg", "Felicity", "Findlay", "Flat Rock",
|
||||||
|
"Fleming", "Fletcher", "Flushing", "Forest", "Fort Jennings", "Fort Loramie",
|
||||||
|
"Fort Recovery", "Fostoria", "Fowler", "Frankfort", "Franklin",
|
||||||
|
"Franklin Furnace", "Frazeysburg", "Fredericksburg", "Fredericktown",
|
||||||
|
"Freeport", "Fremont", "Fresno", "Friendship", "Fulton", "Fultonham",
|
||||||
|
"Galena", "Galion", "Gallipolis", "Galloway", "Gambier", "Garrettsville",
|
||||||
|
"Gates Mills", "Geneva", "Genoa", "Georgetown", "Germantown", "Gettysburg",
|
||||||
|
"Gibsonburg", "Girard", "Glandorf", "Glencoe", "Glenford", "Glenmont",
|
||||||
|
"Glouster", "Gnadenhutten", "Gomer", "Goshen", "Grafton", "Grand Rapids",
|
||||||
|
"Grand River", "Granville", "Gratiot", "Gratis", "Graysville", "Graytown",
|
||||||
|
"Green", "Green Camp", "Green Springs", "Greenfield", "Greenford",
|
||||||
|
"Greentown", "Greenville", "Greenwich", "Grelton", "Grove City",
|
||||||
|
"Groveport", "Grover Hill", "Guysville", "Gypsum", "Hallsville",
|
||||||
|
"Hamden", "Hamersville", "Hamilton", "Hamler", "Hammondsville",
|
||||||
|
"Hannibal", "Hanoverton", "Harbor View", "Harlem Springs", "Harpster",
|
||||||
|
"Harrisburg", "Harrison", "Harrisville", "Harrod", "Hartford", "Hartville",
|
||||||
|
"Harveysburg", "Haskins", "Haverhill", "Haviland", "Haydenville", "Hayesville",
|
||||||
|
"Heath", "Hebron", "Helena", "Hicksville", "Higginsport", "Highland", "Hilliard",
|
||||||
|
"Hillsboro", "Hinckley", "Hiram", "Hockingport", "Holgate", "Holland",
|
||||||
|
"Hollansburg", "Holloway", "Holmesville", "Homer", "Homerville", "Homeworth",
|
||||||
|
"Hooven", "Hopedale", "Hopewell", "Houston", "Howard", "Hoytville", "Hubbard",
|
||||||
|
"Hudson", "Huntsburg", "Huntsville", "Huron", "Iberia", "Independence",
|
||||||
|
"Irondale", "Ironton", "Irwin", "Isle Saint George", "Jackson", "Jackson Center",
|
||||||
|
"Jacksontown", "Jacksonville", "Jacobsburg", "Jamestown", "Jasper",
|
||||||
|
"Jefferson", "Jeffersonville", "Jenera", "Jeromesville", "Jerry City",
|
||||||
|
"Jerusalem", "Jewell", "Jewett", "Johnstown", "Junction City", "Kalida",
|
||||||
|
"Kansas", "Keene", "Kelleys Island", "Kensington", "Kent", "Kenton",
|
||||||
|
"Kerr", "Kettlersville", "Kidron", "Kilbourne", "Killbuck", "Kimbolton",
|
||||||
|
"Kings Mills", "Kingston", "Kingsville", "Kinsman", "Kipling", "Kipton",
|
||||||
|
"Kirby", "Kirkersville", "Kitts Hill", "Kunkle", "La Rue", "Lacarne",
|
||||||
|
"Lafayette", "Lafferty", "Lagrange", "Laings", "Lake Milton", "Lakemore",
|
||||||
|
"Lakeside Marblehead", "Lakeview", "Lakeville", "Lakewood", "Lancaster",
|
||||||
|
"Langsville", "Lansing", "Latham", "Latty", "Laura", "Laurelville",
|
||||||
|
"Leavittsburg", "Lebanon", "Lees Creek", "Leesburg", "Leesville",
|
||||||
|
"Leetonia", "Leipsic", "Lemoyne", "Lewis Center", "Lewisburg",
|
||||||
|
"Lewistown", "Lewisville", "Liberty Center", "Lima", "Limaville",
|
||||||
|
"Lindsey", "Lisbon", "Litchfield", "Lithopolis", "Little Hocking",
|
||||||
|
"Lockbourne", "Lodi", "Logan", "London", "Londonderry",
|
||||||
|
"Long Bottom", "Lorain", "Lore City", "Loudonville", "Louisville",
|
||||||
|
"Loveland", "Lowell", "Lowellville", "Lower Salem", "Lucas",
|
||||||
|
"Lucasville", "Luckey", "Ludlow Falls", "Lynchburg", "Lynx",
|
||||||
|
"Lyons", "Macedonia", "Macksburg", "Madison", "Magnetic Springs",
|
||||||
|
"Magnolia", "Maineville", "Malaga", "Malinta", "Malta", "Malvern",
|
||||||
|
"Manchester", "Mansfield", "Mantua", "Maple Heights", "Maplewood",
|
||||||
|
"Marathon", "Marengo", "Maria Stein", "Marietta", "Marion",
|
||||||
|
"Mark Center", "Marshallville", "Martel", "Martin", "Martins Ferry",
|
||||||
|
"Martinsburg", "Martinsville", "Marysville", "Mason", "Massillon",
|
||||||
|
"Masury", "Maumee", "Maximo", "Maynard", "Mc Arthur", "Mc Clure",
|
||||||
|
"Mc Comb", "Mc Connelsville", "Mc Cutchenville", "Mc Dermott",
|
||||||
|
"Mc Donald", "Mc Guffey", "Mechanicsburg", "Mechanicstown",
|
||||||
|
"Medina", "Medway", "Melmore", "Melrose", "Mendon", "Mentor",
|
||||||
|
"Mesopotamia", "Metamora", "Miamisburg", "Miamitown", "Miamiville",
|
||||||
|
"Middle Bass", "Middle Point", "Middlebranch", "Middleburg",
|
||||||
|
"Middlefield", "Middleport", "Middletown", "Midland", "Midvale",
|
||||||
|
"Milan", "Milford", "Milford Center", "Millbury", "Milledgeville",
|
||||||
|
"Miller City", "Millersburg", "Millersport", "Millfield",
|
||||||
|
"Milton Center", "Mineral City", "Mineral Ridge", "Minerva",
|
||||||
|
"Minford", "Mingo", "Mingo Junction", "Minster", "Mogadore",
|
||||||
|
"Monclova", "Monroe", "Monroeville", "Montezuma", "Montpelier",
|
||||||
|
"Montville", "Morral", "Morristown", "Morrow", "Moscow",
|
||||||
|
"Mount Blanchard", "Mount Cory", "Mount Eaton", "Mount Gilead",
|
||||||
|
"Mount Hope", "Mount Liberty", "Mount Orab", "Mount Perry",
|
||||||
|
"Mount Pleasant", "Mount Saint Joseph", "Mount Sterling",
|
||||||
|
"Mount Vernon", "Mount Victory", "Mowrystown", "Moxahala",
|
||||||
|
"Munroe Falls", "Murray City", "Nankin", "Napoleon", "Nashport",
|
||||||
|
"Nashville", "Navarre", "Neapolis", "Neffs", "Negley",
|
||||||
|
"Nelsonville", "Nevada", "Neville", "New Albany", "New Athens",
|
||||||
|
"New Bavaria", "New Bloomington", "New Bremen", "New Carlisle",
|
||||||
|
"New Concord", "New Hampshire", "New Haven", "New Holland",
|
||||||
|
"New Knoxville", "New Lebanon", "New Lexington", "New London",
|
||||||
|
"New Madison", "New Marshfield", "New Matamoras", "New Middletown",
|
||||||
|
"New Paris", "New Philadelphia", "New Plymouth", "New Richmond",
|
||||||
|
"New Riegel", "New Rumley", "New Springfield", "New Straitsville",
|
||||||
|
"New Vienna", "New Washington", "New Waterford", "New Weston",
|
||||||
|
"Newark", "Newbury", "Newcomerstown", "Newport", "Newton Falls",
|
||||||
|
"Newtonsville", "Ney", "Niles", "North Baltimore", "North Bend",
|
||||||
|
"North Benton", "North Bloomfield", "North Fairfield",
|
||||||
|
"North Georgetown", "North Hampton", "North Jackson",
|
||||||
|
"North Kingsville", "North Lawrence", "North Lewisburg",
|
||||||
|
"North Lima", "North Olmsted", "North Ridgeville", "North Robinson",
|
||||||
|
"North Royalton", "North Star", "Northfield", "Northwood", "Norwalk",
|
||||||
|
"Norwich", "Nova", "Novelty", "Oak Harbor", "Oak Hill", "Oakwood",
|
||||||
|
"Oberlin", "Oceola", "Ohio City", "Okeana", "Okolona", "Old Fort",
|
||||||
|
"Old Washington", "Olmsted Falls", "Ontario", "Orangeville",
|
||||||
|
"Oregon", "Oregonia", "Orient", "Orrville", "Orwell", "Osgood",
|
||||||
|
"Ostrander", "Ottawa", "Ottoville", "Otway", "Overpeck",
|
||||||
|
"Owensville", "Oxford", "Painesville", "Palestine", "Pandora",
|
||||||
|
"Paris", "Parkman", "Pataskala", "Patriot", "Paulding", "Payne",
|
||||||
|
"Pedro", "Peebles", "Pemberton", "Pemberville", "Peninsula",
|
||||||
|
"Perry", "Perrysburg", "Perrysville", "Petersburg", "Pettisville",
|
||||||
|
"Phillipsburg", "Philo", "Pickerington", "Piedmont", "Pierpont",
|
||||||
|
"Piketon", "Piney Fork", "Pioneer", "Piqua", "Pitsburg",
|
||||||
|
"Plain City", "Plainfield", "Pleasant City", "Pleasant Hill",
|
||||||
|
"Pleasant Plain", "Pleasantville", "Plymouth", "Polk",
|
||||||
|
"Pomeroy", "Port Clinton", "Port Jefferson", "Port Washington",
|
||||||
|
"Port William", "Portage", "Portland", "Portsmouth", "Potsdam",
|
||||||
|
"Powell", "Powhatan Point", "Proctorville", "Prospect", "Put in Bay",
|
||||||
|
"Quaker City", "Quincy", "Racine", "Radnor", "Randolph", "Rarden",
|
||||||
|
"Ravenna", "Rawson", "Ray", "Rayland", "Raymond", "Reedsville",
|
||||||
|
"Reesville", "Reno", "Republic", "Reynoldsburg", "Richfield",
|
||||||
|
"Richmond", "Richmond Dale", "Richwood", "Ridgeville Corners",
|
||||||
|
"Ridgeway", "Rio Grande", "Ripley", "Risingsun", "Rittman",
|
||||||
|
"Robertsville", "Rock Camp", "Rock Creek", "Rockbridge", "Rockford",
|
||||||
|
"Rocky Ridge", "Rocky River", "Rogers", "Rome", "Rootstown", "Roseville",
|
||||||
|
"Rosewood", "Ross", "Rossburg", "Rossford", "Roundhead", "Rudolph",
|
||||||
|
"Rushsylvania", "Rushville", "Russells Point", "Russellville", "Russia",
|
||||||
|
"Rutland", "Sabina", "Saint Clairsville", "Saint Henry", "Saint Johns",
|
||||||
|
"Saint Louisville", "Saint Marys", "Saint Paris", "Salem", "Salesville",
|
||||||
|
"Salineville", "Sandusky", "Sandyville", "Sarahsville", "Sardinia",
|
||||||
|
"Sardis", "Savannah", "Scio", "Scioto Furnace", "Scott", "Scottown",
|
||||||
|
"Seaman", "Sebring", "Sedalia", "Senecaville", "Seven Mile", "Seville",
|
||||||
|
"Shade", "Shadyside", "Shandon", "Sharon Center", "Sharpsburg",
|
||||||
|
"Shauck", "Shawnee", "Sheffield Lake", "Shelby", "Sherrodsville",
|
||||||
|
"Sherwood", "Shiloh", "Short Creek", "Shreve", "Sidney", "Sinking Spring",
|
||||||
|
"Smithfield", "Smithville", "Solon", "Somerdale", "Somerset",
|
||||||
|
"Somerville", "South Bloomingville", "South Charleston", "South Lebanon",
|
||||||
|
"South Point", "South Salem", "South Solon", "South Vienna",
|
||||||
|
"South Webster", "Southington", "Sparta", "Spencer", "Spencerville",
|
||||||
|
"Spring Valley", "Springboro", "Springfield", "Stafford", "Sterling",
|
||||||
|
"Steubenville", "Stewart", "Stillwater", "Stockdale", "Stockport",
|
||||||
|
"Stone Creek", "Stony Ridge", "Stout", "Stoutsville", "Stow", "Strasburg",
|
||||||
|
"Stratton", "Streetsboro", "Strongsville", "Struthers", "Stryker",
|
||||||
|
"Sugar Grove", "Sugarcreek", "Sullivan", "Sulphur Springs", "Summerfield",
|
||||||
|
"Summit Station", "Summitville", "Sunbury", "Swanton", "Sycamore",
|
||||||
|
"Sycamore Valley", "Sylvania", "Syracuse", "Tallmadge", "Tarlton",
|
||||||
|
"Terrace Park", "The Plains", "Thompson", "Thornville", "Thurman",
|
||||||
|
"Thurston", "Tiffin", "Tiltonsville", "Tipp City", "Tippecanoe", "Tiro",
|
||||||
|
"Toledo", "Tontogany", "Torch", "Toronto", "Tremont City", "Trenton",
|
||||||
|
"Trimble", "Trinway", "Troy", "Tuppers Plains", "Tuscarawas", "Twinsburg",
|
||||||
|
"Uhrichsville", "Union City", "Union Furnace", "Unionport", "Uniontown",
|
||||||
|
"Unionville", "Unionville Center", "Uniopolis", "Upper Sandusky", "Urbana",
|
||||||
|
"Utica", "Valley City", "Van Buren", "Van Wert", "Vandalia", "Vanlue",
|
||||||
|
"Vaughnsville", "Venedocia", "Vermilion", "Verona", "Versailles",
|
||||||
|
"Vickery", "Vienna", "Vincent", "Vinton", "Wadsworth", "Wakefield",
|
||||||
|
"Wakeman", "Walbridge", "Waldo", "Walhonding", "Walnut Creek", "Wapakoneta",
|
||||||
|
"Warnock", "Warren", "Warsaw", "Washington Court House",
|
||||||
|
"Washingtonville", "Waterford", "Waterloo", "Watertown", "Waterville",
|
||||||
|
"Wauseon", "Waverly", "Wayland", "Wayne", "Waynesburg", "Waynesfield",
|
||||||
|
"Waynesville", "Wellington", "Wellston", "Wellsville", "West Alexandria",
|
||||||
|
"West Chester", "West Elkton", "West Farmington", "West Jefferson",
|
||||||
|
"West Lafayette", "West Liberty", "West Manchester", "West Mansfield",
|
||||||
|
"West Millgrove", "West Milton", "West Point", "West Portsmouth",
|
||||||
|
"West Rushville", "West Salem", "West Union", "West Unity", "Westerville",
|
||||||
|
"Westfield Center", "Westlake", "Weston", "Westville", "Wharton",
|
||||||
|
"Wheelersburg", "Whipple", "White Cottage", "Whitehouse", "Wickliffe",
|
||||||
|
"Wilberforce", "Wilkesville", "Willard", "Williamsburg", "Williamsfield",
|
||||||
|
"Williamsport", "Williamstown", "Williston", "Willoughby", "Willow Wood",
|
||||||
|
"Willshire", "Wilmington", "Wilmot", "Winchester", "Windham", "Windsor",
|
||||||
|
"Winesburg", "Wingett Run", "Winona", "Wolf Run", "Woodsfield",
|
||||||
|
"Woodstock", "Woodville", "Wooster", "Wren", "Xenia", "Yellow Springs",
|
||||||
|
"Yorkshire", "Yorkville", "Youngstown", "Zaleski", "Zanesfield", "Zanesville",
|
||||||
|
"Zoar"
|
||||||
|
];
|
53
tests/visual/autocomplete/main.css
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0}
|
||||||
|
table{border-collapse:collapse;border-spacing:0}
|
||||||
|
fieldset,img{border:0}
|
||||||
|
address,caption,cite,code,dfn,th,var{font-style:normal;font-weight:normal}
|
||||||
|
ol,ul{list-style:none}
|
||||||
|
caption,th{text-align:left}
|
||||||
|
h1,h2,h3,h4,h5,h6{font-size:100%;font-style:normal;font-weight:normal}
|
||||||
|
q:before,q:after{content:''}
|
||||||
|
body{font:13px arial,helvetica,clean,sans-serif;font-size:small;}
|
||||||
|
select,input,textarea{font:99% arial,helvetica,clean,sans-serif}
|
||||||
|
pre,code{font:115% monospace;font-size:100%}
|
||||||
|
body * {line-height:1.22em}
|
||||||
|
body {
|
||||||
|
color: #202020;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #fff;
|
||||||
|
background: #06b;
|
||||||
|
padding: 10px;
|
||||||
|
font-size: 200%;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #000;
|
||||||
|
font-size: 150%;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3 {
|
||||||
|
color: #000;
|
||||||
|
font-size: 120%;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: disc inside;
|
||||||
|
margin-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
float: left;
|
||||||
|
width: 12em;
|
||||||
|
}
|
||||||
|
input[type=text] { width: 15em; }
|
||||||
|
|
||||||
|
#banner { padding: 15px; background-color: #06b; color: white; font-size: large; border-bottom: 1px solid #ccc;
|
||||||
|
background: url(bg.gif) repeat-x; text-align: center }
|
||||||
|
#banner a { color: white; }
|