[Bug 12778] New: add "paragraphs" pseudo selector in spec

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12778

           Summary: add "paragraphs" pseudo selector in spec
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: giorgio.liscio@email.it
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


hi, if we have three paragraphs like here:

<div id="body">
   first paragraph
   <p>second paragraph
   <ul><li>hey</ul>
   third paragraph
</div>

i want to select them as "elements" i always need to surround them with <p>

but a selector like:

div#body > ::paragraphs
{
    margin:20px;
}

would be really nice

contenteditable based editors do not always put <p> around texts, in html5 a
text is always a paragraph (if not surrounded by hN tags)

(hope there is the right place for this feature request)

thank you

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 25 May 2011 09:54:23 UTC