Closed Bug 805882 Opened 12 years ago Closed 12 years ago

getComputedStyle(document.body).cssText returns "" instead of css text

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 137687

People

(Reporter: kats, Unassigned)

Details

STR:

1. Load any page (e.g. http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleDeclaration)
2. Open the developer console
3. Run | getComputedStyle(document.body).cssText |

Expected value:
A non-empty string with the computed CSS properties for the body

Actual value:
empty string

Tested in desktop build on Mac OS X 18.0a2 and on a nightly android build. I haven't tried other versions so I don't know if this is a regression or it was just never implemented. It works as expected in Chrome
Maybe a duplicate of bug 137687?
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Yes, exactly.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.