kiteditor 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +25 -0
- data/app/controllers/mercury/images_controller.rb +5 -0
- data/app/controllers/mercury_controller.rb +34 -0
- data/app/models/mercury/image.rb +17 -0
- data/app/views/layouts/mercury.html.erb +33 -0
- data/app/views/layouts/popup.html.haml +9 -0
- data/app/views/mercury/images/_list.html.haml +22 -0
- data/app/views/mercury/images/index.html.haml +4 -0
- data/app/views/mercury/images/index.js.erb +2 -0
- data/app/views/mercury/lightviews/about.html +11 -0
- data/app/views/mercury/modals/character.html +255 -0
- data/app/views/mercury/modals/htmleditor.html +13 -0
- data/app/views/mercury/modals/link.html +94 -0
- data/app/views/mercury/modals/media.html +1 -0
- data/app/views/mercury/modals/table.html +84 -0
- data/app/views/mercury/palettes/backcolor.html +73 -0
- data/app/views/mercury/palettes/forecolor.html +73 -0
- data/app/views/mercury/panels/history.html +3 -0
- data/app/views/mercury/panels/notes.html +3 -0
- data/app/views/mercury/panels/snippets.html +12 -0
- data/app/views/mercury/selects/formatblock.html +11 -0
- data/app/views/mercury/selects/style.html +5 -0
- data/app/views/mercury/snippets/example/options.html.erb +34 -0
- data/app/views/mercury/snippets/example/preview.html.erb +1 -0
- data/config/engine.rb +44 -0
- data/db/migrate/20110526035601_create_mercury_images.rb +11 -0
- data/features/loading/loading.feature +22 -0
- data/features/loading/navigating.feature +77 -0
- data/features/loading/user_interface.feature +67 -0
- data/features/regions/editable/advanced_editing.feature +0 -0
- data/features/regions/editable/basic_editing.feature +195 -0
- data/features/regions/editable/inserting_links.feature +98 -0
- data/features/regions/editable/inserting_media.feature +110 -0
- data/features/regions/editable/inserting_snippets.feature +102 -0
- data/features/regions/editable/inserting_special_characters.feature +24 -0
- data/features/regions/editable/inserting_tables.feature +109 -0
- data/features/regions/editable/pasting.feature +0 -0
- data/features/regions/editable/uploading_images.feature +0 -0
- data/features/regions/markupable/advanced_editing.feature +0 -0
- data/features/regions/markupable/basic_editing.feature +0 -0
- data/features/regions/markupable/inserting_links.feature +0 -0
- data/features/regions/markupable/inserting_media.feature +0 -0
- data/features/regions/markupable/inserting_snippets.feature +0 -0
- data/features/regions/markupable/inserting_special_characters.feature +0 -0
- data/features/regions/markupable/inserting_tables.feature +0 -0
- data/features/regions/markupable/uploading_images.feature +0 -0
- data/features/regions/snippetable/advanced_editing.feature +0 -0
- data/features/regions/snippetable/basic_editing.feature +0 -0
- data/features/regions/snippetable/inserting_snippets.feature +0 -0
- data/features/saving/saving.feature +33 -0
- data/features/step_definitions/debug_steps.rb +14 -0
- data/features/step_definitions/mercury_steps.rb +438 -0
- data/features/step_definitions/web_steps.rb +211 -0
- data/features/support/env.rb +46 -0
- data/features/support/mercury_contents.rb +25 -0
- data/features/support/mercury_selectors.rb +148 -0
- data/features/support/paths.rb +38 -0
- data/features/support/selectors.rb +44 -0
- data/lib/generators/mercury/install/install_generator.rb +49 -0
- data/lib/generators/mercury/install/templates/mongoid_paperclip_image.rb +17 -0
- data/lib/mercury/authentication.rb +8 -0
- data/lib/mercury-rails.rb +3 -0
- data/spec/javascripts/mercury/dialog_spec.js.coffee +281 -0
- data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +37 -0
- data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +37 -0
- data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +25 -0
- data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +30 -0
- data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +25 -0
- data/spec/javascripts/mercury/history_buffer_spec.js.coffee +76 -0
- data/spec/javascripts/mercury/lightview_spec.js.coffee +497 -0
- data/spec/javascripts/mercury/mercury_spec.js.coffee +132 -0
- data/spec/javascripts/mercury/modal_spec.js.coffee +504 -0
- data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +30 -0
- data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +29 -0
- data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +220 -0
- data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +167 -0
- data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +52 -0
- data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +160 -0
- data/spec/javascripts/mercury/native_extensions_spec.js.coffee +60 -0
- data/spec/javascripts/mercury/page_editor_spec.js.coffee +750 -0
- data/spec/javascripts/mercury/palette_spec.js.coffee +49 -0
- data/spec/javascripts/mercury/panel_spec.js.coffee +185 -0
- data/spec/javascripts/mercury/region_spec.js.coffee +298 -0
- data/spec/javascripts/mercury/regions/editable_spec.js.coffee +561 -0
- data/spec/javascripts/mercury/regions/markupable_spec.js.coffee +367 -0
- data/spec/javascripts/mercury/regions/snippetable_spec.js.coffee +370 -0
- data/spec/javascripts/mercury/select_spec.js.coffee +49 -0
- data/spec/javascripts/mercury/snippet_spec.js.coffee +245 -0
- data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +184 -0
- data/spec/javascripts/mercury/statusbar_spec.js.coffee +150 -0
- data/spec/javascripts/mercury/table_editor_spec.js.coffee +194 -0
- data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +90 -0
- data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +360 -0
- data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +118 -0
- data/spec/javascripts/mercury/toolbar_spec.js.coffee +222 -0
- data/spec/javascripts/mercury/tooltip_spec.js.coffee +186 -0
- data/spec/javascripts/mercury/uploader_spec.js.coffee +514 -0
- data/spec/javascripts/spec_helper.js +513 -0
- data/spec/javascripts/templates/mercury/dialog.html +2 -0
- data/spec/javascripts/templates/mercury/dialogs/backcolor.html +5 -0
- data/spec/javascripts/templates/mercury/dialogs/forecolor.html +5 -0
- data/spec/javascripts/templates/mercury/dialogs/formatblock.html +3 -0
- data/spec/javascripts/templates/mercury/dialogs/snippetpanel.html +16 -0
- data/spec/javascripts/templates/mercury/dialogs/style.html +3 -0
- data/spec/javascripts/templates/mercury/lightview.html +13 -0
- data/spec/javascripts/templates/mercury/modal.html +13 -0
- data/spec/javascripts/templates/mercury/modals/htmleditor.html +5 -0
- data/spec/javascripts/templates/mercury/modals/insertcharacter.html +5 -0
- data/spec/javascripts/templates/mercury/modals/insertlink.html +30 -0
- data/spec/javascripts/templates/mercury/modals/insertmedia.html +35 -0
- data/spec/javascripts/templates/mercury/modals/insertsnippet.html +6 -0
- data/spec/javascripts/templates/mercury/modals/inserttable.html +27 -0
- data/spec/javascripts/templates/mercury/page_editor.html +35 -0
- data/spec/javascripts/templates/mercury/palette.html +16 -0
- data/spec/javascripts/templates/mercury/panel.html +16 -0
- data/spec/javascripts/templates/mercury/region.html +2 -0
- data/spec/javascripts/templates/mercury/regions/editable.html +3 -0
- data/spec/javascripts/templates/mercury/regions/snippetable.html +4 -0
- data/spec/javascripts/templates/mercury/select.html +16 -0
- data/spec/javascripts/templates/mercury/snippet.html +1 -0
- data/spec/javascripts/templates/mercury/snippet_toolbar.html +16 -0
- data/spec/javascripts/templates/mercury/statusbar.html +8 -0
- data/spec/javascripts/templates/mercury/table_editor.html +65 -0
- data/spec/javascripts/templates/mercury/toolbar.button.html +64 -0
- data/spec/javascripts/templates/mercury/toolbar.button_group.html +9 -0
- data/spec/javascripts/templates/mercury/toolbar.expander.html +18 -0
- data/spec/javascripts/templates/mercury/toolbar.html +11 -0
- data/spec/javascripts/templates/mercury/tooltip.html +12 -0
- data/spec/javascripts/templates/mercury/uploader.html +11 -0
- data/vendor/assets/images/mercury/button.png +0 -0
- data/vendor/assets/images/mercury/close.png +0 -0
- data/vendor/assets/images/mercury/default-snippet.png +0 -0
- data/vendor/assets/images/mercury/loading-dark.gif +0 -0
- data/vendor/assets/images/mercury/loading-light.gif +0 -0
- data/vendor/assets/images/mercury/missing-image.png +0 -0
- data/vendor/assets/images/mercury/search-icon.png +0 -0
- data/vendor/assets/images/mercury/temp-logo.png +0 -0
- data/vendor/assets/images/mercury/toolbar/editable/buttons.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/_expander.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/preview.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/redo.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/save.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/snippetpanel.png +0 -0
- data/vendor/assets/images/mercury/toolbar/primary/undo.png +0 -0
- data/vendor/assets/images/mercury/toolbar/snippetable/buttons.png +0 -0
- data/vendor/assets/javascripts/mercury/dependencies/jquery-1.7.js +9300 -0
- data/vendor/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js +1328 -0
- data/vendor/assets/javascripts/mercury/dependencies/jquery-ui-1.8.18.custom.min.js +356 -0
- data/vendor/assets/javascripts/mercury/dependencies/jquery-ui.1.8.13.custom.min.js +356 -0
- data/vendor/assets/javascripts/mercury/dependencies/jquery.additions.js +206 -0
- data/vendor/assets/javascripts/mercury/dependencies/jquery.htmlClean.js +527 -0
- data/vendor/assets/javascripts/mercury/dependencies/liquidmetal.js +88 -0
- data/vendor/assets/javascripts/mercury/dependencies/showdown.js +1340 -0
- data/vendor/assets/javascripts/mercury/dialog.js.coffee +159 -0
- data/vendor/assets/javascripts/mercury/dialogs/backcolor.js.coffee +6 -0
- data/vendor/assets/javascripts/mercury/dialogs/forecolor.js.coffee +6 -0
- data/vendor/assets/javascripts/mercury/dialogs/formatblock.js.coffee +4 -0
- data/vendor/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee +10 -0
- data/vendor/assets/javascripts/mercury/dialogs/style.js.coffee +4 -0
- data/vendor/assets/javascripts/mercury/finalize.js.coffee +3 -0
- data/vendor/assets/javascripts/mercury/history_buffer.js.coffee +30 -0
- data/vendor/assets/javascripts/mercury/lightview.js.coffee +205 -0
- data/vendor/assets/javascripts/mercury/locales/da.locale.js.coffee +0 -0
- data/vendor/assets/javascripts/mercury/locales/de.locale.js.coffee +206 -0
- data/vendor/assets/javascripts/mercury/locales/es.locale.js.coffee +211 -0
- data/vendor/assets/javascripts/mercury/locales/example.local.js.coffee +211 -0
- data/vendor/assets/javascripts/mercury/locales/fr.locale.js.coffee +211 -0
- data/vendor/assets/javascripts/mercury/locales/it.locale.js.coffee +208 -0
- data/vendor/assets/javascripts/mercury/locales/ko.local.js.coffee +206 -0
- data/vendor/assets/javascripts/mercury/locales/nl.locale.js.coffee +206 -0
- data/vendor/assets/javascripts/mercury/locales/pt.locale.js.coffee +211 -0
- data/vendor/assets/javascripts/mercury/locales/sv.local.js.coffee +209 -0
- data/vendor/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +213 -0
- data/vendor/assets/javascripts/mercury/mercury.js.coffee +109 -0
- data/vendor/assets/javascripts/mercury/modal.js.coffee +204 -0
- data/vendor/assets/javascripts/mercury/modals/htmleditor.js.coffee +11 -0
- data/vendor/assets/javascripts/mercury/modals/insertcharacter.js.coffee +4 -0
- data/vendor/assets/javascripts/mercury/modals/insertlink.js.coffee +95 -0
- data/vendor/assets/javascripts/mercury/modals/insertmedia.js.coffee +107 -0
- data/vendor/assets/javascripts/mercury/modals/insertsnippet.js.coffee +12 -0
- data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +54 -0
- data/vendor/assets/javascripts/mercury/native_extensions.js.coffee +55 -0
- data/vendor/assets/javascripts/mercury/page_editor.js.coffee +241 -0
- data/vendor/assets/javascripts/mercury/palette.js.coffee +29 -0
- data/vendor/assets/javascripts/mercury/panel.js.coffee +115 -0
- data/vendor/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +28 -0
- data/vendor/assets/javascripts/mercury/plugins/save_as_xml/plugin.js +9 -0
- data/vendor/assets/javascripts/mercury/region.js.coffee +107 -0
- data/vendor/assets/javascripts/mercury/regions/editable.js.coffee +600 -0
- data/vendor/assets/javascripts/mercury/regions/markupable.js.coffee +398 -0
- data/vendor/assets/javascripts/mercury/regions/simple.js.coffee +339 -0
- data/vendor/assets/javascripts/mercury/regions/snippetable.js.coffee +124 -0
- data/vendor/assets/javascripts/mercury/select.js.coffee +44 -0
- data/vendor/assets/javascripts/mercury/snippet.js.coffee +104 -0
- data/vendor/assets/javascripts/mercury/snippet_toolbar.js.coffee +72 -0
- data/vendor/assets/javascripts/mercury/statusbar.js.coffee +51 -0
- data/vendor/assets/javascripts/mercury/support/history.js +1 -0
- data/vendor/assets/javascripts/mercury/table_editor.js.coffee +265 -0
- data/vendor/assets/javascripts/mercury/toolbar.button.js.coffee +173 -0
- data/vendor/assets/javascripts/mercury/toolbar.button_group.js.coffee +42 -0
- data/vendor/assets/javascripts/mercury/toolbar.expander.js.coffee +56 -0
- data/vendor/assets/javascripts/mercury/toolbar.js.coffee +86 -0
- data/vendor/assets/javascripts/mercury/tooltip.js.coffee +74 -0
- data/vendor/assets/javascripts/mercury/uploader.js.coffee +227 -0
- data/vendor/assets/javascripts/mercury.js +479 -0
- data/vendor/assets/javascripts/mercury_loader.js +193 -0
- data/vendor/assets/javascripts/mercury_overrides.js +6 -0
- data/vendor/assets/javascripts/popup.js +8 -0
- data/vendor/assets/stylesheets/mercury/all_images.css.erb +89 -0
- data/vendor/assets/stylesheets/mercury/dialog.css +208 -0
- data/vendor/assets/stylesheets/mercury/lightview.css +151 -0
- data/vendor/assets/stylesheets/mercury/mercury.css +151 -0
- data/vendor/assets/stylesheets/mercury/modal.css +183 -0
- data/vendor/assets/stylesheets/mercury/statusbar.css +32 -0
- data/vendor/assets/stylesheets/mercury/toolbar.css +304 -0
- data/vendor/assets/stylesheets/mercury/tooltip.css +26 -0
- data/vendor/assets/stylesheets/mercury/uploader.css +111 -0
- data/vendor/assets/stylesheets/mercury.css +28 -0
- data/vendor/assets/stylesheets/mercury_overrides.css +17 -0
- data/vendor/assets/stylesheets/popup.css.erb +37 -0
- metadata +634 -0
@@ -0,0 +1,27 @@
|
|
1
|
+
<form>
|
2
|
+
<div id="table_display">
|
3
|
+
<table id="table" border="1" cellspacing="0"><tr><td id="cell1"></td></tr><tr><td id="cell2"></td></tr></table>
|
4
|
+
</div>
|
5
|
+
|
6
|
+
<input class="action" name="insertRowBefore" type="button" value="Add Before">
|
7
|
+
<input class="action" name="insertRowAfter" type="button" value="Add After">
|
8
|
+
<input class="action" name="deleteRow" type="button" value="Remove">
|
9
|
+
<input class="action" name="insertColumnBefore" type="button" value="Add Before">
|
10
|
+
<input class="action" name="insertColumnAfter" type="button" value="Add After">
|
11
|
+
<input class="action" name="deleteColumn" type="button" value="Remove">
|
12
|
+
<input class="action" name="increaseRowspan" type="button" value="+">
|
13
|
+
<input class="action" name="decreaseRowspan" type="button" value="-">
|
14
|
+
<input class="action" name="increaseColspan" type="button" value="+">
|
15
|
+
<input class="action" name="decreaseColspan" type="button" value="-">
|
16
|
+
|
17
|
+
<select id="table_alignment" name="table[alignment]">
|
18
|
+
<option value="">None</option>
|
19
|
+
<option value="left">Left</option>
|
20
|
+
<option value="right" id="right_option">Right</option>
|
21
|
+
</select>
|
22
|
+
|
23
|
+
<input id="table_border" type="text" value="1"/>
|
24
|
+
<input id="table_spacing" type="text" value="0"/>
|
25
|
+
|
26
|
+
<input id="submit" type="submit"/>
|
27
|
+
</form>
|
@@ -0,0 +1,35 @@
|
|
1
|
+
<style>
|
2
|
+
.mercury-iframe {
|
3
|
+
height: 100px;
|
4
|
+
}
|
5
|
+
</style>
|
6
|
+
<meta content="authenticity_token" name="csrf-param" />
|
7
|
+
<meta content="K6JhyfOVKJX8X2ZkiJXSf491fc1fF+k79wzrChHQa0g=" name="csrf-token" />
|
8
|
+
|
9
|
+
<div id="page_editor_container"></div>
|
10
|
+
<div id="region1" class="custom-region-class" data-type="editable"></div>
|
11
|
+
<div id="region2" class="custom-region-class" data-type="editable"></div>
|
12
|
+
<div id="region3" class="custom-region-class" data-type="editable">
|
13
|
+
<a id="anchor1r" href="#" target="_top">1</a>
|
14
|
+
<a id="anchor2r" href="#" target="_blank">2</a>
|
15
|
+
<a id="anchor3r" href="#" target="_self">3</a>
|
16
|
+
<a id="anchor4r" href="#">4</a>
|
17
|
+
<form id="form1r" action="" target="_top"></form>
|
18
|
+
<form id="form2r" action="" target="_blank"></form>
|
19
|
+
<form id="form3r" action="" target="_self"></form>
|
20
|
+
<form id="form4r" action=""></form>
|
21
|
+
</div>
|
22
|
+
<div id="region4" class="custom-region-class"></div>
|
23
|
+
|
24
|
+
<a id="anchor1" href="#" target="_top">1</a>
|
25
|
+
<a id="anchor2" href="#" target="_blank">2</a>
|
26
|
+
<a id="anchor3" href="#" target="_self">3</a>
|
27
|
+
<a id="anchor4" href="#">4</a>
|
28
|
+
<a id="anchor5" href="#" class="lightview" target="_self">5</a>
|
29
|
+
<a id="anchor6" href="#" target="foo">5</a>
|
30
|
+
<form id="form1" action="" target="_top"></form>
|
31
|
+
<form id="form2" action="" target="_blank"></form>
|
32
|
+
<form id="form3" action="" target="_self"></form>
|
33
|
+
<form id="form4" action=""></form>
|
34
|
+
<form id="form5" action="" class="lightview" target="_self"></form>
|
35
|
+
<form id="form6" action="" target="foo"></form>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<style>
|
2
|
+
.mercury-palette {
|
3
|
+
position: absolute;
|
4
|
+
height: 100px;
|
5
|
+
width: 100px;
|
6
|
+
}
|
7
|
+
#button {
|
8
|
+
position: absolute;
|
9
|
+
top: 42px;
|
10
|
+
left: 42px;
|
11
|
+
width: 20px;
|
12
|
+
height: 20px;
|
13
|
+
}
|
14
|
+
</style>
|
15
|
+
<div id="palette_container"></div>
|
16
|
+
<div id="button"></div>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<style>
|
2
|
+
.mercury-panel {
|
3
|
+
position: absolute;
|
4
|
+
height: 100px;
|
5
|
+
width: 100px;
|
6
|
+
}
|
7
|
+
#panel_container {
|
8
|
+
position: absolute;
|
9
|
+
top: 42px;
|
10
|
+
left: 42px;
|
11
|
+
width: 20px;
|
12
|
+
height: 20px;
|
13
|
+
}
|
14
|
+
</style>
|
15
|
+
<div id="panel_container"></div>
|
16
|
+
<div id="button"></div>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<style>
|
2
|
+
.mercury-select {
|
3
|
+
position: absolute;
|
4
|
+
height: 100px;
|
5
|
+
width: 100px;
|
6
|
+
}
|
7
|
+
#button {
|
8
|
+
position: absolute;
|
9
|
+
top: 42px;
|
10
|
+
left: 42px;
|
11
|
+
width: 20px;
|
12
|
+
height: 20px;
|
13
|
+
}
|
14
|
+
</style>
|
15
|
+
<div id="select_container"></div>
|
16
|
+
<div id="button"></div>
|
@@ -0,0 +1 @@
|
|
1
|
+
<div id="snippet"></div>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<style>
|
2
|
+
html, body {
|
3
|
+
padding: 0;
|
4
|
+
}
|
5
|
+
.mercury-snippet-toolbar {
|
6
|
+
position: absolute;
|
7
|
+
}
|
8
|
+
#snippet {
|
9
|
+
position: absolute;
|
10
|
+
top: 42px;
|
11
|
+
left: 200px;
|
12
|
+
}
|
13
|
+
</style>
|
14
|
+
|
15
|
+
<div id="snippet_toolbar_container"></div>
|
16
|
+
<div id="snippet">...</div>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<style>
|
2
|
+
#table1 th, #table1 td {
|
3
|
+
width: 100px;
|
4
|
+
padding: 0;
|
5
|
+
}
|
6
|
+
</style>
|
7
|
+
|
8
|
+
<table border="1" cellspacing="2" id="table1">
|
9
|
+
<thead>
|
10
|
+
<tr id="row1">
|
11
|
+
<th colspan="6">THEAD</th>
|
12
|
+
</tr>
|
13
|
+
</thead>
|
14
|
+
<tbody>
|
15
|
+
<tr id="row2">
|
16
|
+
<th>Head1</th>
|
17
|
+
<th>Head2</th>
|
18
|
+
<th rowspan="2">Head3</th>
|
19
|
+
<th>Head4</th>
|
20
|
+
<th rowspan="4">Head5</th>
|
21
|
+
<th>Head6</th>
|
22
|
+
</tr>
|
23
|
+
<tr id="row3">
|
24
|
+
<td>Column1</td>
|
25
|
+
<td>Column2</td>
|
26
|
+
<td>Column4</td>
|
27
|
+
<td>Column6</td>
|
28
|
+
</tr>
|
29
|
+
<tr id="row4">
|
30
|
+
<td>Column1</td>
|
31
|
+
<td>Column2</td>
|
32
|
+
<td>Column3</td>
|
33
|
+
<td>Column4</td>
|
34
|
+
<td>Column6</td>
|
35
|
+
</tr>
|
36
|
+
<tr id="row5">
|
37
|
+
<th>Head1</th>
|
38
|
+
<th>Head2</th>
|
39
|
+
<th rowspan="2">Head3</th>
|
40
|
+
<th>Head4</th>
|
41
|
+
<th>Head6</th>
|
42
|
+
</tr>
|
43
|
+
<tr id="row6">
|
44
|
+
<td>Column1</td>
|
45
|
+
<td>Column2</td>
|
46
|
+
<td>Column4</td>
|
47
|
+
<td>Column5</td>
|
48
|
+
<td>Column6</td>
|
49
|
+
</tr>
|
50
|
+
<tr id="row7">
|
51
|
+
<td colspan="2">Column1</td>
|
52
|
+
<td colspan="4">Column2</td>
|
53
|
+
</tr>
|
54
|
+
</tbody>
|
55
|
+
<tfoot>
|
56
|
+
<tr id="row8">
|
57
|
+
<td>Column1</td>
|
58
|
+
<td>Column2</td>
|
59
|
+
<td>Column3</td>
|
60
|
+
<td>Column4</td>
|
61
|
+
<td>Column5</td>
|
62
|
+
<td>Column6</td>
|
63
|
+
</tr>
|
64
|
+
</tfoot>
|
65
|
+
</table>
|
@@ -0,0 +1,64 @@
|
|
1
|
+
<style>
|
2
|
+
#context_backcolor { background-color: #F00 }
|
3
|
+
#context_forecolor { color: #0F0 }
|
4
|
+
#context_bold3 { font-weight: 800 }
|
5
|
+
#context_bold4 { font-weight: 600 }
|
6
|
+
#context_bold5 { font-weight: 400 }
|
7
|
+
#context_italic2 { font-style: italic }
|
8
|
+
#context_strikethrough2 { text-decoration: line-through }
|
9
|
+
#context_overline { text-decoration: overline }
|
10
|
+
#context_underline2 { text-decoration: underline }
|
11
|
+
#context_justifyLeft { text-align: left }
|
12
|
+
#context_justifyCenter { text-align: center }
|
13
|
+
#context_justifyRight { text-align: right }
|
14
|
+
#context_justifyFull { text-align: justify }
|
15
|
+
</style>
|
16
|
+
|
17
|
+
<div id="context_button">button</div>
|
18
|
+
<div id="context_container">
|
19
|
+
<div id="context_none">nothing</div>
|
20
|
+
<div id="context_backcolor">back<span>color</span></div>
|
21
|
+
<div id="context_forecolor">fore<span>color</span></div>
|
22
|
+
<div>
|
23
|
+
<b id="context_bold1">bold <span>123</span></b>
|
24
|
+
<strong id="context_bold2">bold <span>123</span></strong>
|
25
|
+
<span id="context_bold3">bold <span>123</span></span>
|
26
|
+
<span id="context_bold4">bold <span>123</span></span>
|
27
|
+
<span id="context_bold5">not bold <span>123</span></span>
|
28
|
+
<h1 id="context_bold6">bold <span>123</span></h1>
|
29
|
+
</div>
|
30
|
+
<div>
|
31
|
+
<em id="context_italic1">italic <span>123</span></em>
|
32
|
+
<span id="context_italic2">italic <span>123</span></span>
|
33
|
+
</div>
|
34
|
+
<div id="context_overline">overline <span>123</span></div>
|
35
|
+
<div>
|
36
|
+
<strike id="context_strikethrough1">strikethrough <span>123</span></strike>
|
37
|
+
<span id="context_strikethrough2">strikethrough <span>123</span></span>
|
38
|
+
</div>
|
39
|
+
<div>
|
40
|
+
<u id="context_underline1">underline <span>123</span></u>
|
41
|
+
<span id="context_underline2">underline <span>123</span></span>
|
42
|
+
</div>
|
43
|
+
<sub id="context_subscript">sub<span>script</span></sub>
|
44
|
+
<sup id="context_superscript">super<span>script</span></sup>
|
45
|
+
<div>
|
46
|
+
<div id="context_justifyLeft">justify <span>left</span></div>
|
47
|
+
<div id="context_justifyCenter">justify <span>center</span></div>
|
48
|
+
<div id="context_justifyRight">justify <span>right</span></div>
|
49
|
+
<div id="context_justifyFull">justify <span>full</span></div>
|
50
|
+
</div>
|
51
|
+
<ol id="context_orderedlist">
|
52
|
+
<li>ordered <span>list</span></li>
|
53
|
+
</ol>
|
54
|
+
<ul id="context_unorderedlist">
|
55
|
+
<li>unordered <span>list</span></li>
|
56
|
+
</ul>
|
57
|
+
<div id="context_decoration">
|
58
|
+
no decoration
|
59
|
+
<span class="overline">
|
60
|
+
overline
|
61
|
+
<span class="underline">underline</span>
|
62
|
+
</span>
|
63
|
+
</div>
|
64
|
+
</div>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<style>
|
2
|
+
#expander_container {
|
3
|
+
white-space: nowrap;
|
4
|
+
width: 3000px;
|
5
|
+
position: absolute;
|
6
|
+
}
|
7
|
+
|
8
|
+
#positioned_container {
|
9
|
+
position: absolute;
|
10
|
+
top: 42px;
|
11
|
+
left: 42px;
|
12
|
+
}
|
13
|
+
</style>
|
14
|
+
<div id="expander_container">
|
15
|
+
<div id="button1" class="mercury-button">1</div>
|
16
|
+
<div id="button2" class="mercury-button mercury-test-button">2</div>
|
17
|
+
</div>
|
18
|
+
<div id="positioned_container"></div>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|