Changeset 211092 in webkit
- Timestamp:
- Jan 24, 2017, 11:08:42 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/editing/pasteboard/copy-image-with-alt-text-expected.txt (modified) (2 diffs)
-
LayoutTests/editing/pasteboard/copy-image-with-alt-text.html (modified) (1 diff)
-
LayoutTests/platform/efl/TestExpectations (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/editing/Editor.cpp (modified) (1 diff)
-
Source/WebCore/page/Settings.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r211090 r211092 1 2017-01-24 Joseph Pecoraro <pecoraro@apple.com> 2 3 Remove always true selectionIncludesAltImageText setting 4 https://bugs.webkit.org/show_bug.cgi?id=167358 5 6 Reviewed by Alex Christensen. 7 8 * editing/pasteboard/copy-image-with-alt-text-expected.txt: 9 * editing/pasteboard/copy-image-with-alt-text.html: 10 * platform/efl/TestExpectations: 11 1 12 2017-01-24 Ryan Haddad <ryanhaddad@apple.com> 2 13 -
trunk/LayoutTests/editing/pasteboard/copy-image-with-alt-text-expected.txt
r164526 r211092 2 2 3 3 Dump of markup 1: 4 | <shadow:root>5 | <div>6 | contenteditable="plaintext-only"7 | "Here is an emoticon [], some more text [], an empty alt tag [], no alt tag [] and two consecutive images [].8 9 "10 11 Dump of markup 2:12 | <div>13 | "Here is an emoticon [], some more text [], an empty alt tag [], no alt tag [] and two consecutive images []."14 | <div>15 | <#selection-caret>16 | <br>17 18 Dump of markup 3:19 4 | <shadow:root> 20 5 | <div> … … 24 9 " 25 10 26 Dump of markup 4:11 Dump of markup 2: 27 12 | <div> 28 13 | "Here is an emoticon [:)], some more text [sample text], an empty alt tag [], no alt tag [] and two consecutive images [firstsecond]." -
trunk/LayoutTests/editing/pasteboard/copy-image-with-alt-text.html
r149340 r211092 28 28 window.onload = function() 29 29 { 30 if (window.internals)31 internals.settings.setSelectionIncludesAltImageText(false);32 33 30 if (window.testRunner) 34 31 testRunner.dumpAsText(); 35 32 36 runTest();37 if (window.internals)38 internals.settings.setSelectionIncludesAltImageText(true);39 33 runTest(); 40 34 -
trunk/LayoutTests/platform/efl/TestExpectations
r211077 r211092 1653 1653 Bug(EFL) editing/pasteboard/contenteditable-pre.html [ Failure ] 1654 1654 Bug(EFL) editing/pasteboard/copy-backslash-with-euc.html [ Failure ] 1655 Bug(EFL) editing/pasteboard/copy-image-with-alt-text.html [ Failure ]1656 1655 Bug(EFL) editing/pasteboard/copy-in-password-field.html [ Failure ] 1657 1656 Bug(EFL) editing/pasteboard/copy-inside-h1-preserves-h1.html [ Failure ] -
trunk/Source/WebCore/ChangeLog
r211087 r211092 1 2017-01-24 Joseph Pecoraro <pecoraro@apple.com> 2 3 Remove always true selectionIncludesAltImageText setting 4 https://bugs.webkit.org/show_bug.cgi?id=167358 5 6 Reviewed by Alex Christensen. 7 8 * editing/Editor.cpp: 9 (WebCore::Editor::selectedTextForDataTransfer): 10 * page/Settings.in: 11 1 12 2017-01-24 Daniel Bates <dabates@apple.com> 2 13 -
trunk/Source/WebCore/editing/Editor.cpp
r210845 r211092 2944 2944 String Editor::selectedTextForDataTransfer() const 2945 2945 { 2946 if (m_frame.settings().selectionIncludesAltImageText()) 2947 return selectedText(TextIteratorEmitsImageAltText); 2948 return selectedText(); 2946 return selectedText(TextIteratorEmitsImageAltText); 2949 2947 } 2950 2948 -
trunk/Source/WebCore/page/Settings.in
r211085 r211092 194 194 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled 195 195 196 selectionIncludesAltImageText initial=true197 196 useLegacyBackgroundSizeShorthandBehavior initial=false 198 197 fixedBackgroundsPaintRelativeToDocument initial=defaultFixedBackgroundsPaintRelativeToDocument
Note:
See TracChangeset
for help on using the changeset viewer.