Ticket #939 (closed defect: fixed)

Opened 4 months ago

Last modified 3 months ago

there is no attribute "start" error in default template

Reported by: csseur3 Assigned to:
Priority: lowest Milestone: 1.0-beta & XML-RPC
Component: Front-end Version: 1.0-beta (trunk)
Severity: normal Keywords:
Cc:

Description

Hello,

with this code:

<ol id="thread" start="<?php echo $list_start; ?>" class="list:post">

w3c says:

there is no attribute "start"

like this: http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fbbpress.org%2Fforums%2Ftopic%2Fbbpress-10-alpha for topic page

bye

Change History

08/20/08 09:53:04 changed by fel64

It used to be in the HTML specification. It's now deprecated.

http://www.w3.org/TR/html401/struct/lists.html#h-10.2

But I think browsers still use it. I haven't got a theme to test on, maybe someone else can confirm? While it works, I like having this in bbpress: it's useful and non-validation in this way is trivial. Otherwise, in a theme with post numbers clearly visible, they'd just run from 1-30 every page. That's nonsensical.

08/20/08 13:39:08 changed by wiseacre

Confirm with Kakumei and Kakumei Blue themes

08/21/08 21:19:59 changed by fel64

It works in FF2 and 3.

08/26/08 21:29:26 changed by mdawaffe

  • priority changed from normal to lowest.

The alternative is to get clever with CSS2 counters: http://www.w3.org/TR/REC-CSS2/generate.html#counters

Feel free to submit a patch.

08/26/08 23:03:20 changed by mdawaffe

Actually, kakumei does not display any numbers at all anymore, so we can probably get rid of it in the default template and let theme authors do their own thing.

08/26/08 23:05:55 changed by mdawaffe

  • status changed from new to closed.
  • resolution set to fixed.