Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions css/properties/speak.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're here: Safari added this property between 4.0.5 and 5.1.5 and removed it in 12.1 11.1 (possibly renamed to speak-as).

Originally implemented via WebKit/WebKit@3b7c2c2 in WebKit 534.10 before Safari 5.1 (534.48).

Renamed via WebKit/WebKit@1f2d229 in WebKit 605.1.19 before Safari 11.1 (605.1.33).

This last change looks like it removed support for speak, which supported these values: normal, none, spell-out, digits, literal-punctuation, no-punctuation.

This explains why only the collector test for the speak property passes in Safari 10.1 and Safari 11.1, but the tests for the values don't.

So here's what I would suggest:

  1. Add a partial_implementation entry for Safari added 5.1 removed 11.1, pointing to the speak-as property.
  2. Add an entry to the css.properties.speak_as with alternative_name: "speak".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the bug filed for Chrome about speak, it sounds like it implemented speak as an alternative name for speak-as, just like what Safari used to do. Maybe what we should do is remove the data for the speak property since WebKit only implemented it as an alias to speak-as?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I fully understand. Are you suggesting to merge speak data into speak-as data?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's correct -- it's a strange scenario since the speak property is its own property in the spec, but since no browser ever implemented speak as anything but an alias for speak-as...!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After looking at it again, I agree insofar as we should move the Chrome/Safari data over with alternative_name, but maybe let's keep this feature for now, given that there is an impl_url for Firefox. For Chrome, we can use https://issues.chromium.org/issues/40813740 as the impl_url.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"support": {
"chrome": {
"version_added": "≤80",
"version_added": "8",
"partial_implementation": true,
"notes": "The implementation is not compliant with the specification, see [bug 40813740](https://crbug.com/40813740)."
},
Expand All @@ -24,7 +24,8 @@
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
"version_added": "5.1",
"version_removed": "11.1"
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
Expand Down