Closed
Bug 78706
Opened 24 years ago
Closed 24 years ago
String() HTML methods not XHTML compliant
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: pschwartau, Assigned: norrisboyd)
Details
This is the Rhino version of bug 76054 in SpiderMonkey -
Reporter: ajvincent@hotmail.com
"I've noticed the HTML methods of String.prototype return uppercase tags.
The latest HTML recommendation from the W3C specifies lowercase tags --
example: <big>k</big> instead of <BIG>k</BIG>."
Reproducible: Always
Steps to Reproduce:
1. Type javascript:alert("k".big()) into your location bar.
Actual Results: Alert window containing "<BIG>k</BIG>".
Expected Results: Alert window containing "<big>k</big>".
Assignee | ||
Comment 1•24 years ago
|
||
Fixed:
Checking in src/org/mozilla/javascript/NativeString.java;
/cvsroot/mozilla/js/rhino/src/org/mozilla/javascript/NativeString.java,v <-- N
ativeString.java
new revision: 1.18; previous revision: 1.17
done
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 2•24 years ago
|
||
Testcase js/tests/js1_5/Regress/regress-76054.js is now passing
in the rhino and rhinoi shells. Marking Verified Fixed -
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•