patch for 'cssFloat'
Dirk Mueller
mueller at kde.org
Fri Oct 3 04:17:29 CEST 2003
On Thursday 02 October 2003 02:16, David Hyatt wrote:
> In our tree, -khtml- has been used to denote both internal properties
> (like flow-mode) but also CSS3 properties (like opacity).
... which is why it is wrong. The intention of those -konq- properties was to
use it for things which clearly don't ever map to something that is or is
ever going to be specified in CSS. -konq-flow-mode is a prime example here.
They're internal, and not ever intended to be used in an author stylesheet or
in a webpage. They were even intended to be ignored in the non-default
stylesheet, but that was never implemented.
However, we always tried to use the CSS specified name for things that we
implemented as experimental support. Even if the spec writers decide to
rename the property or to drop it completely. Prime exception is that
-konq-input-mode property that was recently added, but its still on my TODO
list to fix this one glitch.
> (However, given that the internal KHTML properties are usable from
> author sheets anyway, unless you're going to restrict that too,
> exposing them to script seems like a minor issue.)
They're not restricted in author stylesheets because thats the way the code
works. Having them restricting them would require to add code, which could
contain bugs, and in general bloats the browser for no practical reason. The
script case is however the opposite case. Yes, its just two lines of code.
> In order to do dynamic fade effects using opacity, you need to be able
> to set it from script. Mozilla currently uses -moz-opacity, and they
> allow the setting via mozOpacity.
Isn't the property name the CSS workgroup specifies just "opacity" ?
Then why not use that?
> I hope this clears things up. I understand that you haven't yet seen a
> WebCore with any of the experimental CSS3 properties included, so from
> your perspective, -khtml- only referred to internal properties.
Which other CSS3 properties did you implement?
--
> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for FREE! <
More information about the Khtml-devel
mailing list