Closed
Bug 70055
Opened 24 years ago
Closed 24 years ago
Get style.zIndex not yet implemented
Categories
(Core :: DOM: CSS Object Model, defect)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
People
(Reporter: netdragon, Assigned: harishd)
References
()
Details
Attachments
(1 file)
1.16 KB,
text/html
|
Details |
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.
Reporter | ||
Comment 1•24 years ago
|
||
Sorry about the bad link. jst told me to assign to harishd.
Assignee: jst → harishd
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
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.
Comment 4•24 years ago
|
||
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
Reporter | ||
Comment 6•24 years ago
|
||
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
Reporter | ||
Comment 8•24 years ago
|
||
Ok, I talked to Hixie, and I guess element.style is just an attribute.
Reporter | ||
Comment 9•24 years ago
|
||
????!!?!?!I'm confused
Reporter | ||
Comment 10•24 years ago
|
||
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.
Description
•