[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 304355] New: "content" CSS property is applied to all elements but should only be applied to :a
From: Rolf Eike Beer <kde () opensource ! sf-tec ! de>
Date: 2012-07-31 20:35:18
Message-ID: bug-304355-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=304355
Bug ID: 304355
Severity: normal
Version: 4.8.2
Priority: NOR
Assignee: konq-bugs@kde.org
Summary: "content" CSS property is applied to all elements but
should only be applied to :after and :before
Classification: Unclassified
OS: Linux
Reporter: kde@opensource.sf-tec.de
Hardware: Other
Status: NEW
Component: khtml
Product: konqueror
http://www.w3.org/TR/CSS21/generate.html#content
Computed value: On elements, always computes to 'normal'. On :before and
:after, if 'normal' is specified, computes to 'none'. Otherwise, for URI
values, the absolute URI; for attr() values, the resulting string; for other
keywords, as specified.
But if you add some stylesheet like
a {content: ""}
p {content:none}
This is applied to the elements, i.e. they are rendered empty (modulo some
other bugs). Tested with Opera, Firefox, and Chromium: Opera has same behavior
as KHTML, the other 2 follow the spec.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic