Closed Bug 70055 Opened 24 years ago Closed 24 years ago

Get style.zIndex not yet implemented

Categories

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

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: netdragon, Assigned: harishd)

References

()

Details

Attachments

(1 file)

Getting zIndex is not yet implemented. When you try to return the zIndex, it returns a null string. I will omit personal opinion about this except to say I hope it gets implemented soon. NS_IMETHODIMP nsComputedDOMStyle::GetZIndex(nsAWritableString& aZIndex) { return NS_ERROR_DOM_NOT_SUPPORTED_ERR; } http://lxr.mozilla.org/mozilla/source/content/html/style/src/nsComputedDOMStyle. cpp#1334 Testcase will be attached. I also noticed that a few more things in that file weren't implemented.
Sorry about the bad link. jst told me to assign to harishd.
Assignee: jst → harishd
Just in case I confused you, sorry about the bad link was referring to the link you will probably have to copy and paste into your browser. the thing about jst was in response to me reassigning this bug to harishd.
Confirmed Platform: PC OS: Windows 98 Mozilla Build: 2001022007 Marking NEW.
Severity: major → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Added z-index support. Please use getPropertyValue("z-index").
Status: NEW → ASSIGNED
harishd: will element.style.zIndex eventually work too?
Talked to jst and he doesn't think that we will ever support element.style.property. Anyway, the above bug afaik is FIXED. Marking it so.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Ok, I talked to Hixie, and I guess element.style is just an attribute.
????!!?!?!I'm confused
Ok, http://www.w3.org/TR/DOM-Level-2-Style/ecma-script-binding.html element.style is of type CSSStyleDeclaration and CSS2Properties using interface binding in c++ (which is automatic in javascript). zIndex is a member of CSS2Properties.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: