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

Commit

Permalink
Fix HTML spellcheck attribute
Browse files Browse the repository at this point in the history
This was a boolean when it should have been an enum on the strings
"true" or "false".
  • Loading branch information
Swahvay committed Aug 29, 2013
1 parent 0d770a0 commit 0bdf54f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions php-lib/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ abstract class :xhp:html-element extends :x:primitive {
// Global HTML attributes
string accesskey, string class, bool contenteditable, string contextmenu,
string dir, bool draggable, string dropzone, bool hidden, string id,
string lang, bool spellcheck, string style, string tabindex, string title,
enum {'yes', 'no'} translate,
string lang, enum {'true', 'false'} spellcheck, string style,
string tabindex, string title, enum {'yes', 'no'} translate,

// Javascript events
string onabort, string onblur, string oncanplay, string oncanplaythrough,
Expand Down

0 comments on commit 0bdf54f

Please sign in to comment.