diff --git a/Gruntfile.js b/Gruntfile.js
index e2c0eef..b8db7ce 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -57,7 +57,8 @@ module.exports = function (grunt) {
"node_modules/infusion/src/framework/enhancement/js/ContextAwareness.js",
"node_modules/infusion/src/framework/enhancement/js/ProgressiveEnhancement.js",
"node_modules/infusion/src/components/tableOfContents/js/TableOfContents.js",
- "node_modules/infusion/src/framework/preferences/js/Enactors.js"
+ "node_modules/infusion/src/framework/preferences/js/Enactors.js",
+ "node_modules/infusion/src/framework/preferences/js/LetterSpaceEnactor.js"
],
adjustersLib: [
// jQuery
@@ -101,7 +102,9 @@ module.exports = function (grunt) {
"node_modules/infusion/src/framework/preferences/js/PrefsEditor.js",
"node_modules/infusion/src/framework/preferences/js/Panels.js",
"node_modules/infusion/src/framework/preferences/js/SelfVoicingPanel.js",
+ "node_modules/infusion/src/framework/preferences/js/LetterSpacePanel.js",
"node_modules/infusion/src/framework/preferences/js/Enactors.js",
+ "node_modules/infusion/src/framework/preferences/js/LetterSpaceEnactor.js",
"node_modules/infusion/src/framework/preferences/js/StarterGrades.js",
"node_modules/infusion/src/framework/preferences/js/ArrowScrolling.js",
"node_modules/infusion/src/framework/preferences/js/SeparatedPanelPrefsEditor.js",
@@ -110,6 +113,7 @@ module.exports = function (grunt) {
"node_modules/infusion/src/framework/preferences/js/AuxBuilder.js",
"node_modules/infusion/src/framework/preferences/js/StarterSchemas.js",
"node_modules/infusion/src/framework/preferences/js/SelfVoicingSchemas.js",
+ "node_modules/infusion/src/framework/preferences/js/LetterSpaceSchemas.js",
"node_modules/infusion/src/framework/preferences/js/Builder.js",
// from extension
@@ -121,6 +125,7 @@ module.exports = function (grunt) {
"node_modules/infusion/src/components/tableOfContents/html/TableOfContents.html",
"node_modules/infusion/src/framework/preferences/html/PrefsEditorTemplate-textSize.html",
"node_modules/infusion/src/framework/preferences/html/PrefsEditorTemplate-lineSpace.html",
+ "node_modules/infusion/src/framework/preferences/html/PrefsEditorTemplate-letterSpace.html",
"node_modules/infusion/src/framework/preferences/html/PrefsEditorTemplate-contrast.html",
"node_modules/infusion/src/framework/preferences/html/PrefsEditorTemplate-layout.html",
"node_modules/infusion/src/framework/preferences/html/PrefsEditorTemplate-enhanceInputs.html",
diff --git a/README.md b/README.md
index bf2548e..5527029 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,7 @@ The following adaptations are supported:
* Text Size
* Line Space
+* Character Space
* Contrast
* Right-Click to Select
* Selection Highlight
diff --git a/TODO.md b/TODO.md
deleted file mode 100644
index a19471e..0000000
--- a/TODO.md
+++ /dev/null
@@ -1,22 +0,0 @@
-# TODO list
-
-* Improve the high contrast css "hack"
-* Since we depend on third party extensions (such as Chrome Vox), check whether they're installed or not. If an extension can't be found, disable the components that make use of this extension, alternatively ask the user for confirmation to install it and perform the installation (if possible).
-* Testing
- * ~~Add unit tests for the wsConnector component~~
- * Add unit/integration tests for the chromeSettings component
- * Right now, the tests only run in node.js, make them run in the browser too
-* Identify and evaluate the security risks and improve the implementation according to these
-* More personalization features
- * Simplification of content
- * Add support for CSS filtering - http://www.w3schools.com/cssref/css3_pr_filter.asp
-* Implement support for GPII compatible web pages
-* Add notifications to interact with the user
-* Include options (https://developer.chrome.com/extensions/options) such as:
- * url:port of the flowManager
- * try to reconnect automatically? / retry time?
-
-# Ongoing work
-
-* Notifications
-* Running tests from the browser
diff --git a/extension/manifest.json b/extension/manifest.json
index bd78e39..cf6d3fe 100644
--- a/extension/manifest.json
+++ b/extension/manifest.json
@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "UI Options Plus (UIO+)",
"short_name": "UIO+",
- "version": "0.1.0.2",
+ "version": "0.1.0.3",
"description": "User Interface Options Plus (UIO+) allows you to customize websites to match your own personal needs and preferences.",
"author": "Fluid Project",
"permissions": [
diff --git a/extension/messages/charSpace.json b/extension/messages/charSpace.json
new file mode 100644
index 0000000..6752b85
--- /dev/null
+++ b/extension/messages/charSpace.json
@@ -0,0 +1,6 @@
+{
+ "label": "Character Spacing",
+ "description": "Adjust the spacing between characters",
+ "increaseLabel": "increase character spacing",
+ "decreaseLabel": "decrease character spacing"
+}
diff --git a/extension/src/content_scripts/domEnactor.js b/extension/src/content_scripts/domEnactor.js
index 250e287..07962cb 100644
--- a/extension/src/content_scripts/domEnactor.js
+++ b/extension/src/content_scripts/domEnactor.js
@@ -71,6 +71,14 @@
}
}
},
+ charSpace: {
+ type: "gpii.chrome.enactor.charSpace",
+ options: {
+ model: {
+ value: "{domEnactor}.model.characterSpace"
+ }
+ }
+ },
inputsLarger: {
type: "gpii.chrome.enactor.inputsLarger",
options: {
@@ -145,6 +153,20 @@
}
});
+ // Character space
+ fluid.defaults("gpii.chrome.enactor.charSpace", {
+ gradeNames: ["fluid.prefs.enactor.letterSpace"],
+ fontSizeMap: {
+ "xx-small": "9px",
+ "x-small": "11px",
+ "small": "13px",
+ "medium": "15px",
+ "large": "18px",
+ "x-large": "23px",
+ "xx-large": "30px"
+ }
+ });
+
// Inputs larger
fluid.defaults("gpii.chrome.enactor.inputsLarger", {
gradeNames: ["fluid.prefs.enactor.enhanceInputs"],
diff --git a/extension/src/lib/PrefsEditor.js b/extension/src/lib/PrefsEditor.js
index 56acfc5..a96b468 100644
--- a/extension/src/lib/PrefsEditor.js
+++ b/extension/src/lib/PrefsEditor.js
@@ -25,6 +25,7 @@
"preferences.gpii_chrome_prefs_contrast": "settings.contrastTheme",
"preferences.fluid_prefs_enhanceInputs": "settings.inputsLargerEnabled",
"preferences.gpii_chrome_prefs_lineSpace": "settings.lineSpace",
+ "preferences.fluid_prefs_letterSpace": "settings.characterSpace",
"preferences.fluid_prefs_tableOfContents": "settings.tableOfContentsEnabled",
"preferences.gpii_chrome_prefs_textSize": "settings.fontSize",
"preferences.fluid_prefs_speak": "settings.selfVoicingEnabled",
@@ -166,7 +167,7 @@
gradeNames: ["fluid.prefs.panel.textSize"],
preferenceMap: {
"gpii.chrome.prefs.textSize": {
- "model.textSize": "default",
+ "model.value": "default",
"range.min": "minimum",
"range.max": "maximum",
"step": "divisibleBy"
@@ -178,7 +179,7 @@
gradeNames: ["fluid.prefs.panel.lineSpace"],
preferenceMap: {
"gpii.chrome.prefs.lineSpace": {
- "model.lineSpace": "default",
+ "model.value": "default",
"range.min": "minimum",
"range.max": "maximum",
"step": "divisibleBy"
@@ -276,6 +277,15 @@
"template": "%templatePrefix/PrefsEditorTemplate-lineSpace.html"
}
},
+ "charSpace": {
+ "type": "fluid.prefs.letterSpace",
+ "panel": {
+ "type": "fluid.prefs.panel.letterSpace",
+ "container": ".flc-prefsEditor-char-space",
+ "message": "%messagePrefix/charSpace.json",
+ "template": "%templatePrefix/PrefsEditorTemplate-letterSpace.html"
+ }
+ },
"contrast": {
"type": "gpii.chrome.prefs.contrast",
"classes": {
diff --git a/extension/src/lib/domSettingsApplier.js b/extension/src/lib/domSettingsApplier.js
index f870975..a726113 100644
--- a/extension/src/lib/domSettingsApplier.js
+++ b/extension/src/lib/domSettingsApplier.js
@@ -34,6 +34,7 @@ fluid.defaults("gpii.chrome.domSettingsApplier", {
// Accepted model values:
// settings.contrastTheme: string,
// settings.lineSpace: number, // the multiplier to the current line space
+ // settings.characterSpace: number,
// settings.inputsLarger: boolean,
// settings.selectionTheme: string,
// settings.simplifiedUiEnabled: boolean,
diff --git a/extension/templates/PrefsEditorPanel.html b/extension/templates/PrefsEditorPanel.html
index 1facd5d..43c3b35 100644
--- a/extension/templates/PrefsEditorPanel.html
+++ b/extension/templates/PrefsEditorPanel.html
@@ -3,6 +3,7 @@
+
diff --git a/package.json b/package.json
index 792a3a2..363658e 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"test": "node tests/node/all-tests.js"
},
"dependencies": {
- "infusion": "3.0.0-dev.20180227T185528Z.08741e844",
+ "infusion": "3.0.0-dev.20180312T184056Z.e4d2974d2",
"ws": "1.1.0"
},
"devDependencies": {
diff --git a/tests/browser/html/domEnactorTests.html b/tests/browser/html/domEnactorTests.html
index 1fbfcb2..b5d3eb3 100644
--- a/tests/browser/html/domEnactorTests.html
+++ b/tests/browser/html/domEnactorTests.html
@@ -39,6 +39,9 @@
+
diff --git a/tests/browser/html/prefsEditorTests.html b/tests/browser/html/prefsEditorTests.html
index b5157f0..98a37b0 100644
--- a/tests/browser/html/prefsEditorTests.html
+++ b/tests/browser/html/prefsEditorTests.html
@@ -33,6 +33,7 @@
+
diff --git a/tests/browser/js/domEnactorTests.js b/tests/browser/js/domEnactorTests.js
index 48a041a..05f55f1 100644
--- a/tests/browser/js/domEnactorTests.js
+++ b/tests/browser/js/domEnactorTests.js
@@ -391,6 +391,76 @@
}]
});
+ /*************************
+ * Character Space Tests *
+ *************************/
+
+ fluid.defaults("gpii.tests.charSpaceTests", {
+ gradeNames: ["fluid.test.testEnvironment"],
+ components: {
+ charSpace: {
+ type: "fluid.prefs.enactor.letterSpace",
+ container: ".gpii-test-charSpace",
+ options: {
+ model: {
+ value: 1
+ }
+ }
+ },
+ charSpaceTester: {
+ type: "fluid.tests.charSpaceTester"
+ }
+ }
+ });
+
+ gpii.tests.charSpaceTests.assertCharSpace = function (that, expectedValue, baseCharSpace) {
+ baseCharSpace = baseCharSpace || 0;
+ var expectedUnit = fluid.roundToDecimal(expectedValue - 1, 2);
+ var expectedLetterSpacing = fluid.roundToDecimal(baseCharSpace + expectedUnit, 2) + "em";
+ jqUnit.assertEquals("The model value should be set to " + expectedValue, expectedValue, that.model.value);
+ jqUnit.assertEquals("The model unit should be set to " + expectedUnit, expectedUnit, that.model.unit);
+ jqUnit.assertEquals("The letter-spacing should be set to " + expectedLetterSpacing, "letter-spacing: " + expectedLetterSpacing + ";", that.container.attr("style"));
+ };
+
+ fluid.defaults("fluid.tests.charSpaceTester", {
+ gradeNames: ["fluid.test.testCaseHolder"],
+ modules: [{
+ name: "Character Space Tests",
+ tests: [{
+ name: "Model Changes",
+ expect: 12,
+ sequence: [{
+ func: "gpii.tests.charSpaceTests.assertCharSpace",
+ args: ["{charSpace}", 1, 0.2]
+ }, {
+ func: "{charSpace}.applier.change",
+ args: ["value", 1.3]
+ }, {
+ changeEvent: "{charSpace}.applier.modelChanged",
+ path: "value",
+ listener: "gpii.tests.charSpaceTests.assertCharSpace",
+ args: ["{charSpace}", 1.3, 0.2]
+ }, {
+ func: "{charSpace}.applier.change",
+ args: ["value", 2]
+ }, {
+ changeEvent: "{charSpace}.applier.modelChanged",
+ path: "value",
+ listener: "gpii.tests.charSpaceTests.assertCharSpace",
+ args: ["{charSpace}", 2, 0.2]
+ }, {
+ func: "{charSpace}.applier.change",
+ args: ["value", 1]
+ }, {
+ changeEvent: "{charSpace}.applier.modelChanged",
+ path: "value",
+ listener: "gpii.tests.charSpaceTests.assertCharSpace",
+ args: ["{charSpace}", 1, 0.2]
+ }]
+ }]
+ }]
+ });
+
/***********************
* Inputs Larger Tests *
***********************/
@@ -652,6 +722,7 @@
"gpii.tests.selectionHighlightTests",
"gpii.tests.contrastTests",
"gpii.tests.lineSpaceTests",
+ "gpii.tests.charSpaceTests",
"gpii.tests.inputsLargerTests",
"gpii.tests.tocTests",
"gpii.tests.domEnactorTests",
diff --git a/tests/browser/js/prefsEditorTests.js b/tests/browser/js/prefsEditorTests.js
index c3528a5..5e6fc83 100644
--- a/tests/browser/js/prefsEditorTests.js
+++ b/tests/browser/js/prefsEditorTests.js
@@ -145,12 +145,13 @@
fluid.defaults("gpii.tests.chrome.prefs.panel.textSize", {
gradeNames: ["gpii.chrome.prefs.panel.textSize", "fluid.tests.panels.utils.defaultTestPanel", "fluid.tests.panels.utils.injectTemplates"],
model: {
- textSize: 1
+ value: 1
},
messageBase: {
- "textSizeLabel": "Text Size",
- "multiplier": "times",
- "textSizeDescr": "Adjust text size"
+ "label": "Text Size",
+ "description": "Adjust text size",
+ "increaseLabel": "increase text size",
+ "decreaseLabel": "decrease text size"
},
resources: {
template: {
@@ -187,14 +188,14 @@
event: "{gpii.tests.textSizeAdjusterTests textSize}.events.afterRender",
priority: "last:testing",
listener: "fluid.tests.panels.utils.checkModel",
- args: ["textSize", "{textSize}.model", 1]
+ args: ["value", "{textSize}.model", 1]
}, {
func: "gpii.tests.changeInput",
- args: ["{textSize}.dom.textSize", "{that}.options.testOptions.newValue"]
+ args: ["{textSize}.dom.textfieldStepperContainer", "{that}.options.testOptions.newValue"]
}, {
listener: "fluid.tests.panels.utils.checkModel",
- args: ["textSize", "{textSize}.model", "{that}.options.testOptions.newValue"],
- spec: {path: "textSize", priority: "last"},
+ args: ["value", "{textSize}.model", "{that}.options.testOptions.newValue"],
+ spec: {path: "value", priority: "last"},
changeEvent: "{textSize}.applier.modelChanged"
}]
}]
@@ -205,12 +206,13 @@
fluid.defaults("gpii.tests.chrome.prefs.panel.lineSpace", {
gradeNames: ["gpii.chrome.prefs.panel.lineSpace", "fluid.tests.panels.utils.defaultTestPanel", "fluid.tests.panels.utils.injectTemplates"],
model: {
- lineSpace: 1
+ value: 1
},
messageBase: {
- "lineSpaceLabel": "Line Spacing",
- "multiplier": "times",
- "lineSpaceDescr": "Adjust the spacing between lines of text"
+ "label": "Line Spacing",
+ "description": "Adjust the spacing between lines of text",
+ "increaseLabel": "increase line spacing",
+ "decreaseLabel": "decrease line spacing"
},
resources: {
template: {
@@ -253,14 +255,14 @@
event: "{gpii.tests.lineSpaceAdjusterTests lineSpace}.events.afterRender",
priority: "last:testing",
listener: "fluid.tests.panels.utils.checkModel",
- args: ["lineSpace", "{lineSpace}.model", 1]
+ args: ["value", "{lineSpace}.model", 1]
}, {
func: "gpii.tests.changeInput",
- args: ["{lineSpace}.dom.lineSpace", "{that}.options.testOptions.newValue"]
+ args: ["{lineSpace}.dom.textfieldStepperContainer", "{that}.options.testOptions.newValue"]
}, {
listener: "fluid.tests.panels.utils.checkModel",
- args: ["lineSpace", "{lineSpace}.model", "{that}.options.testOptions.newValue"],
- spec: {path: "lineSpace", priority: "last"},
+ args: ["value", "{lineSpace}.model", "{that}.options.testOptions.newValue"],
+ spec: {path: "value", priority: "last"},
changeEvent: "{lineSpace}.applier.modelChanged"
}
]
@@ -268,6 +270,74 @@
}]
});
+ // Character Space
+ fluid.defaults("gpii.tests.chrome.prefs.panel.charSpace", {
+ gradeNames: ["fluid.prefs.panel.letterSpace", "fluid.tests.panels.utils.defaultTestPanel", "fluid.tests.panels.utils.injectTemplates"],
+ model: {
+ value: 1
+ },
+ messageBase: {
+ "label": "Character Spacing",
+ "description": "Adjust the spacing between letters",
+ "increaseLabel": "increase character spacing",
+ "decreaseLabel": "decrease character spacing"
+ },
+ resources: {
+ template: {
+ href: "../../../build/templates/PrefsEditorTemplate-letterSpace.html"
+ }
+ }
+ });
+
+ fluid.defaults("gpii.tests.charSpaceAdjusterTests", {
+ gradeNames: ["fluid.test.testEnvironment"],
+ components: {
+ charSpace: {
+ type: "gpii.tests.chrome.prefs.panel.charSpace",
+ container: ".gpiic-charSpace",
+ createOnEvent: "{charSpaceTester}.events.onTestCaseStart"
+ },
+ charSpaceTester: {
+ type: "gpii.tests.charSpaceTester",
+ options: {
+ modules: [{
+ name: "Test the character space settings panel"
+ }]
+ }
+ }
+ }
+ });
+
+ fluid.defaults("gpii.tests.charSpaceTester", {
+ gradeNames: ["fluid.test.testCaseHolder"],
+ testOptions: {
+ newValue: 2.6
+ },
+ modules: [{
+ name: "Character Space Adjuster",
+ tests: [{
+ expect: 2,
+ name: "rendering",
+ sequence: [
+ {
+ event: "{gpii.tests.charSpaceAdjusterTests charSpace}.events.afterRender",
+ priority: "last:testing",
+ listener: "fluid.tests.panels.utils.checkModel",
+ args: ["value", "{charSpace}.model", 1]
+ }, {
+ func: "gpii.tests.changeInput",
+ args: ["{charSpace}.dom.textfieldStepperContainer", "{that}.options.testOptions.newValue"]
+ }, {
+ listener: "fluid.tests.panels.utils.checkModel",
+ args: ["value", "{charSpace}.model", "{that}.options.testOptions.newValue"],
+ spec: {path: "value", priority: "last"},
+ changeEvent: "{charSpace}.applier.modelChanged"
+ }
+ ]
+ }]
+ }]
+ });
+
// Contrast
fluid.defaults("gpii.chrome.tests.prefs.panel.contrast", {
gradeNames: ["gpii.chrome.prefs.panel.contrast", "fluid.tests.panels.utils.defaultTestPanel", "fluid.tests.panels.utils.injectTemplates"],
@@ -420,7 +490,7 @@
}]
}]
});
- // Swith Adjuster Sequences
+ // Switch Adjuster Sequences
fluid.defaults("gppi.tests.sequence.switchAdjusterRendering", {
gradeNames: "fluid.test.sequenceElement",
@@ -733,6 +803,7 @@
clickToSelectEnabled: false,
dictionaryEnabled: false,
lineSpace: 1,
+ characterSpace: 1,
simplifiedUiEnabled: false,
fontSize: 1
}
@@ -740,6 +811,7 @@
defaultModel:{
preferences: {
fluid_prefs_enhanceInputs: false,
+ fluid_prefs_letterSpace: 1,
fluid_prefs_speak: false,
fluid_prefs_tableOfContents: false,
gpii_chrome_prefs_contrast: "default",
@@ -754,6 +826,7 @@
newModel: {
preferences: {
fluid_prefs_enhanceInputs: true,
+ fluid_prefs_letterSpace: 1.2,
fluid_prefs_speak: true,
fluid_prefs_tableOfContents: true,
gpii_chrome_prefs_contrast: "yb",
@@ -775,6 +848,7 @@
clickToSelectEnabled: true,
dictionaryEnabled: true,
lineSpace: 2.7,
+ characterSpace: 1.2,
simplifiedUiEnabled: true,
fontSize: 3.1
}
@@ -788,6 +862,7 @@
adjusters: [
"fluid_prefs_panel_enhanceInputs",
"fluid_prefs_panel_layoutControls",
+ "fluid_prefs_panel_letterSpace",
"fluid_prefs_panel_speak",
"gpii_chrome_prefs_panel_clickToSelect",
"gpii_chrome_prefs_panel_contrast",
@@ -802,7 +877,7 @@
name: "Prefs Editor Tests",
tests: [{
name: "Instantiation",
- expect:21,
+ expect:22,
sequence: [{
event: "{testEnvironment prefsEditorStack prefsEditorLoader}.events.onReady",
listener: "gpii.tests.prefsEditorTests.assertInit",
@@ -811,7 +886,7 @@
}]
}, {
name: "Model Change",
- expect:22,
+ expect:24,
sequence: [{
// contrast model change
func: "gpii.tests.themePicker.changeChecked",
@@ -837,7 +912,7 @@
}, {
// text size model change
func: "gpii.tests.changeInput",
- args: ["{prefsEditorStack}.prefsEditorLoader.prefsEditor.gpii_chrome_prefs_panel_textSize.dom.textSize", "{that}.options.testOpts.newModel.preferences.gpii_chrome_prefs_textSize"]
+ args: ["{prefsEditorStack}.prefsEditorLoader.prefsEditor.gpii_chrome_prefs_panel_textSize.dom.textfieldStepperContainer", "{that}.options.testOpts.newModel.preferences.gpii_chrome_prefs_textSize"]
}, {
listener: "gpii.tests.prefsEditorTests.assertSettingChanged",
args: ["{prefsEditorStack}", "preferences.gpii_chrome_prefs_textSize", "{that}.options.testOpts.newModel.preferences.gpii_chrome_prefs_textSize", "{that}.options.testOpts.modelChanges.fontSize"],
@@ -848,7 +923,7 @@
}, {
// line space model change
func: "gpii.tests.changeInput",
- args: ["{prefsEditorStack}.prefsEditorLoader.prefsEditor.gpii_chrome_prefs_panel_lineSpace.dom.lineSpace", "{that}.options.testOpts.newModel.preferences.gpii_chrome_prefs_lineSpace"]
+ args: ["{prefsEditorStack}.prefsEditorLoader.prefsEditor.gpii_chrome_prefs_panel_lineSpace.dom.textfieldStepperContainer", "{that}.options.testOpts.newModel.preferences.gpii_chrome_prefs_lineSpace"]
}, {
listener: "gpii.tests.prefsEditorTests.assertSettingChanged",
args: ["{prefsEditorStack}", "preferences.gpii_chrome_prefs_lineSpace", "{that}.options.testOpts.newModel.preferences.gpii_chrome_prefs_lineSpace", "{that}.options.testOpts.modelChanges.lineSpace"],
@@ -856,6 +931,17 @@
changeEvent: "{prefsEditorStack}.prefsEditorLoader.prefsEditor.applier.modelChanged"
}, {
func: "{prefsEditorStack}.prefsEditorLoader.prefsEditor.cancel"
+ }, {
+ // character space model change
+ func: "gpii.tests.changeInput",
+ args: ["{prefsEditorStack}.prefsEditorLoader.prefsEditor.fluid_prefs_panel_letterSpace.dom.textfieldStepperContainer", "{that}.options.testOpts.newModel.preferences.fluid_prefs_letterSpace"]
+ }, {
+ listener: "gpii.tests.prefsEditorTests.assertSettingChanged",
+ args: ["{prefsEditorStack}", "preferences.fluid_prefs_letterSpace", "{that}.options.testOpts.newModel.preferences.fluid_prefs_letterSpace", "{that}.options.testOpts.modelChanges.characterSpace"],
+ spec: {path: "preferences.fluid_prefs_letterSpace", priority: "last:testing"},
+ changeEvent: "{prefsEditorStack}.prefsEditorLoader.prefsEditor.applier.modelChanged"
+ }, {
+ func: "{prefsEditorStack}.prefsEditorLoader.prefsEditor.cancel"
}, {
// enhance inputs model change
jQueryTrigger: "click",
@@ -930,7 +1016,7 @@
listener: "gpii.tests.prefsEditorTests.assertExternalPrefChange",
args: ["{prefsEditorStack}", "{that}.options.testOpts.newModel"],
priority: "last:testing",
- event: "{prefsEditorStack}.prefsEditorLoader.prefsEditor.events.afterFetch"
+ event: "{prefsEditorStack}.prefsEditorLoader.prefsEditor.events.afterWrite"
}]
}]
}]
@@ -940,6 +1026,7 @@
"gpii.tests.chrome.prefs.extensionPanel.store.tests",
"gpii.tests.textSizeAdjusterTests",
"gpii.tests.lineSpaceAdjusterTests",
+ "gpii.tests.charSpaceAdjusterTests",
"gpii.tests.contrastAdjusterTests",
"gpii.tests.highlightAdjusterTests",
"gpii.tests.simplifyAdjusterTests",