Title: [149340] trunk
Revision
149340
Author
[email protected]
Date
2013-04-29 17:34:18 -0700 (Mon, 29 Apr 2013)

Log Message

Settings.in selectionIncludesAltImageText should default to true, due to update in HTML spec.
https://bugs.webkit.org/show_bug.cgi?id=115283

Patch by James Craig <[email protected]> on 2013-04-29
Reviewed by Chris Fleizach.

Source/WebCore:

Config change due to this spec update:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21403
http://html5.org/tools/web-apps-tracker?from=7854&to=7855

Updated existing test coverage.

* page/Settings.in:

LayoutTests:

Update test to account for the initial setting change.

* editing/pasteboard/copy-image-with-alt-text.html:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (149339 => 149340)


--- trunk/LayoutTests/ChangeLog	2013-04-30 00:29:21 UTC (rev 149339)
+++ trunk/LayoutTests/ChangeLog	2013-04-30 00:34:18 UTC (rev 149340)
@@ -1,3 +1,14 @@
+2013-04-29  James Craig  <[email protected]>
+
+        Settings.in selectionIncludesAltImageText should default to true, due to update in HTML spec.
+        https://bugs.webkit.org/show_bug.cgi?id=115283
+
+        Reviewed by Chris Fleizach.
+
+        Update test to account for the initial setting change.
+
+        * editing/pasteboard/copy-image-with-alt-text.html:
+
 2013-04-29  Alexey Proskuryakov  <[email protected]>
 
         REGRESSION (r149287?): Assertion failure in fast/frames/flattening/iframe-flattening-crash.html

Modified: trunk/LayoutTests/editing/pasteboard/copy-image-with-alt-text.html (149339 => 149340)


--- trunk/LayoutTests/editing/pasteboard/copy-image-with-alt-text.html	2013-04-30 00:29:21 UTC (rev 149339)
+++ trunk/LayoutTests/editing/pasteboard/copy-image-with-alt-text.html	2013-04-30 00:34:18 UTC (rev 149340)
@@ -27,6 +27,9 @@
 
 window._onload_ = function()
 {
+    if (window.internals)
+        internals.settings.setSelectionIncludesAltImageText(false);
+
     if (window.testRunner)
         testRunner.dumpAsText();
 

Modified: trunk/Source/WebCore/ChangeLog (149339 => 149340)


--- trunk/Source/WebCore/ChangeLog	2013-04-30 00:29:21 UTC (rev 149339)
+++ trunk/Source/WebCore/ChangeLog	2013-04-30 00:34:18 UTC (rev 149340)
@@ -1,3 +1,18 @@
+2013-04-29  James Craig  <[email protected]>
+
+        Settings.in selectionIncludesAltImageText should default to true, due to update in HTML spec.
+        https://bugs.webkit.org/show_bug.cgi?id=115283
+
+        Reviewed by Chris Fleizach.
+
+        Config change due to this spec update:
+        https://www.w3.org/Bugs/Public/show_bug.cgi?id=21403
+        http://html5.org/tools/web-apps-tracker?from=7854&to=7855
+
+        Updated existing test coverage.
+
+        * page/Settings.in:
+
 2013-04-29  Anders Carlsson  <[email protected]>
 
         Make RunLoop ref-counted

Modified: trunk/Source/WebCore/page/Settings.in (149339 => 149340)


--- trunk/Source/WebCore/page/Settings.in	2013-04-30 00:29:21 UTC (rev 149339)
+++ trunk/Source/WebCore/page/Settings.in	2013-04-30 00:34:18 UTC (rev 149340)
@@ -207,5 +207,5 @@
 smartInsertDeleteEnabled initial=defaultSmartInsertDeleteEnabled
 selectTrailingWhitespaceEnabled initial=defaultSelectTrailingWhitespaceEnabled
 
-selectionIncludesAltImageText initial=false
+selectionIncludesAltImageText initial=true
 useLegacyBackgroundSizeShorthandBehavior initial=false
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to