Closed
Bug 37470
Opened 25 years ago
Closed 24 years ago
Implement CSSStyleRuleImpl::GetParentRule()
Categories
(Core :: DOM: CSS Object Model, defect, P2)
Core
DOM: CSS Object Model
Tracking
()
RESOLVED
FIXED
mozilla0.9.5
People
(Reporter: jst, Assigned: bzbarsky)
References
Details
(Keywords: dom2)
Attachments
(2 files)
8.64 KB,
patch
|
pierre
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
1.16 KB,
text/html
|
Details |
Pierre, does the style system know about parent rules, for instance
@media {
foo {
clolr: red;
}
}
Does the stylesystem know that the media rule is the parent of the foo rule?
Comment 1•25 years ago
|
||
Closed as Invalid. The 'AtRules' are not parent rules.
The style system knows the medium attached to the stylesheet the rule belongs to
(look for UseForMedium()).
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•25 years ago
|
||
Ok, cool, I'll just make the DOM accessors for this throw the exception
NOT_SUPPORTED_ERR and that should be ok, thanks for checking. Verified invalid.
Status: RESOLVED → VERIFIED
Comment 3•25 years ago
|
||
I guess I did not understand what you were looking for. Re-opening.
Status: VERIFIED → REOPENED
Resolution: INVALID → ---
Updated•25 years ago
|
Status: REOPENED → ASSIGNED
Target Milestone: --- → M17
Reporter | ||
Comment 4•25 years ago
|
||
Ok, I'm sorry, I should have been more clear here, to give a useage sample with
the above css (and using color and not clolr:)
Say you have CSSStyleRule variable "a" for the "foo" rule and we call (in JS)
var fooParent = a.parentRule;
Can we easily return (the DOM CSS version) for the native CSSMediaRuleImpl?
I've got the DOM CSS version of CSSMediaRuleImpl in my tree, still needs some
cleaning up...
Please note tho that this is not a very important feature but if it's easy to
do we might as well do it.
Comment 5•25 years ago
|
||
Johnny, I'm not totally sure whether the Description here refers to
GetParentRule() or CSSMediaRuleImpl. Regardless, at this point, please push off
to FUTURE all bugs/features that are not absolutely critical for providing a
solid web app platform, regardless of how easy they may be. Got to close down
development and focus on fixing ASAP.
Reporter | ||
Comment 6•25 years ago
|
||
CSSMediaRule shouldn't need any modifications here (appart from some DOM
updates), CSSMediaRuleImpl just happens to be what's typically (always?)
returned by GetParentRule().
This is not at all critical for providing a solid web app platform.
Updated•24 years ago
|
Component: DOM Level 2 → DOM Style
Comment 8•24 years ago
|
||
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
Comment 9•24 years ago
|
||
Nominating this bug for nsbeta1 on behalf of gerardok@netscape.com.
Keywords: nsbeta1
Comment 10•24 years ago
|
||
Removing nsbeta1 nomination -- there was a misunderstanding and some "approved
out features" were nominated by mistake! Sorry!
Keywords: nsbeta1
![]() |
Assignee | |
Comment 11•24 years ago
|
||
![]() |
Assignee | |
Comment 12•24 years ago
|
||
Taking. reviews?
![]() |
Assignee | |
Comment 13•24 years ago
|
||
Comment 14•24 years ago
|
||
Comment on attachment 49545 [details] [diff] [review]
Proposed patch
r=pierre
jst, please s/r
Attachment #49545 -
Flags: review+
Reporter | ||
Comment 15•24 years ago
|
||
Comment on attachment 49545 [details] [diff] [review]
Proposed patch
sr=jst
Attachment #49545 -
Flags: superreview+
![]() |
Assignee | |
Comment 16•24 years ago
|
||
This was checked in on 2001-09-19
Status: NEW → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•