[webkit-changes] [167731] trunk/Tools

2014-04-23 Thread jcraig
Title: [167731] trunk/Tools








Revision 167731
Author jcr...@apple.com
Date 2014-04-23 17:08:28 -0700 (Wed, 23 Apr 2014)


Log Message
Unreviewed. Moving myself from Contributors to Committers list.

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/Scripts/webkitpy/common/config/contributors.json




Diff

Modified: trunk/Tools/ChangeLog (167730 => 167731)

--- trunk/Tools/ChangeLog	2014-04-23 23:17:49 UTC (rev 167730)
+++ trunk/Tools/ChangeLog	2014-04-24 00:08:28 UTC (rev 167731)
@@ -1,3 +1,9 @@
+2014-04-23  James Craig  jcr...@apple.com
+
+Unreviewed. Moving myself from Contributors to Committers list.
+
+* Scripts/webkitpy/common/config/contributors.json:
+
 2014-04-23  Tim Horton  timothy_hor...@apple.com
 
 Mock scrollbars don't always work in DumpRenderTree


Modified: trunk/Tools/Scripts/webkitpy/common/config/contributors.json (167730 => 167731)

--- trunk/Tools/Scripts/webkitpy/common/config/contributors.json	2014-04-23 23:17:49 UTC (rev 167730)
+++ trunk/Tools/Scripts/webkitpy/common/config/contributors.json	2014-04-24 00:08:28 UTC (rev 167731)
@@ -1130,6 +1130,15 @@
 fawek
  ]
   },
+  James Craig : {
+ emails : [
+jcr...@apple.com,
+ja...@cookiecrook.com
+ ],
+ nicks : [
+    jcraig
+ ]
+  },
   James Hawkins : {
  emails : [
 jhawk...@chromium.org,
@@ -2999,15 +3008,6 @@
 hixie
  ]
   },
-  James Craig : {
- emails : [
-jcr...@apple.com,
-ja...@cookiecrook.com
- ],
- nicks : [
-    jcraig
- ]
-  },
   Javier Fernandez : {
  emails : [
 jfernan...@igalia.com






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [167751] trunk/Tools

2014-04-24 Thread jcraig
Title: [167751] trunk/Tools








Revision 167751
Author jcr...@apple.com
Date 2014-04-24 00:07:06 -0700 (Thu, 24 Apr 2014)


Log Message
prepare-Changelog and svn-create-patch should optionally run check-webkit-style.
https://bugs.webkit.org/show_bug.cgi?id=131115

Reviewed by Daniel Bates.

Added [--[no-]style] param to run check-webkit-style as part of prepare-Changelog and svn-create-patch.

* Scripts/commit-log-editor: Added --no-style.
* Scripts/prepare-ChangeLog: Primary patch.
(main): Primary patch.
(createPatchCommand): Added --no-style.
* Scripts/svn-create-patch: Primary patch.
* Scripts/webkit-tools-completion.sh: Added --style and --no-style.
* Scripts/webkitpy/common/checkout/scm/svn.py: Added --no-style.
(SVN.create_patch): Added --no-style.

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/Scripts/commit-log-editor
trunk/Tools/Scripts/prepare-ChangeLog
trunk/Tools/Scripts/svn-create-patch
trunk/Tools/Scripts/webkit-tools-completion.sh
trunk/Tools/Scripts/webkitpy/common/checkout/scm/svn.py




Diff

Modified: trunk/Tools/ChangeLog (167750 => 167751)

--- trunk/Tools/ChangeLog	2014-04-24 06:37:51 UTC (rev 167750)
+++ trunk/Tools/ChangeLog	2014-04-24 07:07:06 UTC (rev 167751)
@@ -1,3 +1,21 @@
+2014-04-23  James Craig  jcr...@apple.com
+
+prepare-Changelog and svn-create-patch should optionally run check-webkit-style.
+https://bugs.webkit.org/show_bug.cgi?id=131115
+
+Reviewed by Daniel Bates.
+
+Added [--[no-]style] param to run check-webkit-style as part of prepare-Changelog and svn-create-patch.
+
+* Scripts/commit-log-editor: Added --no-style.
+* Scripts/prepare-ChangeLog: Primary patch.
+(main): Primary patch.
+(createPatchCommand): Added --no-style.
+* Scripts/svn-create-patch: Primary patch.
+* Scripts/webkit-tools-completion.sh: Added --style and --no-style.
+* Scripts/webkitpy/common/checkout/scm/svn.py: Added --no-style.
+(SVN.create_patch): Added --no-style.
+
 2014-04-23  Anders Carlsson  ander...@apple.com
 
 Try to fix iOS build.


Modified: trunk/Tools/Scripts/commit-log-editor (167750 => 167751)

--- trunk/Tools/Scripts/commit-log-editor	2014-04-24 06:37:51 UTC (rev 167750)
+++ trunk/Tools/Scripts/commit-log-editor	2014-04-24 07:07:06 UTC (rev 167751)
@@ -176,7 +176,7 @@
 chomp($webkitGenerateCommitMessage = `git config --bool core.webkitGenerateCommitMessage`);
 }
 if ($webkitGenerateCommitMessage ne false) {
-open CHANGELOG_ENTRIES, -|, $FindBin::Bin/prepare-ChangeLog --git-index --no-write or die prepare-ChangeLog failed: $!.\n;
+open CHANGELOG_ENTRIES, -|, $FindBin::Bin/prepare-ChangeLog --git-index --no-write --no-style or die prepare-ChangeLog failed: $!.\n;
 while (CHANGELOG_ENTRIES) {
 print NEWLOG normalizeLineEndings($_, $endl);
 }


Modified: trunk/Tools/Scripts/prepare-ChangeLog (167750 => 167751)

--- trunk/Tools/Scripts/prepare-ChangeLog	2014-04-24 06:37:51 UTC (rev 167750)
+++ trunk/Tools/Scripts/prepare-ChangeLog	2014-04-24 07:07:06 UTC (rev 167751)
@@ -128,6 +128,7 @@
 my $gitCommit = 0;
 my $gitIndex = ;
 my $gitReviewer = ;
+my $checkWebKitStyle = 1;
 my $openChangeLogs = 0;
 my $writeChangeLogs = 1;
 my $showHelp = 0;
@@ -144,6 +145,7 @@
git-index = \$gitIndex,
git-reviewer:s = \$gitReviewer,
help|h! = \$showHelp,
+   style! = \$checkWebKitStyle,
open|o! = \$openChangeLogs,
write! = \$writeChangeLogs,
update! = \$updateChangeLogs);
@@ -158,6 +160,7 @@
 print STDERR   --git-reviewer  When populating the ChangeLogs from a git commit claim that the spcified name reviewed the change.\n;
 print STDERR   This option is useful when the git commit lacks a Signed-Off-By: line\n;
 print STDERR   -h|--help   Show this help message\n;
+print STDERR   --[no-]styleRun check-webkit-style script when done (default: style)\n;
 print STDERR   -o|--open   Open ChangeLogs in an editor when done\n;
 print STDERR   --[no-]update   Update ChangeLogs from svn before adding entry (default: update)\n;
 print STDERR   --[no-]writeWrite ChangeLogs to disk (otherwise send new entries to stdout) (default: write)\n;
@@ -225,6 +228,11 @@
 printDiff($changedFiles, $gitCommit, $gitIndex, $mergeBase);
 }
 
+if ($checkWebKitStyle) {
+print STDERR   Running check-webkit-style.\n  ;
+system $FindBin::Bin/check-webkit-style;
+}  
+
 # Open ChangeLogs.
 if ($openChangeLogs  @$changeLogs) {
 openChangeLogs($changeLogs);
@@ -1657,7 +1665,7 @@
 
 my $command;
 if (isSVN()) {
-$command = '$FindBin::Bin/svn-create-patch' $changedFilesString;
+$command = '$FindBin::Bin/svn-create-patch --no-style' 

[webkit-changes] [167834] trunk/Tools

2014-04-25 Thread jcraig
Title: [167834] trunk/Tools








Revision 167834
Author jcr...@apple.com
Date 2014-04-25 16:48:10 -0700 (Fri, 25 Apr 2014)


Log Message
Set prepare-Changelog flag so that it no longer runs check-webkit-style by default
https://bugs.webkit.org/show_bug.cgi?id=132209

Reviewed by Daniel Bates.

Set default to --no-style to avoid additional spew from false positives in check-webkit-style.
Run check-webkit-style before generating changelogs to avoid additional spurious errors.

* Scripts/prepare-ChangeLog:
(main):

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/Scripts/prepare-ChangeLog




Diff

Modified: trunk/Tools/ChangeLog (167833 => 167834)

--- trunk/Tools/ChangeLog	2014-04-25 23:43:15 UTC (rev 167833)
+++ trunk/Tools/ChangeLog	2014-04-25 23:48:10 UTC (rev 167834)
@@ -1,3 +1,16 @@
+2014-04-25  James Craig  jcr...@apple.com
+
+Set prepare-Changelog flag so that it no longer runs check-webkit-style by default
+https://bugs.webkit.org/show_bug.cgi?id=132209
+
+Reviewed by Daniel Bates.
+
+Set default to --no-style to avoid additional spew from false positives in check-webkit-style.
+Run check-webkit-style before generating changelogs to avoid additional spurious errors.
+
+* Scripts/prepare-ChangeLog:
+(main): 
+
 2014-04-25  Michael Saboff  msab...@apple.com
 
 Crash in platform/mac/accessibility/table-visible-rows.html


Modified: trunk/Tools/Scripts/prepare-ChangeLog (167833 => 167834)

--- trunk/Tools/Scripts/prepare-ChangeLog	2014-04-25 23:43:15 UTC (rev 167833)
+++ trunk/Tools/Scripts/prepare-ChangeLog	2014-04-25 23:48:10 UTC (rev 167834)
@@ -128,7 +128,7 @@
 my $gitCommit = 0;
 my $gitIndex = ;
 my $gitReviewer = ;
-my $checkWebKitStyle = 1;
+my $checkWebKitStyle;
 my $openChangeLogs = 0;
 my $writeChangeLogs = 1;
 my $showHelp = 0;
@@ -168,6 +168,11 @@
 return 1;
 }
 
+if ($checkWebKitStyle) {
+print STDERR   Running check-webkit-style.\n  ;
+system $FindBin::Bin/check-webkit-style;
+}
+
 die --git-commit and --git-index are incompatible. if ($gitIndex  $gitCommit);
 
 isSVN() || isGit() || die Couldn't determine your version control system.;
@@ -228,11 +233,6 @@
 printDiff($changedFiles, $gitCommit, $gitIndex, $mergeBase);
 }
 
-if ($checkWebKitStyle) {
-print STDERR   Running check-webkit-style.\n  ;
-system $FindBin::Bin/check-webkit-style;
-}  
-
 # Open ChangeLogs.
 if ($openChangeLogs  @$changeLogs) {
 openChangeLogs($changeLogs);






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [170138] trunk

2014-06-18 Thread jcraig
Title: [170138] trunk








Revision 170138
Author jcr...@apple.com
Date 2014-06-18 19:19:18 -0700 (Wed, 18 Jun 2014)


Log Message
Web Inspector: AXI: expose aria-relevant
https://bugs.webkit.org/show_bug.cgi?id=130913

Reviewed by Joseph Pecoraro.

Expose ARIA live region relevance in Web Inspector.
E.g. Live: Assertive (Additions, Text)

Source/WebCore:
Test: inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion.html

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties): Support for liveRegionRelevant.
* inspector/protocol/DOM.json: Defined enum values and array passed to client.

Source/WebInspectorUI:
* Localizations/en.lproj/localizedStrings.js: New strings.
* UserInterface/Models/DOMNode.js: One additional property passed.
* UserInterface/Views/DOMNodeDetailsSidebarPanel.js: UI updates to support new property.

LayoutTests:
* inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt: Minor update.
* inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion-expected.txt: Updated with new output.
* inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion.html: Updated with new elements.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt
trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion-expected.txt
trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion.html
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp
trunk/Source/WebCore/inspector/protocol/DOM.json
trunk/Source/WebInspectorUI/ChangeLog
trunk/Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
trunk/Source/WebInspectorUI/UserInterface/Models/DOMNode.js
trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js




Diff

Modified: trunk/LayoutTests/ChangeLog (170137 => 170138)

--- trunk/LayoutTests/ChangeLog	2014-06-19 00:30:50 UTC (rev 170137)
+++ trunk/LayoutTests/ChangeLog	2014-06-19 02:19:18 UTC (rev 170138)
@@ -1,3 +1,17 @@
+2014-06-18  James Craig  jcr...@apple.com
+
+Web Inspector: AXI: expose aria-relevant
+https://bugs.webkit.org/show_bug.cgi?id=130913
+
+Reviewed by Joseph Pecoraro.
+
+Expose ARIA live region relevance in Web Inspector.
+E.g. Live: Assertive (Additions, Text)
+
+* inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt: Minor update.
+* inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion-expected.txt: Updated with new output.
+* inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion.html: Updated with new elements.
+
 2014-06-18  Simon Fraser  simon.fra...@apple.com
 
 Add rebeccapurple to CSS named color list


Modified: trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt (170137 => 170138)

--- trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt	2014-06-19 00:30:50 UTC (rev 170137)
+++ trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt	2014-06-19 02:19:18 UTC (rev 170138)
@@ -423,6 +423,7 @@
 role: group
 childNodeIds.length: 1
 liveRegionAtomic: true
+liveRegionRelevant: additions,text
 liveRegionStatus: assertive
 parentNodeId: exists
 
@@ -432,6 +433,7 @@
 role: group
 childNodeIds.length: 1
 liveRegionAtomic: false
+liveRegionRelevant: additions,text
 liveRegionStatus: polite
 parentNodeId: exists
 


Modified: trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion-expected.txt (170137 => 170138)

--- trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion-expected.txt	2014-06-19 00:30:50 UTC (rev 170137)
+++ trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode_liveRegion-expected.txt	2014-06-19 02:19:18 UTC (rev 170138)
@@ -1,7 +1,91 @@
 Checking Web Inspector protocol (specifically live region properties) for the Accessibility Node Inspector.
 
-Total elements to be tested: 17.
+Total elements to be tested: 31.
 
+div role=alert aria-relevant=text textrelevant: text (duplicate)/div
+exists: true
+liveRegionAtomic: true
+liveRegionRelevant: text
+liveRegionStatus: assertive
+
+div role=alert aria-relevant=additions removals removalsrelevant: additions removals (duplicate)/div
+exists: true
+liveRegionAtomic: true
+liveRegionRelevant: additions,removals
+liveRegionStatus: assertive
+
+div role=alert aria-relevant=text removals additionsrelevant: all (implicit)/div
+exists: true
+liveRegionAtomic: true
+liveRegionRelevant: additions,removals,text
+liveRegionStatus: assertive
+
+div role=alert aria-relevant=text additions removalsrelevant: all (implicit)/div
+exists: true
+liveRegionAtomic: true
+

[webkit-changes] [172136] trunk

2014-08-06 Thread jcraig
Title: [172136] trunk








Revision 172136
Author jcr...@apple.com
Date 2014-08-05 23:21:03 -0700 (Tue, 05 Aug 2014)


Log Message
Web Inspector: AXI: Add label string once AccessibilityObject::computedLabel() is available
https://bugs.webkit.org/show_bug.cgi?id=129940

Reviewed by Chris Fleizach.

Source/WebCore:

Test: inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt

* accessibility/AccessibilityObject.cpp: Fixed crash.
(WebCore::AccessibilityObject::accessibilityComputedLabel):
* accessibility/AccessibilityObject.h: Method name update.
* inspector/InspectorDOMAgent.cpp: New support for getting Node label from AccessibilityObject.
(WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):

Source/WebInspectorUI:

* UserInterface/Views/DOMNodeDetailsSidebarPanel.js: UI update for label field in Node Inspector.
(WebInspector.DOMNodeDetailsSidebarPanel.prototype._refreshAccessibility):

LayoutTests:

* inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt: LayoutTest expectation update.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
trunk/Source/WebCore/accessibility/AccessibilityObject.h
trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp
trunk/Source/WebInspectorUI/ChangeLog
trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js




Diff

Modified: trunk/LayoutTests/ChangeLog (172135 => 172136)

--- trunk/LayoutTests/ChangeLog	2014-08-06 06:14:48 UTC (rev 172135)
+++ trunk/LayoutTests/ChangeLog	2014-08-06 06:21:03 UTC (rev 172136)
@@ -1,3 +1,12 @@
+2014-08-05  James Craig  jcr...@apple.com
+
+Web Inspector: AXI: Add label string once AccessibilityObject::computedLabel() is available
+https://bugs.webkit.org/show_bug.cgi?id=129940
+
+Reviewed by Chris Fleizach.
+
+* inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt: LayoutTest expectation update.
+
 2014-07-29  Filip Pizlo  fpi...@apple.com
 
 Merge r170564, r170571, r170604, r170628, r170672, r170680, r170724, r170728, r170729, r170819, r170821, r170836, r170855, r170860, r170890, r170907, r170929, r171052, r171106, r171152, r171153, r171214 from ftlopt.


Modified: trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt (172135 => 172136)

--- trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt	2014-08-06 06:14:48 UTC (rev 172135)
+++ trunk/LayoutTests/inspector-protocol/dom/getAccessibilityPropertiesForNode-expected.txt	2014-08-06 06:21:03 UTC (rev 172136)
@@ -56,14 +56,14 @@
 
 div role=option aria-busy=truebusy (self)/div
 exists: true
-label: 
+label: busy (self)
 role: option
 busy: true
 parentNodeId: exists
 
 div role=optionbusy (parent)/div
 exists: true
-label: 
+label: busy (parent)
 role: option
 busy: true
 parentNodeId: exists
@@ -83,13 +83,13 @@
 
 div role=tab aria-selected=falsenot selected/div
 exists: true
-label: 
+label: not selected
 role: tab
 parentNodeId: exists
 
 div role=tab aria-selected=trueselected/div
 exists: true
-label: 
+label: selected
 role: tab
 parentNodeId: exists
 selected: true
@@ -107,13 +107,13 @@
 
 div role=option aria-selected=falsenot selected/div
 exists: true
-label: 
+label: not selected
 role: option
 parentNodeId: exists
 
 div role=option aria-selected=trueselected/div
 exists: true
-label: 
+label: selected
 role: option
 parentNodeId: exists
 selected: true
@@ -157,7 +157,7 @@
 
 img src="" alt=x aria-hidden=true
 exists: true
-label: 
+label: x
 role: img
 ignored: true
 ignoredByDefault: true
@@ -165,7 +165,7 @@
 
 img src="" alt=x
 exists: true
-label: 
+label: x
 role: img
 
 img src="" alt=
@@ -202,7 +202,7 @@
 
 div role=radio aria-checked=falseunchecked/div
 exists: true
-label: 
+label: unchecked
 role: radio
 checked: false
 parentNodeId: exists
@@ -210,7 +210,7 @@
 
 div role=radio aria-checked=mixedunchecked [sic] mixed state will not be exposed on radios per ARIA spec./div
 exists: true
-label: 
+label: unchecked [sic] mixed state will not be exposed on radios per ARIA spec.
 role: radio
 checked: false
 parentNodeId: exists
@@ -218,7 +218,7 @@
 
 div role=radio aria-checked=truechecked/div
 exists: true
-label: 
+label: checked
 role: radio
 checked: true
 parentNodeId: exists
@@ -226,7 +226,7 @@
 
 div role=radiounchecked (checked undefined evals to false on radio)/div
 exists: true
-label: 
+label: unchecked (checked undefined evals to false on radio)
 role: radio
 checked: false
 parentNodeId: exists
@@ -250,7 +250,7 @@
 
 div role=checkbox 

[webkit-changes] [188182] trunk

2015-08-07 Thread jcraig
Title: [188182] trunk








Revision 188182
Author jcr...@apple.com
Date 2015-08-07 19:14:43 -0700 (Fri, 07 Aug 2015)


Log Message
REGRESSION(r184722) AX: WebKit video playback toolbar removed from DOM; no longer accessible to VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=145684

Reviewed by Dean Jackson.

Source/WebCore:

Updated Apple Video controls to add an invisible but focusable button that allows VoiceOver
users (and when unblocked, keyboard users) to re-display the video controls.

Test: media/video-controls-show-on-kb-or-ax-event.html

* English.lproj/mediaControlsLocalizedStrings.js:
* Modules/mediacontrols/mediaControlsApple.css:
(audio::-webkit-media-show-controls):
(video::-webkit-media-show-controls):
* Modules/mediacontrols/mediaControlsApple.js:
(Controller.prototype.createControls):
(Controller.prototype.handleFullscreenChange):
(Controller.prototype.handleShowControlsClick):
(Controller.prototype.handleWrapperMouseMove):
(Controller.prototype.updateForShowingControls):
(Controller.prototype.showControls):
(Controller.prototype.hideControls):
(Controller.prototype.setNeedsUpdateForDisplayedWidth):
* Modules/mediacontrols/mediaControlsiOS.css:
(audio::-webkit-media-show-controls):
(video::-webkit-media-show-controls):

LayoutTests:

* http/tests/contentextensions/text-track-blocked-expected.txt: Minor update to test case expectation.
* media/video-controls-show-on-kb-or-ax-event-expected.txt: Added.
* media/video-controls-show-on-kb-or-ax-event.html: New test validates video controls can be displayed without the need for a mouse.
* platform/mac/media/track/track-cue-rendering-horizontal-expected.txt: Minor update to test case expectation.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt
trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-horizontal-expected.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/English.lproj/mediaControlsLocalizedStrings.js
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.js
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css


Added Paths

trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event-expected.txt
trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html




Diff

Modified: trunk/LayoutTests/ChangeLog (188181 => 188182)

--- trunk/LayoutTests/ChangeLog	2015-08-08 01:13:48 UTC (rev 188181)
+++ trunk/LayoutTests/ChangeLog	2015-08-08 02:14:43 UTC (rev 188182)
@@ -1,3 +1,15 @@
+2015-08-07  James Craig  jcr...@apple.com
+
+REGRESSION(r184722) AX: WebKit video playback toolbar removed from DOM; no longer accessible to VoiceOver
+https://bugs.webkit.org/show_bug.cgi?id=145684
+
+Reviewed by Dean Jackson.
+
+* http/tests/contentextensions/text-track-blocked-expected.txt: Minor update to test case expectation.
+* media/video-controls-show-on-kb-or-ax-event-expected.txt: Added.
+* media/video-controls-show-on-kb-or-ax-event.html: New test validates video controls can be displayed without the need for a mouse.
+* platform/mac/media/track/track-cue-rendering-horizontal-expected.txt: Minor update to test case expectation.
+
 2015-08-07  Myles C. Maxfield  mmaxfi...@apple.com
 
 [Mac] Test gardening


Modified: trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt (188181 => 188182)

--- trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt	2015-08-08 01:13:48 UTC (rev 188181)
+++ trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt	2015-08-08 02:14:43 UTC (rev 188182)
@@ -14,3 +14,5 @@
   RenderVideo {VIDEO} at (0,18) size 320x240
 layer at (8,26) size 320x240
   RenderFlexibleBox {DIV} at (0,0) size 320x240
+layer at (8,256) size 320x10
+  RenderButton {BUTTON} at (0,230) size 320x10 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]


Added: trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event-expected.txt (0 => 188182)

--- trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event-expected.txt	(rev 0)
+++ trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event-expected.txt	2015-08-08 02:14:43 UTC (rev 188182)
@@ -0,0 +1,6 @@
+This tests that, after the video controls fade out, they can be shown when VoiceOver or a keyboard user clicks the hidden Show Controls button.
+
+PASS
+
+
+


Added: trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html (0 => 188182)

--- trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html	(rev 0)
+++ trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html	2015-08-08 02:14:43 UTC (rev 188182)
@@ -0,0 +1,42 @@
+body
+p
+This tests that, after the video controls fade out, they can be shown when VoiceOver or a keyboard user clicks the hidden Show Controls button.
+/p
+p id=result
+FAIL: Test 

[webkit-changes] [188213] trunk

2015-08-10 Thread jcraig
Title: [188213] trunk








Revision 188213
Author jcr...@apple.com
Date 2015-08-10 09:01:19 -0700 (Mon, 10 Aug 2015)


Log Message
AX: Address follow-up comments in bug 145684
https://bugs.webkit.org/show_bug.cgi?id=147817

Reviewed by Dean Jackson.

Minor cleanup and style updates requested by Dean.
Source/WebCore:

Updated Existing Test Expectations.

* Modules/mediacontrols/mediaControlsApple.css:
(video::-webkit-media-show-controls):
* Modules/mediacontrols/mediaControlsiOS.css:
(video::-webkit-media-show-controls):

LayoutTests:

* http/tests/contentextensions/text-track-blocked-expected.txt:
* media/video-controls-show-on-kb-or-ax-event.html:
* platform/mac/media/track/track-cue-rendering-horizontal-expected.txt:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt
trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html
trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-horizontal-expected.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsApple.css
trunk/Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css




Diff

Modified: trunk/LayoutTests/ChangeLog (188212 => 188213)

--- trunk/LayoutTests/ChangeLog	2015-08-10 14:12:19 UTC (rev 188212)
+++ trunk/LayoutTests/ChangeLog	2015-08-10 16:01:19 UTC (rev 188213)
@@ -1,3 +1,16 @@
+2015-08-10  James Craig  jcr...@apple.com
+
+AX: Address follow-up comments in bug 145684
+https://bugs.webkit.org/show_bug.cgi?id=147817
+
+Reviewed by Dean Jackson.
+
+Minor cleanup and style updates requested by Dean.
+
+* http/tests/contentextensions/text-track-blocked-expected.txt:
+* media/video-controls-show-on-kb-or-ax-event.html:
+* platform/mac/media/track/track-cue-rendering-horizontal-expected.txt:
+
 2015-08-07  Antti Koivisto  an...@apple.com
 
 Expand network cache tests to cover memory cache behavior


Modified: trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt (188212 => 188213)

--- trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt	2015-08-10 14:12:19 UTC (rev 188212)
+++ trunk/LayoutTests/http/tests/contentextensions/text-track-blocked-expected.txt	2015-08-10 16:01:19 UTC (rev 188213)
@@ -15,4 +15,4 @@
 layer at (8,26) size 320x240
   RenderFlexibleBox {DIV} at (0,0) size 320x240
 layer at (8,256) size 320x10
-  RenderButton {BUTTON} at (0,230) size 320x10 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+  RenderButton {BUTTON} at (0,230) size 320x10


Modified: trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html (188212 => 188213)

--- trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html	2015-08-10 14:12:19 UTC (rev 188212)
+++ trunk/LayoutTests/media/video-controls-show-on-kb-or-ax-event.html	2015-08-10 16:01:19 UTC (rev 188213)
@@ -27,9 +27,8 @@
 if (button) {
 button.focus();
 eventSender.keyDown(' '); // Use keyboard to press the selected button.
-} else {
+} else
 result.innerHTML += 'FAIL: Show Controls button is not available.br';	
-}
 
 // Verifies the toolbar is back in the DOM.
 var controls = root.firstChild.querySelector('[role=toolbar]');


Modified: trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-horizontal-expected.txt (188212 => 188213)

--- trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-horizontal-expected.txt	2015-08-10 14:12:19 UTC (rev 188212)
+++ trunk/LayoutTests/platform/mac/media/track/track-cue-rendering-horizontal-expected.txt	2015-08-10 16:01:19 UTC (rev 188213)
@@ -61,4 +61,4 @@
 RenderText {#text} at (0,0) size 275x14
   text run at (0,0) width 275: Cue 6: should be on top of bottom positioned cue 5.
 layer at (8,238) size 320x10
-  RenderButton {BUTTON} at (0,230) size 320x10 [bgcolor=#C0C0C0] [border: (2px outset #C0C0C0)]
+  RenderButton {BUTTON} at (0,230) size 320x10


Modified: trunk/Source/WebCore/ChangeLog (188212 => 188213)

--- trunk/Source/WebCore/ChangeLog	2015-08-10 14:12:19 UTC (rev 188212)
+++ trunk/Source/WebCore/ChangeLog	2015-08-10 16:01:19 UTC (rev 188213)
@@ -1,3 +1,18 @@
+2015-08-10  James Craig  jcr...@apple.com
+
+AX: Address follow-up comments in bug 145684
+https://bugs.webkit.org/show_bug.cgi?id=147817
+
+Reviewed by Dean Jackson.
+
+Minor cleanup and style updates requested by Dean.
+Updated Existing Test Expectations.
+
+* Modules/mediacontrols/mediaControlsApple.css:
+(video::-webkit-media-show-controls):
+* Modules/mediacontrols/mediaControlsiOS.css:
+(video::-webkit-media-show-controls):
+
 2015-08-07  Antti Koivisto  an...@apple.com
 
 Expand network cache tests to cover memory cache behavior


Modified: 

[webkit-changes] [191281] trunk/Source/WebInspectorUI

2015-10-19 Thread jcraig
Title: [191281] trunk/Source/WebInspectorUI








Revision 191281
Author jcr...@apple.com
Date 2015-10-19 01:56:28 -0700 (Mon, 19 Oct 2015)


Log Message
Web Inspector: AX: console list 'input'/'output' markers are not perceivable
https://bugs.webkit.org/show_bug.cgi?id=133045

Enabling WebKit Web Inspector console pseudo-element labels using the new CSS4 'alt' property.

Reviewed by Brian Burg.

* UserInterface/Views/LogContentView.css:
(.search-in-progress .console-item:not(.filtered-out-by-search) .highlighted.selected):
(.console-messages:focus .console-item.selected .console-user-command-result.console-log-level::before):
(@media reader): Deleted.

Modified Paths

trunk/Source/WebInspectorUI/ChangeLog
trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css




Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (191280 => 191281)

--- trunk/Source/WebInspectorUI/ChangeLog	2015-10-19 07:17:35 UTC (rev 191280)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-10-19 08:56:28 UTC (rev 191281)
@@ -1,3 +1,17 @@
+2015-10-19  James Craig  
+
+Web Inspector: AX: console list 'input'/'output' markers are not perceivable
+https://bugs.webkit.org/show_bug.cgi?id=133045
+
+Enabling WebKit Web Inspector console pseudo-element labels using the new CSS4 'alt' property.
+
+Reviewed by Brian Burg.
+
+* UserInterface/Views/LogContentView.css: 
+(.search-in-progress .console-item:not(.filtered-out-by-search) .highlighted.selected):
+(.console-messages:focus .console-item.selected .console-user-command-result.console-log-level::before):
+(@media reader): Deleted.
+
 2015-10-18  Joseph Pecoraro  
 
 Web Inspector: Console Search should update when console is cleared


Modified: trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css (191280 => 191281)

--- trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2015-10-19 07:17:35 UTC (rev 191280)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.css	2015-10-19 08:56:28 UTC (rev 191281)
@@ -199,13 +199,10 @@
 background-color: hsla(53, 83%, 53%, 0.75);
 }
 
-/* @media reader currently blocked by: http://webkit.org/b/118096 */
-@media reader {
-.console-user-command::before,
-.console-messages:focus .console-item.selected .console-user-command::before,
-.console-user-command-result.console-log-level::before,
-.console-messages:focus .console-item.selected .console-user-command-result.console-log-level::before {
-/* accessible label alternative for icon indicating console input/output/warning/error, etc. */
-content: attr(data-labelprefix);
-}
+.console-user-command::before,
+.console-messages:focus .console-item.selected .console-user-command::before,
+.console-user-command-result.console-log-level::before,
+.console-messages:focus .console-item.selected .console-user-command-result.console-log-level::before {
+/* Accessible label alternative for icon indicating console input/output/warning/error, etc. */
+alt: attr(data-labelprefix);
 }






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [207707] trunk/Tools

2016-10-22 Thread jcraig
Title: [207707] trunk/Tools








Revision 207707
Author jcr...@apple.com
Date 2016-10-21 23:14:21 -0700 (Fri, 21 Oct 2016)


Log Message
Unreviewed: Added Aaron Chu  to contributors list.


* Scripts/webkitpy/common/config/contributors.json:

Modified Paths

trunk/Tools/ChangeLog
trunk/Tools/Scripts/webkitpy/common/config/contributors.json




Diff

Modified: trunk/Tools/ChangeLog (207706 => 207707)

--- trunk/Tools/ChangeLog	2016-10-22 06:07:20 UTC (rev 207706)
+++ trunk/Tools/ChangeLog	2016-10-22 06:14:21 UTC (rev 207707)
@@ -1,3 +1,9 @@
+2016-10-21  James Craig  
+
+Unreviewed: Added Aaron Chu  to contributors list.
+
+* Scripts/webkitpy/common/config/contributors.json:
+
 2016-10-21  Commit Queue  
 
 Unreviewed, rolling out r207582.


Modified: trunk/Tools/Scripts/webkitpy/common/config/contributors.json (207706 => 207707)

--- trunk/Tools/Scripts/webkitpy/common/config/contributors.json	2016-10-22 06:07:20 UTC (rev 207706)
+++ trunk/Tools/Scripts/webkitpy/common/config/contributors.json	2016-10-22 06:14:21 UTC (rev 207707)
@@ -17,6 +17,14 @@
   ],
   "status" : "committer"
},
+   "Aaron Chu" : {
+  "emails" : [
+ "aaron_...@apple.com"
+  ],
+  "nicks" : [
+ "aaron_chu"
+  ]
+   },
"Aaron Colwell" : {
   "emails" : [
  "acolw...@chromium.org"






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [214623] trunk

2017-03-30 Thread jcraig
Title: [214623] trunk








Revision 214623
Author jcr...@apple.com
Date 2017-03-30 14:13:21 -0700 (Thu, 30 Mar 2017)


Log Message
AX: Expose a new AXSubrole for explicit ARIA "group" role
https://bugs.webkit.org/show_bug.cgi?id=169810


Reviewed by Chris Fleizach.

Source/WebCore:

Split GroupRole into generics (GroupRole) and explicit groups
(ApplicationGroupRole) so we can expose a subrole on the explicit
groups. Account for the change in ARIA Tree and Menu hierachies.
Update the computedRoleValue for WebKit Inspector usage, too.

Updated existing tests.

Test: accessibility/list-detection2.html:
Test: accessibility/roles-computedRoleString.html:
Test: inspector/dom/getAccessibilityPropertiesForNode.html:
Test: inspector/dom/highlightFrame.html:
Test: inspector/dom/highlightSelector.html:

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::helpText):
(WebCore::AccessibilityNodeObject::hierarchicalLevel):
(WebCore::AccessibilityNodeObject::remapAriaRoleDueToParent):
* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::accessibleNameDerivesFromContent):
(WebCore::AccessibilityObject::ariaTreeItemContent):
(WebCore::initializeRoleMap):
(WebCore::AccessibilityObject::computedRoleString):
* accessibility/AccessibilityObject.h:
* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(atkRole):
* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
* accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
(createAccessibilityRoleMap):
(-[WebAccessibilityObjectWrapper subrole]):

Source/WebKit/win:

Account for Windows platform role mapping.

* AccessibleBase.cpp:
(MSAARole):

LayoutTests:

* accessibility/list-detection2-expected.txt:
* accessibility/list-detection2.html:
* accessibility/roles-computedRoleString.html:
* inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
* inspector/dom/highlightFrame-expected.txt:
* inspector/dom/highlightSelector-expected.txt:
* platform/mac/accessibility/roles-computedRoleString-expected.txt:
* platform/mac/accessibility/roles-exposed-expected.txt:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/accessibility/list-detection2-expected.txt
trunk/LayoutTests/accessibility/list-detection2.html
trunk/LayoutTests/accessibility/roles-computedRoleString.html
trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt
trunk/LayoutTests/inspector/dom/highlightFrame-expected.txt
trunk/LayoutTests/inspector/dom/highlightSelector-expected.txt
trunk/LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt
trunk/LayoutTests/platform/mac/accessibility/roles-exposed-expected.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/accessibility/AccessibilityNodeObject.cpp
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp
trunk/Source/WebCore/accessibility/AccessibilityObject.h
trunk/Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp
trunk/Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm
trunk/Source/WebKit/win/AccessibleBase.cpp
trunk/Source/WebKit/win/ChangeLog




Diff

Modified: trunk/LayoutTests/ChangeLog (214622 => 214623)

--- trunk/LayoutTests/ChangeLog	2017-03-30 21:10:54 UTC (rev 214622)
+++ trunk/LayoutTests/ChangeLog	2017-03-30 21:13:21 UTC (rev 214623)
@@ -1,3 +1,20 @@
+2017-03-30  James Craig  
+
+AX: Expose a new AXSubrole for explicit ARIA "group" role
+https://bugs.webkit.org/show_bug.cgi?id=169810
+
+
+Reviewed by Chris Fleizach.
+
+* accessibility/list-detection2-expected.txt:
+* accessibility/list-detection2.html:
+* accessibility/roles-computedRoleString.html:
+* inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
+* inspector/dom/highlightFrame-expected.txt:
+* inspector/dom/highlightSelector-expected.txt:
+* platform/mac/accessibility/roles-computedRoleString-expected.txt:
+* platform/mac/accessibility/roles-exposed-expected.txt:
+
 2017-03-30  Youenn Fablet  
 
 webrtc/video-stats.html and webrtc/video-replace-track.html are flaky


Modified: trunk/LayoutTests/accessibility/list-detection2-expected.txt (214622 => 214623)

--- trunk/LayoutTests/accessibility/list-detection2-expected.txt	2017-03-30 21:10:54 UTC (rev 214622)
+++ trunk/LayoutTests/accessibility/list-detection2-expected.txt	2017-03-30 21:13:21 UTC (rev 214623)
@@ -17,9 +17,9 @@
 PASS: ul w/ bullet content on inline ::before -> list. 
 PASS: ol w/ counter content on ::before -> list. 
 PASS: ol w/ counter content on inline ::before -> list. 
-PASS: ul w/ background image (NOT A LIST) -> group. 
-PASS: ul w/ background on ::before (NOT A LIST) -> group. 
-PASS: ul w/o explicit role and displayed inline, which defaults to no markers (NOT A LIST) -> group. 
-PASS: ol w/o 

[webkit-changes] [213235] trunk

2017-03-01 Thread jcraig
Title: [213235] trunk








Revision 213235
Author jcr...@apple.com
Date 2017-03-01 11:41:56 -0800 (Wed, 01 Mar 2017)


Log Message
AX: add role aliases for ARIA DPUB module
https://bugs.webkit.org/show_bug.cgi?id=168978


Reviewed by Chris Fleizach.

Source/WebCore:

Added role aliases for ARIA DPUB module, and updated existing tests.

Test: accessibility/roles-exposed.html
Test: inspector/dom/getAccessibilityPropertiesForNode.html

* accessibility/AccessibilityObject.cpp:
(WebCore::initializeRoleMap):

LayoutTests:

Added role aliases for ARIA DPUB module.

* accessibility/roles-exposed-expected.txt:
* accessibility/roles-exposed.html:
* inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
* inspector/dom/getAccessibilityPropertiesForNode.html:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/accessibility/roles-exposed.html
trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt
trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode.html
trunk/LayoutTests/platform/mac/accessibility/roles-exposed-expected.txt
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/accessibility/AccessibilityObject.cpp




Diff

Modified: trunk/LayoutTests/ChangeLog (213234 => 213235)

--- trunk/LayoutTests/ChangeLog	2017-03-01 19:30:29 UTC (rev 213234)
+++ trunk/LayoutTests/ChangeLog	2017-03-01 19:41:56 UTC (rev 213235)
@@ -1,3 +1,18 @@
+2017-03-01  James Craig  
+
+AX: add role aliases for ARIA DPUB module
+https://bugs.webkit.org/show_bug.cgi?id=168978
+
+
+Reviewed by Chris Fleizach.
+
+Added role aliases for ARIA DPUB module.
+
+* accessibility/roles-exposed-expected.txt:
+* accessibility/roles-exposed.html:
+* inspector/dom/getAccessibilityPropertiesForNode-expected.txt:
+* inspector/dom/getAccessibilityPropertiesForNode.html:
+
 2017-03-01  Ryan Haddad  
 
 Mark media/modern-media-controls/fullscreen-support/fullscreen-support-enabled.html as flaky on ios-simulator.


Modified: trunk/LayoutTests/accessibility/roles-exposed.html (213234 => 213235)

--- trunk/LayoutTests/accessibility/roles-exposed.html	2017-03-01 19:30:29 UTC (rev 213234)
+++ trunk/LayoutTests/accessibility/roles-exposed.html	2017-03-01 19:41:56 UTC (rev 213235)
@@ -256,15 +256,56 @@
 X
 X
 X
-X
-X
-
-
-
+
+
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+X
+
+
+
 
-X
-X
-X
+X
+X
+X
 
 
 
@@ -275,7 +316,7 @@
 
 X
 
-
+
 X
 
 X
@@ -296,12 +337,12 @@
 
 X
 X
-X
+X
 X
 
 X
 
-X
+X
 X
 X
 X
@@ -308,12 +349,12 @@
 X
 X
 X
-X
-X
+X
+X
 
 X
 
-X
+X
 X
 X
 X


Modified: trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt (213234 => 213235)

--- trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt	2017-03-01 19:30:29 UTC (rev 213234)
+++ trunk/LayoutTests/inspector/dom/getAccessibilityPropertiesForNode-expected.txt	2017-03-01 19:41:56 UTC (rev 213235)
@@ -4,10 +4,10 @@
 exists: true
 label: 
 role: 
-childNodeIds.length: 54
+childNodeIds.length: 93
 
 
-Total elements to be tested: 83.
+Total elements to be tested: 122.
 
 click
 exists: true
@@ -415,6 +415,279 @@
 focused: false
 required: false
 
+doc-toc
+exists: true
+label: 
+role: navigation
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-tip
+exists: true
+label: 
+role: group
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-subtitle
+exists: true
+label: doc-subtitle
+role: heading
+childNodeIds.length: 1
+parentNodeId: exists
+headingLevel: 2
+
+doc-qna
+exists: true
+label: 
+role: group
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-pullquote
+exists: true
+label: 
+role: group
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-prologue
+exists: true
+label: 
+role: region
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-preface
+exists: true
+label: 
+role: region
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-part
+exists: true
+label: 
+role: region
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-pagelist
+exists: true
+label: 
+role: navigation
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-pagebreak
+exists: true
+label: 
+role: group
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-notice
+exists: true
+label: 
+role: group
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-noteref
+exists: true
+label: doc-noteref
+role: link
+childNodeIds.length: 1
+parentNodeId: exists
+
+doc-introduction
+exists: true
+label: 
+role: region
+

[webkit-changes] [215716] trunk/Websites/webkit.org

2017-04-24 Thread jcraig
Title: [215716] trunk/Websites/webkit.org








Revision 215716
Author jcr...@apple.com
Date 2017-04-24 20:21:29 -0700 (Mon, 24 Apr 2017)


Log Message
2017-04-24  James Craig  

Upload demo files for prefers-reduced-motion post
https://bugs.webkit.org/show_bug.cgi?id=170663

Rubber stamped by Jon Davis.

* blog-files/prefers-reduced-motion: Added.
* blog-files/prefers-reduced-motion/axi.png: Added.
* blog-files/prefers-reduced-motion/prm.htm: Added.

Modified Paths

trunk/Websites/webkit.org/ChangeLog


Added Paths

trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm




Diff

Modified: trunk/Websites/webkit.org/ChangeLog (215715 => 215716)

--- trunk/Websites/webkit.org/ChangeLog	2017-04-25 02:53:49 UTC (rev 215715)
+++ trunk/Websites/webkit.org/ChangeLog	2017-04-25 03:21:29 UTC (rev 215716)
@@ -1,3 +1,14 @@
+2017-04-24  James Craig  
+
+Upload demo files for prefers-reduced-motion post
+https://bugs.webkit.org/show_bug.cgi?id=170663
+
+Rubber stamped by Jon Davis.
+
+* blog-files/prefers-reduced-motion: Added.
+* blog-files/prefers-reduced-motion/axi.png: Added.
+* blog-files/prefers-reduced-motion/prm.htm: Added.
+
 2017-04-18  Jon Davis  
 
 Images in WebKit.org blog article are stretched out


Added: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png

(Binary files differ)

Index: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png
===
--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png	2017-04-25 02:53:49 UTC (rev 215715)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png	2017-04-25 03:21:29 UTC (rev 215716)
Property changes on: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png
___

Added: svn:mime-type
+image/png
\ No newline at end of property

Added: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm (0 => 215716)

--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm	(rev 0)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm	2017-04-25 03:21:29 UTC (rev 215716)
@@ -0,0 +1,156 @@
+
+
+
+Demo: prefers-reduced-motion media query
+
+
+html {
+	font: 100% sans-serif;
+	font: -apple-system-body;
+}
+body {
+	font-size: 0.8em;
+	line-height: 1.1;
+}
+
+
+button {
+	cursor: pointer;
+	font-size: 1em;
+	-webkit-appearance: none;
+	border: solid 1px black;
+	color: black;
+	background-color: white;
+	padding: 0;
+	position: relative;
+}
+button::before {
+	display: block;
+	position: absolute;
+	content: " ";
+	top: 50%;
+	left: 50%;
+	width: 1px;
+	height: 1px;
+	opacity: 0;
+	background-color: rgba(255,100,100,0.3);
+	transition-duration: 0.4s;
+	transition-timing-function: ease-in-out;
+
+	/* Example 1: This value will be modified when 'reduce motion' is enabled. */
+	transition-property: top left width height opacity;
+}
+@media (prefers-reduced-motion) {
+	button::before {
+		/* Example 1: Now only animating the opacity... not size or position, which control the scale effect. */ 
+		transition-property: opacity;
+	}
+}
+button:hover::before, button:focus::before {
+	top: 0;
+	left: 0;
+	width: 100%;
+	height: 100%;
+	opacity:1;
+}
+button > div {
+	margin: 1.5em 2em;
+}
+
+#twirl {
+position: relative;
+border: solid 1px black;
+overflow: hidden;
+}
+#twirl > div {
+	margin: 1.5em 2em;
+}
+
+@keyframes animation-twirl {  
+	0% {
+		transform: rotate(0deg);
+	}
+	100% {
+		transform: rotate(360deg);
+	}
+}
+
+#twirl::after {
+width: 2000px;
+height: 2000px;
+position: absolute;
+top: 50%;
+left: 50%;
+margin-left: -1000px;
+margin-top: -1000px;
+background: repeating-linear-gradient(140deg, rgba(0,0,0,0), rgba(0,0,0,0) 10px, rgba(200,200,200,0.3) 10px, rgba(200,200,200,0.3) 20px);
+background-size: cover;
+content: '';
+animation: animation-twirl 100s infinite;
+}
+
+/* Example 2: Disabling a ongoing, decorative background animation. */
+@media (prefers-reduced-motion) {
+	#twirl::after {
+		animation: none;
+	}
+}
+
+
+#indicator #prmValue {
+	display: inline-block;
+	padding: 0.2em 0.4em;
+	text-transform: uppercase;
+	border: solid 1px #666;
+	background-color: #eee;
+}
+#indicator a {
+	text-decoration: none;
+}
+
+
+
+
+
+Reduced Motion Demos
+
+To test these, enable the "Reduce Motion" setting.
+
+	iOS: Settings > General > Accessibility > Reduce Motion
+	macOS: System Preferences > Accessibility > Display > Reduce Motion
+
+
+Example 1: Using CSS to modify an interaction transition-property
+
+
+	
+		On hover/focus (or tap on mobile), a zoom/scale 

[webkit-changes] [220325] trunk/Websites/webkit.org

2017-08-06 Thread jcraig
Title: [220325] trunk/Websites/webkit.org








Revision 220325
Author jcr...@apple.com
Date 2017-08-06 16:24:17 -0700 (Sun, 06 Aug 2017)


Log Message
2017-08-06  James Craig  

Update prefers-reduced-motion demos to link back to blog post
https://bugs.webkit.org/show_bug.cgi?id=175251

Unreviewed, added some cross links to older demo files.

* blog-files/prefers-reduced-motion/axi.htm:
* blog-files/prefers-reduced-motion/prm.htm:

Modified Paths

trunk/Websites/webkit.org/ChangeLog
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm




Diff

Modified: trunk/Websites/webkit.org/ChangeLog (220324 => 220325)

--- trunk/Websites/webkit.org/ChangeLog	2017-08-06 17:57:26 UTC (rev 220324)
+++ trunk/Websites/webkit.org/ChangeLog	2017-08-06 23:24:17 UTC (rev 220325)
@@ -1,3 +1,13 @@
+2017-08-06  James Craig  
+
+Update prefers-reduced-motion demos to link back to blog post
+https://bugs.webkit.org/show_bug.cgi?id=175251
+
+Unreviewed, added some cross links to older demo files.
+
+* blog-files/prefers-reduced-motion/axi.htm:
+* blog-files/prefers-reduced-motion/prm.htm:
+
 2017-08-04  Jon Davis  
 
 Fixed loading feature status page queries and anchor link URLs


Modified: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm (220324 => 220325)

--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm	2017-08-06 17:57:26 UTC (rev 220324)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm	2017-08-06 23:24:17 UTC (rev 220325)
@@ -20,6 +20,6 @@
 
 
 
-Back to the .
+Back to the WebKit blog post:  or .
 
 
\ No newline at end of file


Modified: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm (220324 => 220325)

--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm	2017-08-06 17:57:26 UTC (rev 220324)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm	2017-08-06 23:24:17 UTC (rev 220325)
@@ -112,7 +112,7 @@
 
 
 
-Reduced Motion Demos
+Reduced Motion Demos for WebKit blog post: 
 
 To test these, enable the "Reduce Motion" setting.
 
@@ -169,5 +169,7 @@
 
 
 
+Return to WebKit blog post: 
+
 
 
\ No newline at end of file






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [216855] trunk/Websites/webkit.org

2017-05-14 Thread jcraig
Title: [216855] trunk/Websites/webkit.org








Revision 216855
Author jcr...@apple.com
Date 2017-05-14 22:00:08 -0700 (Sun, 14 May 2017)


Log Message
2017-05-14  James Craig  

AX: All the articles on the WebKit blog are called 'Clickable Link' by VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=172096


Unreviewed. Fixing broken link titles for screen readers.

* wp-content/themes/webkit/loop.php: Adding relevant link label for accessibility.

Modified Paths

trunk/Websites/webkit.org/ChangeLog
trunk/Websites/webkit.org/wp-content/themes/webkit/loop.php




Diff

Modified: trunk/Websites/webkit.org/ChangeLog (216854 => 216855)

--- trunk/Websites/webkit.org/ChangeLog	2017-05-15 03:45:30 UTC (rev 216854)
+++ trunk/Websites/webkit.org/ChangeLog	2017-05-15 05:00:08 UTC (rev 216855)
@@ -1,3 +1,13 @@
+2017-05-14  James Craig  
+
+AX: All the articles on the WebKit blog are called "Clickable Link" by VoiceOver
+https://bugs.webkit.org/show_bug.cgi?id=172096
+
+
+Unreviewed. Fixing broken link titles for screen readers.
+
+* wp-content/themes/webkit/loop.php: Adding relevant link label for accessibility.
+
 2017-05-08  James Craig  
 
 More demo files for prefers-reduced-motion post


Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/loop.php (216854 => 216855)

--- trunk/Websites/webkit.org/wp-content/themes/webkit/loop.php	2017-05-15 03:45:30 UTC (rev 216854)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/loop.php	2017-05-15 05:00:08 UTC (rev 216855)
@@ -12,7 +12,7 @@
 $classes[] = 'third-tile';
 ?>
 >
-">Clickable link
+">
 
 >
 






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [216858] trunk/Websites/webkit.org

2017-05-15 Thread jcraig
Title: [216858] trunk/Websites/webkit.org








Revision 216858
Author jcr...@apple.com
Date 2017-05-15 00:01:51 -0700 (Mon, 15 May 2017)


Log Message
2017-05-14  James Craig  

Upload poster images and working captioned video
https://bugs.webkit.org/show_bug.cgi?id=172102

Unreviewed. More resources for prefers-reduced-motion post.

* blog-files/prefers-reduced-motion/axi.htm: Added.
* blog-files/prefers-reduced-motion/axi.png: Removed.
* blog-files/prefers-reduced-motion/posters: Added.
* blog-files/prefers-reduced-motion/posters/apple_env_load.jpg: Added.
* blog-files/prefers-reduced-motion/posters/apple_env_planeshift.jpg: Added.
* blog-files/prefers-reduced-motion/posters/apple_ios10.jpg: Added.
* blog-files/prefers-reduced-motion/posters/apple_shoot.jpg: Added.
* blog-files/prefers-reduced-motion/posters/apple_shoot_reduced.jpg: Added.
* blog-files/prefers-reduced-motion/posters/apple_sierra.jpg: Added.
* blog-files/prefers-reduced-motion/posters/apple_sierra_reduced.jpg: Added.
* blog-files/prefers-reduced-motion/posters/axi.jpg: Added.
* blog-files/prefers-reduced-motion/posters/viljami.jpg: Added.
* blog-files/prefers-reduced-motion/prm.htm: Link to axi.htm video demo.

Modified Paths

trunk/Websites/webkit.org/ChangeLog
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm


Added Paths

trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_env_load.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_env_planeshift.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_ios10.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_shoot.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_shoot_reduced.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_sierra.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_sierra_reduced.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/axi.jpg
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/viljami.jpg


Removed Paths

trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png




Diff

Modified: trunk/Websites/webkit.org/ChangeLog (216857 => 216858)

--- trunk/Websites/webkit.org/ChangeLog	2017-05-15 06:20:06 UTC (rev 216857)
+++ trunk/Websites/webkit.org/ChangeLog	2017-05-15 07:01:51 UTC (rev 216858)
@@ -1,5 +1,26 @@
 2017-05-14  James Craig  
 
+Upload poster images and working captioned video
+https://bugs.webkit.org/show_bug.cgi?id=172102
+
+Unreviewed. More resources for prefers-reduced-motion post.
+
+* blog-files/prefers-reduced-motion/axi.htm: Added.
+* blog-files/prefers-reduced-motion/axi.png: Removed.
+* blog-files/prefers-reduced-motion/posters: Added.
+* blog-files/prefers-reduced-motion/posters/apple_env_load.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/apple_env_planeshift.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/apple_ios10.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/apple_shoot.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/apple_shoot_reduced.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/apple_sierra.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/apple_sierra_reduced.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/axi.jpg: Added.
+* blog-files/prefers-reduced-motion/posters/viljami.jpg: Added.
+* blog-files/prefers-reduced-motion/prm.htm: Link to axi.htm video demo.
+
+2017-05-14  James Craig  
+
 AX: All the articles on the WebKit blog are called "Clickable Link" by VoiceOver
 https://bugs.webkit.org/show_bug.cgi?id=172096
 


Added: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm (0 => 216858)

--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm	(rev 0)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.htm	2017-05-15 07:01:51 UTC (rev 216858)
@@ -0,0 +1,25 @@
+
+
+
+Video: Using prefers-reduced-motion with the Accessibility Inspector
+
+
+html {
+	font: 100% sans-serif;
+	font: -apple-system-body;
+}
+body {
+	font-size: 0.8em;
+	line-height: 1.1;
+}
+
+
+
+
+
+
+
+
+Back to the .
+
+
\ No newline at end of file


Deleted: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/axi.png

(Binary files differ)


Added: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/posters/apple_env_load.jpg

(Binary files differ)

Index: 

[webkit-changes] [216879] trunk/Websites/webkit.org

2017-05-15 Thread jcraig
Title: [216879] trunk/Websites/webkit.org








Revision 216879
Author jcr...@apple.com
Date 2017-05-15 14:36:32 -0700 (Mon, 15 May 2017)


Log Message
AX: Inaccessible content on webkit.org main page
https://bugs.webkit.org/show_bug.cgi?id=172106

Reviewed by Joseph Pecoraro.

* wp-content/themes/webkit/widgets/icon.php: Resolved link title.
* wp-content/themes/webkit/widgets/post.php: Resolved link title.
* wp-content/themes/webkit/widgets/twitter.php: Resolved link titles. Suppressed unlabeled images with alt="".

Modified Paths

trunk/Websites/webkit.org/ChangeLog
trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php
trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/post.php
trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/twitter.php




Diff

Modified: trunk/Websites/webkit.org/ChangeLog (216878 => 216879)

--- trunk/Websites/webkit.org/ChangeLog	2017-05-15 21:23:23 UTC (rev 216878)
+++ trunk/Websites/webkit.org/ChangeLog	2017-05-15 21:36:32 UTC (rev 216879)
@@ -1,3 +1,14 @@
+2017-05-15  James Craig  
+
+AX: Inaccessible content on webkit.org main page
+https://bugs.webkit.org/show_bug.cgi?id=172106
+
+Reviewed by Joseph Pecoraro.
+
+* wp-content/themes/webkit/widgets/icon.php: Resolved link title.
+* wp-content/themes/webkit/widgets/post.php: Resolved link title.
+* wp-content/themes/webkit/widgets/twitter.php: Resolved link titles. Suppressed unlabeled images with alt="".
+
 2017-05-14  James Craig  
 
 Upload poster images and working captioned video


Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php (216878 => 216879)

--- trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php	2017-05-15 21:23:23 UTC (rev 216878)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/icon.php	2017-05-15 21:36:32 UTC (rev 216879)
@@ -30,7 +30,7 @@
 
 ?>
 
-">Clickable link
+">
 
 
 


Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/post.php (216878 => 216879)

--- trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/post.php	2017-05-15 21:23:23 UTC (rev 216878)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/post.php	2017-05-15 21:36:32 UTC (rev 216879)
@@ -59,7 +59,7 @@
 
 ?>
 >
-">Clickable link
+">
 
 >
 


Modified: trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/twitter.php (216878 => 216879)

--- trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/twitter.php	2017-05-15 21:23:23 UTC (rev 216878)
+++ trunk/Websites/webkit.org/wp-content/themes/webkit/widgets/twitter.php	2017-05-15 21:36:32 UTC (rev 216879)
@@ -68,10 +68,10 @@
 
 ?>
 
-" class="tile-link">Clickable link to tweet
+" class="tile-link">Tweet: 
 
 
-media_url_https); ?>">
+media_url_https); ?>" alt="">
 
 
 
@@ -94,7 +94,7 @@
 
 ?>
 
-">Clickable link
+">
 
 
 






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [216359] trunk/Websites/webkit.org

2017-05-08 Thread jcraig
Title: [216359] trunk/Websites/webkit.org








Revision 216359
Author jcr...@apple.com
Date 2017-05-08 00:56:02 -0700 (Mon, 08 May 2017)


Log Message
2017-05-08  James Craig  

More demo files for prefers-reduced-motion post
https://bugs.webkit.org/show_bug.cgi?id=170663

Unreviewed.

* blog-files/prefers-reduced-motion/jaws.gif: Added.
* blog-files/prefers-reduced-motion/jaws.jpg: Added.
* blog-files/prefers-reduced-motion/prm.htm: New animated GIF example.

Modified Paths

trunk/Websites/webkit.org/ChangeLog
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm


Added Paths

trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.gif
trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.jpg




Diff

Modified: trunk/Websites/webkit.org/ChangeLog (216358 => 216359)

--- trunk/Websites/webkit.org/ChangeLog	2017-05-08 07:33:57 UTC (rev 216358)
+++ trunk/Websites/webkit.org/ChangeLog	2017-05-08 07:56:02 UTC (rev 216359)
@@ -1,3 +1,14 @@
+2017-05-08  James Craig  
+
+More demo files for prefers-reduced-motion post
+https://bugs.webkit.org/show_bug.cgi?id=170663
+
+Unreviewed.
+
+* blog-files/prefers-reduced-motion/jaws.gif: Added.
+* blog-files/prefers-reduced-motion/jaws.jpg: Added.
+* blog-files/prefers-reduced-motion/prm.htm: New animated GIF example.
+
 2017-04-24  James Craig  
 
 Upload demo files for prefers-reduced-motion post


Added: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.gif

(Binary files differ)

Index: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.gif
===
--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.gif	2017-05-08 07:33:57 UTC (rev 216358)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.gif	2017-05-08 07:56:02 UTC (rev 216359)
Property changes on: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.gif
___

Added: svn:mime-type
+image/gif
\ No newline at end of property

Added: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.jpg

(Binary files differ)

Index: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.jpg
===
--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.jpg	2017-05-08 07:33:57 UTC (rev 216358)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.jpg	2017-05-08 07:56:02 UTC (rev 216359)
Property changes on: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/jaws.jpg
___

Added: svn:mime-type
+image/jpeg
\ No newline at end of property

Modified: trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm (216358 => 216359)

--- trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm	2017-05-08 07:33:57 UTC (rev 216358)
+++ trunk/Websites/webkit.org/blog-files/prefers-reduced-motion/prm.htm	2017-05-08 07:56:02 UTC (rev 216359)
@@ -152,5 +152,21 @@
 
 
 
+
+Example 4: Only display animated version if prefers-reduced-motion is both supported *and* off.
+This example uses a more explicit match for (prefers-reduced-motion: no-preference) which excludes all browsers that don't yet support the new feature.
+
+
+
+
+var motionQuery2 = matchMedia('(prefers-reduced-motion: no-preference)'); 
+function handleReduceMotionChanged2() {
+document.images['jaws'].src = "" ? 'jaws.gif' : 'jaws.jpg';
+}
+handleReduceMotionChanged2(); // trigger this once on load to set up the initial value
+motionQuery.addListener(handleReduceMotionChanged2); // Note: https://webkit.org/b/168491
+
+
+
 
 
\ No newline at end of file






___
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes


[webkit-changes] [227219] trunk

2018-01-19 Thread jcraig
Title: [227219] trunk








Revision 227219
Author jcr...@apple.com
Date 2018-01-19 11:12:35 -0800 (Fri, 19 Jan 2018)


Log Message
AX: when invert colors is on, double-invert image and picture elements in UserAgentStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=181281


Reviewed by Simon Fraser.

Source/WebCore:

Updated "Smart Invert" to include img and picture element inversion and tests.

Tests: accessibility/smart-invert-reference.html
   accessibility/smart-invert.html

* css/html.css:
(@media (inverted-colors)):
(img:not(picture>img), picture, video):

LayoutTests:

Updated to include img and picture element tests.

* accessibility/smart-invert-expected.txt:
* accessibility/smart-invert-reference-expected.html:
* accessibility/smart-invert.html:

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/accessibility/smart-invert-expected.txt
trunk/LayoutTests/accessibility/smart-invert-reference-expected.html
trunk/LayoutTests/accessibility/smart-invert.html
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/css/html.css




Diff

Modified: trunk/LayoutTests/ChangeLog (227218 => 227219)

--- trunk/LayoutTests/ChangeLog	2018-01-19 19:02:05 UTC (rev 227218)
+++ trunk/LayoutTests/ChangeLog	2018-01-19 19:12:35 UTC (rev 227219)
@@ -1,3 +1,17 @@
+2018-01-19  James Craig  
+
+AX: when invert colors is on, double-invert image and picture elements in UserAgentStyleSheet
+https://bugs.webkit.org/show_bug.cgi?id=181281
+
+
+Reviewed by Simon Fraser.
+
+Updated to include img and picture element tests.
+
+* accessibility/smart-invert-expected.txt:
+* accessibility/smart-invert-reference-expected.html:
+* accessibility/smart-invert.html:
+
 2018-01-19  Chris Dumez  
 
 The WebContent process should not process incoming IPC while waiting for a sync IPC reply


Modified: trunk/LayoutTests/accessibility/smart-invert-expected.txt (227218 => 227219)

--- trunk/LayoutTests/accessibility/smart-invert-expected.txt	2018-01-19 19:02:05 UTC (rev 227218)
+++ trunk/LayoutTests/accessibility/smart-invert-expected.txt	2018-01-19 19:12:35 UTC (rev 227219)
@@ -16,8 +16,8 @@
 PASS: filter for VIDEO.preserve-filter is 'grayscale(1)'.
 
 AFTER INVERT-COLORS IS APPLIED
-PASS: filter for IMG#a is 'none'. Change once IMG/PICTURE elements are inverted, too.
-PASS: filter for PICTURE#b is 'none'. Change once IMG/PICTURE elements are inverted, too.
+PASS: filter for IMG#a is 'invert(1)'.
+PASS: filter for PICTURE#b is 'invert(1)'.
 PASS: filter for VIDEO#c is 'invert(1)'.
 PASS: filter for VIDEO#d is 'invert(1)'.
 PASS: filter for IMG.fallback is 'none'.


Modified: trunk/LayoutTests/accessibility/smart-invert-reference-expected.html (227218 => 227219)

--- trunk/LayoutTests/accessibility/smart-invert-reference-expected.html	2018-01-19 19:02:05 UTC (rev 227218)
+++ trunk/LayoutTests/accessibility/smart-invert-reference-expected.html	2018-01-19 19:12:35 UTC (rev 227219)
@@ -11,8 +11,8 @@
 
 
 
-  
-  
+  
+  
   
   
   


Modified: trunk/LayoutTests/accessibility/smart-invert.html (227218 => 227219)

--- trunk/LayoutTests/accessibility/smart-invert.html	2018-01-19 19:02:05 UTC (rev 227218)
+++ trunk/LayoutTests/accessibility/smart-invert.html	2018-01-19 19:12:35 UTC (rev 227219)
@@ -61,7 +61,7 @@
 document.getElementById("result").innerHTML += "AFTER INVERT-COLORS IS APPLIED";
 
 // Eventually elements img amd picture will be double-inverted when invert colors is on. Not shipping yet.
-expectFilterValueForElements(NONE_VALUE, document.querySelectorAll("#a, #b"), "Change once IMG/PICTURE elements are inverted, too.");
+expectFilterValueForElements(INVERTED_VALUE, document.querySelectorAll("#a, #b"));
 
 // Element  should be double-inverted when invert colors is on.
 expectFilterValueForElements(INVERTED_VALUE, document.querySelectorAll("#c, #d"));


Modified: trunk/Source/WebCore/ChangeLog (227218 => 227219)

--- trunk/Source/WebCore/ChangeLog	2018-01-19 19:02:05 UTC (rev 227218)
+++ trunk/Source/WebCore/ChangeLog	2018-01-19 19:12:35 UTC (rev 227219)
@@ -1,3 +1,20 @@
+2018-01-19  James Craig  
+
+AX: when invert colors is on, double-invert image and picture elements in UserAgentStyleSheet
+https://bugs.webkit.org/show_bug.cgi?id=181281
+
+
+Reviewed by Simon Fraser.
+
+Updated "Smart Invert" to include img and picture element inversion and tests.
+
+Tests: accessibility/smart-invert-reference.html
+   accessibility/smart-invert.html
+
+* css/html.css:
+(@media (inverted-colors)):
+(img:not(picture>img), picture, video):
+
 2018-01-19  Chris Dumez  
 
 The WebContent process should not process incoming IPC while waiting for a sync IPC reply


Modified: trunk/Source/WebCore/css/html.css (227218 => 227219)

--- 

[webkit-changes] [226825] trunk

2018-01-11 Thread jcraig
Title: [226825] trunk








Revision 226825
Author jcr...@apple.com
Date 2018-01-11 17:16:59 -0800 (Thu, 11 Jan 2018)


Log Message
AX: when invert colors is on, double-invert video elements in UserAgentStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=168447


Reviewed by Simon Fraser.

Double-invert video when platform "invert colors" setting is enabled. Behavior matches
current "Smart Invert" feature of Safari Reader on macOS/iOS and other iOS native apps.

Source/WebCore:

Tests: accessibility/smart-invert-reference.html
   accessibility/smart-invert.html

* Modules/modern-media-controls/controls/media-controls.css:
(@media (inverted-colors)):
(:host):
(picture):
* css/html.css:
(@media (inverted-colors)):
(video):

LayoutTests:

* TestExpectations: Platform setting only available on Mac and iOS.
* accessibility/smart-invert-expected.txt: Added.
* accessibility/smart-invert-reference-expected.html: Added.
* accessibility/smart-invert-reference.html: Added. Ref to ensure invert and grayscale filters render as expected.
* accessibility/smart-invert.html: Added. Computed expectatons of filter property text values.
* platform/ios-wk2/TestExpectations: Runs on iOS WK2.
* platform/mac-wk2/TestExpectations: Runs on Mac WK2.

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/TestExpectations
trunk/LayoutTests/platform/ios-wk2/TestExpectations
trunk/LayoutTests/platform/mac-wk2/TestExpectations
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/modern-media-controls/controls/media-controls.css
trunk/Source/WebCore/css/html.css


Added Paths

trunk/LayoutTests/accessibility/smart-invert-expected.txt
trunk/LayoutTests/accessibility/smart-invert-reference-expected.html
trunk/LayoutTests/accessibility/smart-invert-reference.html
trunk/LayoutTests/accessibility/smart-invert.html




Diff

Modified: trunk/LayoutTests/ChangeLog (226824 => 226825)

--- trunk/LayoutTests/ChangeLog	2018-01-12 01:13:28 UTC (rev 226824)
+++ trunk/LayoutTests/ChangeLog	2018-01-12 01:16:59 UTC (rev 226825)
@@ -1,3 +1,22 @@
+2018-01-11  James Craig  
+
+AX: when invert colors is on, double-invert video elements in UserAgentStyleSheet
+https://bugs.webkit.org/show_bug.cgi?id=168447
+
+
+Reviewed by Simon Fraser.
+
+Double-invert video when platform "invert colors" setting is enabled. Behavior matches 
+current "Smart Invert" feature of Safari Reader on macOS/iOS and other iOS native apps.
+
+* TestExpectations: Platform setting only available on Mac and iOS.
+* accessibility/smart-invert-expected.txt: Added. 
+* accessibility/smart-invert-reference-expected.html: Added.
+* accessibility/smart-invert-reference.html: Added. Ref to ensure invert and grayscale filters render as expected.
+* accessibility/smart-invert.html: Added. Computed expectatons of filter property text values.
+* platform/ios-wk2/TestExpectations: Runs on iOS WK2.
+* platform/mac-wk2/TestExpectations: Runs on Mac WK2.
+
 2018-01-10  Ryosuke Niwa  
 
 Make elements of zero width or height focusable


Modified: trunk/LayoutTests/TestExpectations (226824 => 226825)

--- trunk/LayoutTests/TestExpectations	2018-01-12 01:13:28 UTC (rev 226824)
+++ trunk/LayoutTests/TestExpectations	2018-01-12 01:16:59 UTC (rev 226825)
@@ -118,6 +118,8 @@
 editing/input/focus-change-with-marked-text.html [ Skip ]
 
 # These only run on Mac and iOS WK2
+accessibility/smart-invert.html [ Skip ]
+accessibility/smart-invert-reference.html [ Skip ]
 fast/media/mq-inverted-colors-live-update.html [ Skip ]
 fast/media/mq-inverted-colors-live-update-in-subframes.html [ Skip ]
 fast/media/mq-monochrome-live-update.html [ Skip ]


Added: trunk/LayoutTests/accessibility/smart-invert-expected.txt (0 => 226825)

--- trunk/LayoutTests/accessibility/smart-invert-expected.txt	(rev 0)
+++ trunk/LayoutTests/accessibility/smart-invert-expected.txt	2018-01-12 01:16:59 UTC (rev 226825)
@@ -0,0 +1,32 @@
+   
+   
+  
+DEFAULTS
+PASS: filter for IMG#a is 'none'.
+PASS: filter for PICTURE#b is 'none'.
+PASS: filter for VIDEO#c is 'none'.
+PASS: filter for VIDEO#d is 'none'.
+PASS: filter for IMG.no-invert is 'none'.
+PASS: filter for PICTURE.no-invert is 'none'.
+PASS: filter for VIDEO.no-invert is 'none'.
+PASS: filter for VIDEO.no-invert is 'none'.
+PASS: filter for IMG.preserve-filter is 'grayscale(1)'.
+PASS: filter for PICTURE.preserve-filter is 'grayscale(1)'.
+PASS: filter for VIDEO.preserve-filter is 'grayscale(1)'.
+PASS: filter for VIDEO.preserve-filter is 'grayscale(1)'.
+
+AFTER INVERT-COLORS IS APPLIED
+PASS: filter for IMG#a is 'none'. Change once IMG/PICTURE elements are inverted, too.
+PASS: filter for PICTURE#b is 'none'. Change once IMG/PICTURE elements are inverted, too.
+PASS: filter for VIDEO#c is 'invert(1)'.
+PASS: filter for VIDEO#d is 'invert(1)'.
+PASS: filter for IMG.fallback is 'none'.

[webkit-changes] [226385] trunk

2018-01-03 Thread jcraig
Title: [226385] trunk








Revision 226385
Author jcr...@apple.com
Date 2018-01-03 17:44:15 -0800 (Wed, 03 Jan 2018)


Log Message
2018-01-03  James Craig  

AX: when invert colors is on, double-invert certain media elements in UserAgentStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=168447


Reviewed by Simon Fraser.

Double-invert video when platform 'invert colors' setting is enabled. Behavior matches 
current 'Smart Invert' feature of Safari Reader on macOS/iOS and other iOS native apps.

Tests: accessibility/smart-invert-reference.html
   accessibility/smart-invert.html

Modified Paths

trunk/LayoutTests/ChangeLog
trunk/LayoutTests/TestExpectations
trunk/LayoutTests/platform/ios-wk2/TestExpectations
trunk/LayoutTests/platform/mac-wk2/TestExpectations
trunk/Source/WebCore/ChangeLog
trunk/Source/WebCore/Modules/modern-media-controls/controls/media-controls.css
trunk/Source/WebCore/css/html.css


Added Paths

trunk/LayoutTests/accessibility/smart-invert-expected.txt
trunk/LayoutTests/accessibility/smart-invert-reference-expected.html
trunk/LayoutTests/accessibility/smart-invert-reference.html
trunk/LayoutTests/accessibility/smart-invert.html




Diff

Modified: trunk/LayoutTests/ChangeLog (226384 => 226385)

--- trunk/LayoutTests/ChangeLog	2018-01-04 00:55:41 UTC (rev 226384)
+++ trunk/LayoutTests/ChangeLog	2018-01-04 01:44:15 UTC (rev 226385)
@@ -1,3 +1,22 @@
+2018-01-03  James Craig  
+
+AX: when invert colors is on, double-invert certain media elements in UserAgentStyleSheet
+https://bugs.webkit.org/show_bug.cgi?id=168447
+
+
+Reviewed by Simon Fraser.
+
+Double-invert video when platform "invert colors" setting is enabled. Behavior matches 
+current "Smart Invert" feature of Safari Reader on macOS/iOS and other iOS native apps.
+
+* TestExpectations: Platform setting only available on Mac and iOS.
+* accessibility/smart-invert-expected.txt: Added. 
+* accessibility/smart-invert-reference-expected.html: Added.
+* accessibility/smart-invert-reference.html: Added. Ref to ensure invert and blur filters render as expected.
+* accessibility/smart-invert.html: Added. Computed expectatons of filter property text values.
+* platform/ios-wk2/TestExpectations: Runs on iOS.
+* platform/mac-wk2/TestExpectations: Runs on Mac.
+
 2018-01-03  Alexey Proskuryakov  
 
 Update expectations for some range tests.


Modified: trunk/LayoutTests/TestExpectations (226384 => 226385)

--- trunk/LayoutTests/TestExpectations	2018-01-04 00:55:41 UTC (rev 226384)
+++ trunk/LayoutTests/TestExpectations	2018-01-04 01:44:15 UTC (rev 226385)
@@ -118,6 +118,8 @@
 editing/input/focus-change-with-marked-text.html [ Skip ]
 
 # These only run on Mac and iOS WK2
+accessibility/smart-invert.html [ Skip ]
+accessibility/smart-invert-reference.html [ Skip ]
 fast/media/mq-inverted-colors-live-update.html [ Skip ]
 fast/media/mq-inverted-colors-live-update-in-subframes.html [ Skip ]
 fast/media/mq-monochrome-live-update.html [ Skip ]


Added: trunk/LayoutTests/accessibility/smart-invert-expected.txt (0 => 226385)

--- trunk/LayoutTests/accessibility/smart-invert-expected.txt	(rev 0)
+++ trunk/LayoutTests/accessibility/smart-invert-expected.txt	2018-01-04 01:44:15 UTC (rev 226385)
@@ -0,0 +1,32 @@
+   
+   
+  
+DEFAULTS
+PASS: filter for IMG#a is 'none'.
+PASS: filter for PICTURE#b is 'none'.
+PASS: filter for VIDEO#c is 'none'.
+PASS: filter for VIDEO#d is 'none'.
+PASS: filter for IMG.no-invert is 'none'.
+PASS: filter for PICTURE.no-invert is 'none'.
+PASS: filter for VIDEO.no-invert is 'none'.
+PASS: filter for VIDEO.no-invert is 'none'.
+PASS: filter for IMG.preserve-filter is 'blur(3px)'.
+PASS: filter for PICTURE.preserve-filter is 'blur(3px)'.
+PASS: filter for VIDEO.preserve-filter is 'blur(3px)'.
+PASS: filter for VIDEO.preserve-filter is 'blur(3px)'.
+
+AFTER INVERT-COLORS IS APPLIED
+PASS: filter for IMG#a is 'none'. Change once IMG/PICTURE elements are inverted, too.
+PASS: filter for PICTURE#b is 'none'. Change once IMG/PICTURE elements are inverted, too.
+PASS: filter for VIDEO#c is 'invert(1)'.
+PASS: filter for VIDEO#d is 'invert(1)'.
+PASS: filter for IMG.fallback is 'none'.
+PASS: filter for IMG.no-invert is 'none'.
+PASS: filter for PICTURE.no-invert is 'none'.
+PASS: filter for VIDEO.no-invert is 'none'.
+PASS: filter for VIDEO.no-invert is 'none'.
+PASS: filter for IMG.preserve-filter is 'blur(3px)'.
+PASS: filter for PICTURE.preserve-filter is 'blur(3px)'.
+PASS: filter for VIDEO.preserve-filter is 'blur(3px)'.
+PASS: filter for VIDEO.preserve-filter is 'blur(3px)'.
+


Added: trunk/LayoutTests/accessibility/smart-invert-reference-expected.html (0 => 226385)

--- trunk/LayoutTests/accessibility/smart-invert-reference-expected.html