[Bug 23521] New: Example code issues for section element

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23521

            Bug ID: 23521
           Summary: Example code issues for section element
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: stommepoes@stommepoes.nl
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

http://www.w3.org/html/wg/drafts/html/master/sections.html#the-section-element 

Second code example (with the inter-element whitespace removal) has title-cased
element names. Authors using this may find their CSS being case-sensitive and
body {
}
not targetting the element called <Body>. Suggest examples stick to lowercase.

Possibly the style-without-inter-element-spacing would work better over at the
li element, where often authors use display inline-block and may revert to this
style for cross-browser spacing.

Third example shows a <style> element inside HTML without the scoped attibute.
Without scoped, style must be in the <head>.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 15 October 2013 12:51:12 UTC