Changeset 117721 in webkit
- Timestamp:
- May 20, 2012 6:47:16 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r117717 r117721 1 2012-05-20 Joe Thomas <joethomas@motorola.com> 2 3 Unsupported commands should have queryCommandValue() = "", not false 4 https://bugs.webkit.org/show_bug.cgi?id=86964 5 6 Reviewed by Ryosuke Niwa. 7 8 queryCommandValue for unsupported commands should return empty string. 9 The specification related to this can be located at http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#methods-to-query-and-execute-commands 10 11 * editing/execCommand/queryCommandValue-unsupported-commands-expected.txt: Added. 12 * editing/execCommand/queryCommandValue-unsupported-commands.html: Added. 13 * editing/execCommand/use-css-expected.txt: 14 * editing/execCommand/use-css.html: 15 1 16 2012-05-20 Philippe Normand <pnormand@igalia.com> 2 17 -
trunk/LayoutTests/editing/execCommand/use-css-expected.txt
r95050 r117721 10 10 PASS useCSS changed the state successfully 11 11 PASS queryCommandState('useCSS') returns false 12 PASS queryCommandValue('useCSS') returns false12 PASS queryCommandValue('useCSS') returns '' 13 13 PASS one underline command converted test to <span style="text-decoration: underline;">test</span> 14 14 PASS successfullyParsed is true -
trunk/LayoutTests/editing/execCommand/use-css.html
r99258 r117721 46 46 testFailed("queryCommandState('useCSS') should return boolean false"); 47 47 48 if (document.queryCommandValue('useCSS') === false)49 testPassed("queryCommandValue('useCSS') returns false");48 if (document.queryCommandValue('useCSS') === "") 49 testPassed("queryCommandValue('useCSS') returns ''"); 50 50 else 51 testFailed("queryCommandValue('useCSS') should return boolean false");51 testFailed("queryCommandValue('useCSS') should return string ''"); 52 52 53 53 testSingleToggle("underline", "test", "<span style=\"text-decoration: underline;\">test</span>"); -
trunk/Source/WebCore/ChangeLog
r117719 r117721 1 2012-05-20 Joe Thomas <joethomas@motorola.com> 2 3 Unsupported commands should have queryCommandValue() = "", not false 4 https://bugs.webkit.org/show_bug.cgi?id=86964 5 6 Reviewed by Ryosuke Niwa. 7 8 queryCommandValue for unsupported commands should return empty string. 9 The specification related to this can be located at http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#methods-to-query-and-execute-commands 10 11 Test: editing/execCommand/queryCommandValue-unsupported-commands.html 12 13 * dom/Document.idl: 14 1 15 2012-05-20 Kentaro Hara <haraken@chromium.org> 2 16 -
trunk/Source/WebCore/dom/Document.idl
r111028 r117721 142 142 boolean queryCommandState(in [Optional=DefaultIsUndefined] DOMString command); 143 143 boolean queryCommandSupported(in [Optional=DefaultIsUndefined] DOMString command); 144 [TreatReturnedNullStringAs=False] DOMStringqueryCommandValue(in [Optional=DefaultIsUndefined] DOMString command);144 DOMString queryCommandValue(in [Optional=DefaultIsUndefined] DOMString command); 145 145 146 146 // Moved down from HTMLDocument
Note: See TracChangeset
for help on using the changeset viewer.