Skip to content

Commit

Permalink
Merge pull request #52 from SWTI2014/bug/imagebutton-alt
Browse files Browse the repository at this point in the history
Fix #49: Add function for alt attribute of input node
  • Loading branch information
PFischbeck committed May 22, 2014
2 parents ffa917c + 76c120c commit bda534f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/HTML.package/HtmlINPUTNode.class/instance/alt.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
as yet unclassified
alt
(self type = 'image')
ifTrue: [^self attributes at: 'alt' ifAbsent: ['[image]']]
ifFalse: [^self attributes at: 'alt' ifAbsent: ['']]
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"addRadioButtonToFormatter:" : "pf 5/18/2014 14:27",
"addTextInputToFormatter:" : "pf 5/18/2014 14:25",
"addToFormatter:" : "pf 5/18/2014 14:16",
"alt" : "SN 5/22/2014 11:49",
"defaultValue" : "pf 5/18/2014 14:18",
"imageExtent" : "pf 5/18/2014 14:25",
"mouseUpEvent:linkMorph:formData:" : "pf 5/18/2014 14:29",
Expand Down
2 changes: 1 addition & 1 deletion packages/HTML.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
89d4deb0-f0c3-47c1-855e-a3591c752c28
73fd8de8-4803-2148-a226-16833fb14a26
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'HTML-SN.63'message 'Enhance alt accessor of input node: Return empty string if attribute is not set and input type is not image.'id '7aa4dd3d-972c-1e47-b8fc-1f3b5ccbf9ec'date '22 May 2014'time '11:46:14.441 am'author 'SN'ancestors ((id '23e7fd8a-19d0-4040-bcfd-377b0dfd81c9'))stepChildren ())
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'HTML-SN.64'message 'Remove inline tab character from code.'id '73fd8de8-4803-2148-a226-16833fb14a26'date '22 May 2014'time '11:49:48.209 am'author 'SN'ancestors ((id '7aa4dd3d-972c-1e47-b8fc-1f3b5ccbf9ec'))stepChildren ())
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(name 'HTML-pf.62'message 'Fix #49: Add function for alt attribute of input node'id '23e7fd8a-19d0-4040-bcfd-377b0dfd81c9'date '22 May 2014'time '10:28:05.827 am'author 'pf'ancestors ((id '1d7ba9a9-8620-9d42-9f5d-41ab1a195e0a'))stepChildren ())
Expand Down

0 comments on commit bda534f

Please sign in to comment.