Skip to content

Commit 346f55c

Browse files
authored
Merge pull request #473 from w3c/issue-467
width and height are not allowed on an Image; closes #467.
2 parents daebb72 + 75cd422 commit 346f55c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

ERRATA.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,42 @@ This document includes errata for the [Activity Streams](https://www.w3.org/TR/a
88

99
## Activity Vocabulary
1010

11+
- Example 80 has `Image` objects with `width` and `height` properties, which
12+
are only allowed on `Link` objects. One alternative is to use `Link` objects
13+
with the correct `height` and `width` as the `url` property for each `Image`
14+
object.
15+
16+
```json
17+
{
18+
"@context": "https://www.w3.org/ns/activitystreams",
19+
"summary": "A simple note",
20+
"type": "Note",
21+
"content": "A simple note",
22+
"icon": [
23+
{
24+
"type": "Image",
25+
"summary": "Note (16x16)",
26+
"url": {
27+
"type": "Link",
28+
"href": "http://example.org/note1.png",
29+
"width": 16,
30+
"height": 16
31+
}
32+
},
33+
{
34+
"type": "Image",
35+
"summary": "Note (32x32)",
36+
"url": {
37+
"type": "Link",
38+
"href": "http://example.org/note2.png",
39+
"width": 32,
40+
"height": 32
41+
}
42+
}
43+
]
44+
}
45+
```
46+
1147
- The range of the `units` property is given as an enumerated set of values.
1248
Due to a formatting error, some of these values are shown with an incorrect
1349
leading space character. The correct range is:

0 commit comments

Comments
 (0)