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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 24 01:58:44 PDT 2007


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

           Summary: getComputedStyle of all style properties is incorrect
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
               URL: http://www.gtalbot.org/DHTMLSection/ListComputedStylePro
                    pertyValues.html
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: browserbugs at gtalbot.org


Steps to reproduce
------------------
1- Load provided URL
2- Click "List computed style properties of body node" button

Actual results
--------------
The cssText lists (in lexicographical order) all of the possible style
properties and their correspondent computed value. Only 10 other properties are
listed for document.body.style:
2. getPropertyCSSValue = function getPropertyCSSValue() { [native code] } 
3. getPropertyPriority = function getPropertyPriority() { [native code] } 
4. getPropertyShorthand = function getPropertyShorthand() { [native code] } 
5. getPropertyValue = function getPropertyValue() { [native code] } 
6. isPropertyImplicit = function isPropertyImplicit() { [native code] } 
7. item = function item() { [native code] } 
8. length = 127
9. parentRule = null
10. removeProperty = function removeProperty() { [native code] } 
11. setProperty = function setProperty() { [native code] } 

Expected results
----------------
The applicable style properties should all be listed with their correspondent
computed value. The cssText should just be listed as a property of the style
object with an empty value.

Notes
-----
- cssText is supposed to apply to stylesheet objects, cssRules objects and
style declarations; cssText should return (get) the textual declaration of
their object.

- Firefox 2.0.0.4 and Opera 9.21 get the expected results; MSIE 7 via
currentStyle get the expected results.

- I've searched for duplicates and couldn't find any.

- Safari 3.0.2 build 522.13.1 here


-- 
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