Re: [w3c/gamepad] Add vibrationActuator to the main spec (PR #190)

@marcoscaceres had to remove the `"switch"` class from the `dl` tag. It was messing the numbers of the ordered list. With the class set, I was having:
**Item 1**: Given the value of {{GamepadHapticEffectType}} |type:GamepadHapticEffectType|, switch on:
 `"dual-rumble"`: If params does not describe a [valid dual-rumble effect](https://github.com/w3c/gamepad/pull/190#dfn-valid-dual-rumble-effect), return false.
**Item 3**: Return `true`.

Just removing the class made "Return `true`." become item 2 again - so I have removed it. I don't know if I am missing on something here or if there is something wrong with the `"switch"` class. Please let me know if this looks good for you. Now it is looking like this:
**Item 1**: Given the value of {{GamepadHapticEffectType}} |type:GamepadHapticEffectType|, switch on:
 `"dual-rumble"`: If params does not describe a [valid dual-rumble effect](https://github.com/w3c/gamepad/pull/190#dfn-valid-dual-rumble-effect), return false.
**Item 2**: Return `true`.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/190#issuecomment-1897587248
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/190/c1897587248@github.com>

Received on Thursday, 18 January 2024 01:08:26 UTC