[Webkit-unassigned] [Bug 14363] getComputedStyle of all style properties is incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 11:10:24 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14363





------- Comment #3 from browserbugs at gtalbot.org  2007-06-25 11:10 PDT -------
I'm looking for a DOM 2 CSS code which will report back all of the possible
attributes, properties of an object (here, the document.body.style object). And
when I get a property or an attribute, find out/get their default or current
value. So, I would have expected to have the css properties to be returned like
this:

1. background-attachment: scroll;

> we don't enumerate the attributes that are
> part of the CSS2Properties interface yet
Yes, that's one problem; implementation of the CSS2Properties interface. One
has to use setProperty(propertyName, value) to workaround this limitation.

I don't understand why the cssText property holds all or almost all (127 style
properties) of data I was looking for. I'm still experimenting and reading the
DOM 2 CSS spec...

Differential implementation in details can contribute to fragment the web.
Doing as accurately as possible what Mozilla Firefox and Opera do can help
convince Microsoft not to be incompatible when implementing new properties.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list