diff --git a/index.src.html b/index.src.html
index 893d83c1..38ed48ad 100644
--- a/index.src.html
+++ b/index.src.html
@@ -4175,12 +4175,14 @@
4. Let |displayHeight| be
`|frame|'s {{VideoFrame/[[visible height]]}} * |heightScale|`,
rounded to the nearest integer.
- 5. If |rotation| is equal to `0` or `180`:
+ 5. If |displayWidth| is equal to `0` or |displayHeight| is equal to `0`,
+ throw a {{TypeError}}.
+ 6. If |rotation| is equal to `0` or `180`:
1. Assign |displayWidth| to |frame|'s
{{VideoFrame/[[display width]]}}.
2. Assign |displayHeight| to |frame|'s
{{VideoFrame/[[display height]]}}.
- 6. Otherwise:
+ 7. Otherwise:
1. Assign |displayHeight| to |frame|'s
{{VideoFrame/[[display width]]}}.
2. Assign |displayWidth| to |frame|'s