Re: [WSG] INS and DEL in lists
Hi, No, I mean User Agent Quote from W3C: INS and DEL are used to markup sections of the document that have been inserted or deleted with respect to a different version of a document (e.g., in draft legislation where lawmakers need to view the changes). ... User agents should render inserted and deleted text in ways that make the change obvious. For instance, inserted text may appear in a special font, deleted text may not be shown at all or be shown as struck-through or with special markings, etc. On Tue, March 25, 2008 2:13 pm, Svip wrote: Don't you mean server sided rather than browser/user agent? /Svip On 25/03/2008, Stuart Foulstone [EMAIL PROTECTED] wrote: Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-del-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
Thomas Thomassen skrev: Thanks. Got a link to where I can follow that incase there's response? http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-March/014252.html There have been two responses so far. One wishing to expand the suggestion and one that is simply positive. No word from Ian yet. Lars Gunther *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-del-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
Don't you mean server sided rather than browser/user agent? /Svip On 25/03/2008, Stuart Foulstone [EMAIL PROTECTED] wrote: Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-del-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] INS and DEL in lists
Using del and ins to track changes in a document, is making excellent use of semantic markup. However markup should only be used to describe content, not other markup - classes and IDs are used to describe other markup. CSS: del, .del { display: none; /* un-comment to use */ /* text-decoration: line-through; */ } Then on your XHTML ul liItem 1/li li class='del'Item 2/li liItem 3/li /ul Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Foulstone Sent: 25 March 2008 13:47 To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-d el-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
I don't find classes to have the semantic value as the tags have. There is no where defined what the semanic value of classes are. Even though the classes would share the same name as a tag I don't see it as having the same semantic value. - Original Message - From: Kyle Hudson [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 3:45 PM Subject: RE: [WSG] INS and DEL in lists Using del and ins to track changes in a document, is making excellent use of semantic markup. However markup should only be used to describe content, not other markup - classes and IDs are used to describe other markup. CSS: del, .del { display: none; /* un-comment to use */ /* text-decoration: line-through; */ } Then on your XHTML ul liItem 1/li li class='del'Item 2/li liItem 3/li /ul Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Foulstone Sent: 25 March 2008 13:47 To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-d el-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] INS and DEL in lists
Regardless, Tags are there to markup content, whereas classes are used to group together tags or markup. Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Thomassen Sent: 25 March 2008 16:43 To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists I don't find classes to have the semantic value as the tags have. There is no where defined what the semanic value of classes are. Even though the classes would share the same name as a tag I don't see it as having the same semantic value. - Original Message - From: Kyle Hudson [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 3:45 PM Subject: RE: [WSG] INS and DEL in lists Using del and ins to track changes in a document, is making excellent use of semantic markup. However markup should only be used to describe content, not other markup - classes and IDs are used to describe other markup. CSS: del, .del { display: none; /* un-comment to use */ /* text-decoration: line-through; */ } Then on your XHTML ul liItem 1/li li class='del'Item 2/li liItem 3/li /ul Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Foulstone Sent: 25 March 2008 13:47 To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-d el-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] INS and DEL in lists
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Thomassen Sent: Sunday, March 23, 2008 5:44 AM To: wsg@webstandardsgroup.org Subject: [WSG] INS and DEL in lists I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-d el-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? I don't see a problem with the specs [1]. These elements are supposed to be used to give information about changes; imho, removing an element does not convey that type of information. [1] http://www.w3.org/TR/html401/struct/text.html#h-9.4 -- Regards, Thierry | http://www.TJKDesign.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
You mean removing by that I used display: none; to hide it? That was for the particular case I worked on where I used a javascript to view the document at various versions. The way I see if, if I have a document where I mark up changes and one of them changes is an item in a list, I find it natrual to mark up the entire list item, including the li. - Original Message - From: Thierry Koblentz To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 5:55 PM Subject: RE: [WSG] INS and DEL in lists From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Thomassen Sent: Sunday, March 23, 2008 5:44 AM To: wsg@webstandardsgroup.org Subject: [WSG] INS and DEL in lists I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-del-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? I don't see a problem with the specs [1]. These elements are supposed to be used to give information about changes; imho, removing an element does not convey that type of information. [1] http://www.w3.org/TR/html401/struct/text.html#h-9.4 -- Regards, Thierry | http://www.TJKDesign.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
But the whole purpose was to use the semantic value of the del to tell that the listitem was at some point removed. Classes doesn't provide that. I don't see how grouping comes into this. From the W3C spec: These two elements are unusual for HTML in that they may serve as either block-level or inline elements (but not both). They may contain one or more words within a paragraph or contain one or more block-level elements such as paragraphs, lists and tables. -Thom - Original Message - From: Kyle Hudson [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 5:50 PM Subject: RE: [WSG] INS and DEL in lists Regardless, Tags are there to markup content, whereas classes are used to group together tags or markup. Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Thomassen Sent: 25 March 2008 16:43 To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists I don't find classes to have the semantic value as the tags have. There is no where defined what the semanic value of classes are. Even though the classes would share the same name as a tag I don't see it as having the same semantic value. - Original Message - From: Kyle Hudson [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 3:45 PM Subject: RE: [WSG] INS and DEL in lists Using del and ins to track changes in a document, is making excellent use of semantic markup. However markup should only be used to describe content, not other markup - classes and IDs are used to describe other markup. CSS: del, .del { display: none; /* un-comment to use */ /* text-decoration: line-through; */ } Then on your XHTML ul liItem 1/li li class='del'Item 2/li liItem 3/li /ul Kyle -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Foulstone Sent: 25 March 2008 13:47 To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists Hi, RE: When I hid the del using display: hidden; the list would render something like this I can't say I've ever felt the need to use these tags, but isn't hiding the content supposed to be the job of the browser/user agent - rather than you using CSS. On Sun, March 23, 2008 12:43 pm, Thomas Thomassen wrote: I was working on some examples for the use of del and ins. http://www.thomthom.net/blog/2008/03/document-history-viewer-making-use-of-d el-and-ins/ As I was working on this I wanted to mark up a list where items had been added and removed. That's when I realised that you can't wrap up li dt or dd in del or ins elements because ul, ol and dl only allows list items as their direct child. The del and ins then have to be wrapped inside the list item. ul liItem 1/li lidelItem 2/del/li liItem 3/li /ul When I hid the del using display: hidden; the list would render something like this: * Item 1 * * Item 3 Because I could wrap up the entire list item, the bullet point would still remain. To me it appears illogical to not wrap the del or ins around the list items when you add and remove items to the list. I'm guessing it's a case where every scenario wasn't accounted for when the specifications was written. (Yes, I know that I could add an extra class to the list item that I wanted to hide, but it's not the point. It shouldn't be necessary.) However, when this scenario presents itself I see it as fine to break the specification and mark it up like this: ul liItem 1/li delliItem 2/li/del liItem 3/li /ul This seem to render exactly as I expect it to do in every browser I've tested. * Item 1 * Item 3 I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http
Re: [WSG] INS and DEL in lists
Thomas Thomassen skrev: I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? I have sent a copy of your original message to the WHATWG list. Let's see if they are more alert. Lars Gunther *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
For instance, you have a checklist of things to do. It could be a list of bugs in a software you make. You have the list availible on your site so the users of the software can see the list of issues you are working on. As you fix bugs you remove them from the list. You mark up the list item describing the bug with del to indicate that the bugs has been removed from the list. It's still visible to the users as by default browsers will render content within a del with a strikethrough. Another example would can be seen here: http://thomthom.net/storage/markup/html/dochistory/subversion.html It's a sample script where you can go back and view a previous version of the code. I probably confused people in my initial post when I talked about how I came across it and that in that particular case I used display: none; to hide it. The main intent with the post was the general concept of marking up list items as being removed, edited. I didn't mean that I wanted to hide it from the viewer, but rather indicate the the item was for instance obsolete, as in the example of the bug list. Hope this makes it clearer. -Thom - Original Message - From: Thierry Koblentz [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 7:57 PM Subject: RE: [WSG] INS and DEL in lists From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Thomassen Sent: Tuesday, March 25, 2008 10:58 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] INS and DEL in lists You mean removing by that I used display: none; to hide it? That was for the particular case I worked on where I used a javascript to view the document at various versions. The way I see if, if I have a document where I mark up changes and one of them changes is an item in a list, I find it natrual to mark up the entire list item, including the li. If you remove the List Item from the document (the way you're trying to), what info does that convey and to *whom*? I'm sorry, but I can't see the logic behind what you're trying to do. -- Regards, Thierry | http://www.TJKDesign.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
Thanks. Got a link to where I can follow that incase there's response? I'm wondering if I've muddled up my explanation of the problem, by dragging in how I discovered and such. Perhaps I should have taken some more time explaining it more clearly? In general I feel I've been confusing people. -Thom - Original Message - From: Keryx Web [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, March 25, 2008 8:24 PM Subject: Re: [WSG] INS and DEL in lists Thomas Thomassen skrev: I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? I have sent a copy of your original message to the WHATWG list. Let's see if they are more alert. Lars Gunther *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] INS and DEL in lists
Thomas Thomassen skrev: I posted a comment about it in the W3C public HTML discussion group, hoping it'd be picked up and amend HTML5's specification to allow this. However, there's yet been any response. Is there any other place I could air this issue in hope of it getting heards by the authors of the next HTML specs? This could also be solved if CSS allowed us to use a has content selector, i.e. select all LI elements that has only got DEL elements (or whitespace) as child elements. I know this issue has been discussed by the CSS WG. However, I agree that this is a content issue, rather than a styling issue. I would be very surprised though, if Ian H has not *read* your suggestion. Some replies come a bit late, in my experience. Lars Gunther *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***