Closed
Bug 53448
Opened 26 years ago
Closed 25 years ago
GetSelectorText is always returning null
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
VERIFIED
FIXED
Future
People
(Reporter: attinasi, Assigned: attinasi)
References
Details
Attachments
(1 file)
|
578 bytes,
text/html
|
Details |
As a fix to bug 51944, the mSelectorText data member of nsCSSSelector was
removed. As a result, GetSelectorText was temporarily reimplemented to return
null. It should create a new selector and return that. Any clients of
GetSelectorText are now broekn, so this should be addressed soon.
Comment 1•26 years ago
|
||
The XMLterm component was using GetSelectorText through JS DOM and it used to
work correctly for changing styles interactively. See
http://lxr.mozilla.org/seamonkey/source/extensions/xmlterm/ui/content/XMLTermCommands.js#307
Because of the fix to bug 51944, this feature is broken.It would be nice to be
able to access the selectorText property correctly through DOM as soon as
possible.
Comment 2•26 years ago
|
||
| Assignee | ||
Comment 3•26 years ago
|
||
Accepting and setting milestone, but this will nto get fixed for RTM
Status: NEW → ASSIGNED
Target Milestone: --- → M20
| Assignee | ||
Comment 4•25 years ago
|
||
Setting milestone now to Future: this will be dealt with after RTM. If this
needs to get in for RTM please make the case for it and nominate RTM in the
keyword field.
Target Milestone: M20 → Future
Comment 5•25 years ago
|
||
At the moment I'm using an ugly workaround where I read all the CSS rules as
plain text, parse out the rule names myself, and use it to index the cssRules
DOM array. It works, but it is fragile and far from elegant. So the fix can wait
until after RTM, but will hopefully happen soon thereafter.
| Assignee | ||
Comment 6•25 years ago
|
||
Was this fixed when Hewitt fixed bug 52381? Seems like it should have been...
| Assignee | ||
Comment 7•25 years ago
|
||
Hewitt fixed bug 52381, I retested this with his fix and it works.
The console shows
selectorText = 'span.test' (correct value is 'SPAN.test')
when the testcase is opened in Viewer.
Marking FIXED - thanks to Hewitt!
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 8•25 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
*** Bug 62611 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•