Closed Bug 88930 Opened 23 years ago Closed 23 years ago

Advanced Edit: All elements with border, hspace, and vspace attributes should only accept numeric values

Categories

(Core :: DOM: Editor, defect, P3)

x86
Other
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: rubydoo123, Assigned: cmanske)

References

Details

(Whiteboard: [dialog])

the IMG element border attribute should only allow numeric values
bae
Assignee: beppe → cmanske
Keywords: correctness
Priority: -- → P3
Whiteboard: [dialog]
Target Milestone: --- → mozilla1.0
the vspace and hspace attributes have the same issue
Summary: Advanced Edit: IMG element border attribute should only accept numeric values → Advanced Edit: IMG element border, hspace and vspace attributes should only accept numeric values
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla0.9.4
Changing summary to include all elements that use "vspace" and "hspace".
All should be numeric-only.
Summary: Advanced Edit: IMG element border, hspace and vspace attributes should only accept numeric values → Advanced Edit: All elements with hspace and vspace attributes should only accept numeric values
*** Bug 89437 has been marked as a duplicate of this bug. ***
Fix is to add the '#' signal character to do filtering of input for integers:
For the IMG element:
  "ismap",
  "align",
-  "border",
-  "hspace",
-  "vspace",
+  "#border",
+  "#hspace",
+  "#vspace",
  "-",
  "_core",

and for the APPLET element:

  "align",
-  "hspace",
-  "vspace",
+  "#hspace",
+  "#vspace",
   "-",

and the OBJECT element:
  "name",
  "#tabindex",
  "align",
-  "border",
-  "hspace",
-  "vspace",
+  "#border",
+  "#hspace",
+  "#vspace",
  "-",
Keywords: review
Summary: Advanced Edit: All elements with hspace and vspace attributes should only accept numeric values → Advanced Edit: All elements with border, hspace, and vspace attributes should only accept numeric values
Whiteboard: [dialog] → [dialog]FIX IN HAND need r=, sr=
r=brade
Whiteboard: [dialog]FIX IN HAND need r=, sr= → [dialog]FIX IN HAND need sr=
sr=kin@netscape.com
Whiteboard: [dialog]FIX IN HAND need sr= → [dialog]FIX IN HAND, reviewed
checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: review
Resolution: --- → FIXED
Whiteboard: [dialog]FIX IN HAND, reviewed → [dialog]
Verified on 8-30 Build
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.