Re: New CSS rule suggestion

Shane:

> I have a suggestion for a background text watermark rule.

Just judging from that, I assumed a proposal for a property ‘background-text’, which you could probably fake with ‘background-image’ and new possibilities of the generic <image> data type.

> watermark: text, font, font-size, x-position, y-position, color;

I would expect an at-rule for something like that.

  @watermark "top-secret" {
    content: url(top-secret.svg), "Top Secret";
    color: red; font-weight: bold;
  /*position: bottom right;*/
  }
  @page {
    watermark: "top-secret" draft, confidential draft;
  }

  watermark: [[<at-watermark>]+ , ]* [[<watermarks>]+ , ]* <watermarks>+
  <watermarks>: confidential || draft || copy || …

Received on Thursday, 17 November 2011 17:15:19 UTC