- From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
- Date: Mon, 10 May 2010 17:02:15 +0200
- To: www-style list <www-style@w3.org>
Le 09/05/10 19:04, Tab Atkins Jr. a écrit :
> p { content: url(image); }
> p::before { content: "foo"; }
>
> I presume it should fall under the same "undefined" banner that
> setting img::before does, correct?
Sigh.
Imagine a CMS where the following styles are enforced by the system:
img.companyLogo {
content: url(logo.png);
}
img:not(.validatedByComDpt).companyLogo::before {
background-color: red;
color: black;
font-weight: bold;
content: "VALIDATION REQUIRED";
}
</Daniel>
Received on Monday, 10 May 2010 15:02:47 UTC