String() HTML methods not XHTML compliant

VERIFIED FIXED

Status

Rhino
Core
VERIFIED FIXED
17 years ago
17 years ago

People

(Reporter: Phil Schwartau, Assigned: Norris Boyd)

Tracking

Details

(Reporter)

Description

17 years ago
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

17 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
Last Resolved: 17 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

17 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.