[despammed] Possible CSS bug?
Esben Mose Hansen
kde at mosehansen.dk
Thu Sep 16 19:40:55 BST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 16 September 2004 03:32, Conrad Akier wrote:
> Hi everyone,
>
> I think I may have found a khtml CSS rendering bug. I setup a test
> page with description for everyone to look at:
>
> http://www.akier.net/tests/khtml_underline/
>
> What is the proper behavior?
I wrote the original implementation of the Mozilla behaviour, so I'm obviously
biased :) I think Mozilla got it right. It should only affect descendant
boxes, and absolute positioned boxes are token out of the flow.
The relevant bit from the standard is:
"If the property is specified for a block-level element, it affects all
inline-level descendants of the element. If it is specified for (or affects)
an inline-level element, it affects all boxes generated by the element."
[...]
"This property is not inherited, but descendant boxes of a block box should be
formatted with the same decoration (e.g., they should all be underlined)."
http://www.w3.org/TR/CSS2/text.html#lining-striking-props
- --
regards, Esben
Homepage: http://www.mosehansen.dk
Signature fingerprint at http://www.mosehansen.dk/about
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBSd45rfnftt13wXIRAhkxAJ9Rt7ITEkqjb+otdjSOEKSVLcG2egCfWOfb
+GYrTvc7JTZG9Bvb+TCcdUo=
=v3D+
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list