W3C home > Mailing lists > Public > public-html@w3.org > May 2011

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 May 2011 09:54:21 +0000
To: public-html@w3.org
Message-ID: <bug-12778-2495@http.www.w3.org/Bugs/Public/>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:17:32 GMT