Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Commit 0bdf54f

Browse files
committed
Fix HTML spellcheck attribute
This was a boolean when it should have been an enum on the strings "true" or "false".
1 parent 0d770a0 commit 0bdf54f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

php-lib/html.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ abstract class :xhp:html-element extends :x:primitive {
2727
// Global HTML attributes
2828
string accesskey, string class, bool contenteditable, string contextmenu,
2929
string dir, bool draggable, string dropzone, bool hidden, string id,
30-
string lang, bool spellcheck, string style, string tabindex, string title,
31-
enum {'yes', 'no'} translate,
30+
string lang, enum {'true', 'false'} spellcheck, string style,
31+
string tabindex, string title, enum {'yes', 'no'} translate,
3232

3333
// Javascript events
3434
string onabort, string onblur, string oncanplay, string oncanplaythrough,

0 commit comments

Comments
 (0)