Edgewall Software

Opened 11 years ago

Closed 10 years ago

Last modified 10 years ago

#570 closed enhancement (fixed)

HTML5 boolean attrs support

Reported by: vthriller <unixway.drive+genshi@…> Owned by: cmlenz
Priority: major Milestone: 0.6.2
Component: General Version: 0.6
Keywords: Cc: leho@…, rjollos


Currently, Genshi lacks support for a number of boolean attributes, i. e.

  • <form>:
    • novalidate
  • <input>:
    • autofocus
    • multiple
    • readonly
    • required

Change History (4)

comment:1 Changed 11 years ago by lkraav <leho@…>

  • Cc leho@… added

comment:2 Changed 11 years ago by rjollos

  • Cc rjollos added

I noticed that readonly was being minimized in a Trac template (t:ticket:11069#comment:9), and psuter tracker down the issue in t:ticket:11069#comment:11. Is there a reason that readonly was omitted from XHTMLSerializer._BOOLEAN_ATTRS, or was it just an oversight?

comment:3 Changed 10 years ago by hodgestar

  • Resolution set to fixed
  • Status changed from new to closed

Fix committed to trunk in r1260 and merged to 0.7.x (r1261) and 0.6.x (r1262).

comment:4 Changed 10 years ago by rjollos

  • Milestone changed from 0.7 to 0.6.2

Since this will be release in Milestone 0.6.2 / 0.7.1, I'm going to update the milestone. Let me know if this is incorrect.

Note: See TracTickets for help on using tickets.