W3C home > Mailing lists > Public > www-style@w3.org > April 2003

processing instructions

From: Michael Day <mikeday@yeslogic.com>
Date: Tue, 22 Apr 2003 20:33:09 +1000 (EST)
To: www-style@w3.org
Message-ID: <Pine.LNX.4.44.0304222027330.1741-100000@lorien.yeslogic.com>


It would be convenient to have a selector to match processing 
instructions. For example:

?page-break? {
    page-break-after: always


:processing-instruction("foobar") {
    content: "This way we can insert arbitrary content"

Although this ignores the "content" of processing instructions, they can
still be used to insert line and page breaks or content into the document
(or be used in conjunction with sibling selectors).

Sadly the ?syntax? probably won't fly, and the pseudo-class syntax is a
somewhat confusing, given that such selectors normally match elements.

Any ideas?

Michael Day

YesLogic Pty. Ltd.
Received on Tuesday, 22 April 2003 05:15:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:07 UTC