Opened 5 years ago

Closed 4 years ago

#1485386 closed Feature Patches (wontfix)

empty <ul> element

Reported by: tensor Owned by:
Priority: 5 Milestone: 0.2-stable
Component: User Interface Version: 0.2-alpha
Severity: minor Keywords:
Cc:

Description

When there are no attachments, <ul> is empty and validator complains.

Attachments (1)

ul.patch (949 bytes) - added by tensor 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by tensor

comment:1 follow-up: Changed 5 years ago by alec

with patch applied, attachments aren't displayed after upload

comment:2 in reply to: ↑ 1 Changed 5 years ago by tensor

Replying to alec:

with patch applied, attachments aren't displayed after upload

I am completely wrong here. <ul> is needed to append child nodes for uploaded attachments. <ul> and <li> must be changed into <div>s and some CSS is to be rewritten for that. That is too much troube just to please the validator and make RC conform to transitional DTD.
Are there any policy on XHTML code validation?

comment:3 Changed 4 years ago by thomasb

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

I agree, this is too much effort just to please the validator. My Tidy doesn't complain about this anyway.

Note: See TracTickets for help on using tickets.