Closed Bug 10624 Opened 20 years ago Closed 20 years ago

{dom2} style.letterSpacing not working in M8?

Categories

(Core :: DOM: CSS Object Model, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ekrock, Assigned: vidur)

References

()

Details

(Whiteboard: [TESTCASE])

M8 1999071417 on WinNT 4.0 SP3.

To repro:
1) go to url
2) click button

expected:
- font size should change to 100pt

actual:
- font size doesn't change

Don't know if this worked in previous milestones. Here's the code:

<HTML>
<HEAD>
<TITLE>setLetterSpacing</TITLE>

<SCRIPT TYPE="text/javascript">

<!--
function setLetterSpacing(id,space){
    document.getElementById(id).style.letterSpacing =  space  ;
}
//-->

</SCRIPT>
</HEAD>
<BODY>

<DIV ID="test" STYLE="font:900 50px Arial"><BR>(^^)/Hi</DIV>

<FORM>
<INPUT TYPE="button"
       VALUE="change LetterSpacing"
       onClick="if(document.getElementById)setLetterSpacing('test','30')">
</FORM>

</BODY>
</HTML>
Whiteboard: [TESTCASE]
Marked [TESTCASE] as the source file couldn't be any simpler.
This seems to be the same units problem as bug 10622.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Works on 9/31/1999 build. w.r.t. David Baron's comment about units, I think
Peter is fairly lenient about missing units, even though they are required for
CSS.
Component: DOM Level 2 → DOM Style
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
VERIFIED as per http://web01.fureai.or.jp/~tato/ver5/setLetterSpacing.htm
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.