W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2017

[csswg-drafts] [css-contain-1] Use proper HTML in markup example

From: Thierry Koblentz via GitHub <sysbot+gh@w3.org>
Date: Thu, 23 Feb 2017 16:30:55 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-209813058-1487867453-sysbot+gh@w3.org>
thierryk has just created a new issue for 

== [css-contain-1] Use proper HTML in markup example ==
In [section 2 (Strong 
the markup example is as follow:

  <aside class='sidebar'>...</aside>
  <article class='messages'>
    <section class='message'>
      Lol, check out this dog: images.example.com/jsK3jkl
    <section class='message'>
      I had a ham sandwich today. #goodtimes
    <section class='message'>
      I have political opinions that you need to hear!

I do not think this is a proper use of `<section>` (as sections 
"should" have headings). Looking at the repetition of the class 
`message` I'd suggest using a `ul` inside `article` with `li` 
replacing `section`; but other constructs could work as well&mdash;it 
is just that I don't think `section` is the right element here.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1058 using your GitHub 
Received on Thursday, 23 February 2017 16:31:02 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:08 UTC