Skip to content

Commit

Permalink
Issue #62 Add support for word-wrap property
Browse files Browse the repository at this point in the history
  • Loading branch information
plentini committed Jan 13, 2016
1 parent 5b28949 commit a5d3c53
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ testPrintStringOfTextProperties
assert: [ :style | style textIndent: 5 percent ] rendersProperty: 'text-indent' withValue: '5%';
assert: [ :style | style textTransform: CssConstants capitalize ] rendersProperty: 'text-transform' withValue: 'capitalize';
assert: [ :style | style whiteSpace: CssConstants nowrap ] rendersProperty: 'white-space' withValue: 'nowrap';
assert: [ :style | style wordSpacing: CssConstants normal ] rendersProperty: 'word-spacing' withValue: 'normal'
assert: [ :style | style wordSpacing: CssConstants normal ] rendersProperty: 'word-spacing' withValue: 'normal';
assert: [ :style | style wordWrap: CssConstants breakWord ] rendersProperty: 'word-wrap' withValue: 'break-word'
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"testPrintStringOfPaddingProperties" : "GabrielOmarCotelli 3/8/2014 16:35",
"testPrintStringOfTableProperties" : "GabrielOmarCotelli 3/8/2014 16:58",
"testPrintStringOfTextDecorationProperties" : "GabrielOmarCotelli 4/12/2014 15:47",
"testPrintStringOfTextProperties" : "GabrielOmarCotelli 3/8/2014 17:03",
"testPrintStringOfTextProperties" : "PedroAntonioLentini 1/13/2016 11:02",
"testPrintStringOfUIProperties" : "GabrielOmarCotelli 3/8/2014 18:20",
"testPrintStringOfVisualEffectProperties" : "GabrielOmarCotelli 10/28/2015 15:32",
"testPrintStringOfVisualFormattingProperties" : "GabrielOmarCotelli 3/8/2014 19:35",
Expand Down
2 changes: 1 addition & 1 deletion source/RenoirSt-Tests.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(name 'RenoirSt-Tests-GabrielOmarCotelli.37' message 'Issue #49Improve test cases to use <n> and <t> to ease porting' id 'cdd80177-d272-7046-9479-241ab7d34a3f' date '28 October 2015' time '7:14:50.462421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.36' message 'Issue #33Implement @font-face rules and some font reference abstractions' id 'e05005b9-54b4-9249-b388-94e1fa34dd3d' date '28 October 2015' time '6:35:23.533421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.35' message '- Implement greaseString in CssDeclarationBlock to allow using it inlined as style: in an HTML element.- Changed URL default semantics and add extension to allow consideration as relative to the style sheet' id '0e63da61-a946-2f42-8359-52b6891a3f48' date '28 October 2015' time '5:00:49.915421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.34' message 'Issue #53 - Improve Attribute Reference with string fallbacks' id '0592091f-9da3-0640-9a36-82724909f5c4' date '28 October 2015' time '4:04:03.450421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.33' message '- Add conversion method in colors to provide an alpha value for an existing color- Fix Bug in HSLColor function name when alpha value was provided- Add some properties and constants' id 'ec3737ef-5b0b-fd4e-9834-1a8a2299b737' date '28 October 2015' time '3:49:50.608421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.32' message 'Issue #61. Add a better abstraction for box shadows' id 'dd8720a1-95fb-8143-8763-08a3323df0ca' date '28 October 2015' time '2:49:10.300421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.31' message 'Add not pseudoclass selector shortcut' id '09787320-e5a2-ad41-aaf1-bccc505cfa6f' date '28 October 2015' time '10:09:58.995421 am' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.30' message 'Issue #40 - Gradient Support Addes support for linear-gradient(), radial-gradient(), repeating-linear-gradient(), repeating-radial-gradient() and some constants' id '7d4aec93-b9db-354e-bed9-a6db6ebfb60e' date '14 April 2014' time '11:07:31.195813 am' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
(name 'RenoirSt-Tests-PedroAntonioLentini.38' message 'Issue #62 Add support for word-wrap property' id '7df4eb13-ffb6-874e-8935-9a742109132e' date '13 January 2016' time '11:09:21.945214 am' author 'PedroAntonioLentini' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.37' message 'Issue #49Improve test cases to use <n> and <t> to ease porting' id 'cdd80177-d272-7046-9479-241ab7d34a3f' date '28 October 2015' time '7:14:50.462421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.36' message 'Issue #33Implement @font-face rules and some font reference abstractions' id 'e05005b9-54b4-9249-b388-94e1fa34dd3d' date '28 October 2015' time '6:35:23.533421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.35' message '- Implement greaseString in CssDeclarationBlock to allow using it inlined as style: in an HTML element.- Changed URL default semantics and add extension to allow consideration as relative to the style sheet' id '0e63da61-a946-2f42-8359-52b6891a3f48' date '28 October 2015' time '5:00:49.915421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.34' message 'Issue #53 - Improve Attribute Reference with string fallbacks' id '0592091f-9da3-0640-9a36-82724909f5c4' date '28 October 2015' time '4:04:03.450421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.33' message '- Add conversion method in colors to provide an alpha value for an existing color- Fix Bug in HSLColor function name when alpha value was provided- Add some properties and constants' id 'ec3737ef-5b0b-fd4e-9834-1a8a2299b737' date '28 October 2015' time '3:49:50.608421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.32' message 'Issue #61. Add a better abstraction for box shadows' id 'dd8720a1-95fb-8143-8763-08a3323df0ca' date '28 October 2015' time '2:49:10.300421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.31' message 'Add not pseudoclass selector shortcut' id '09787320-e5a2-ad41-aaf1-bccc505cfa6f' date '28 October 2015' time '10:09:58.995421 am' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-Tests-GabrielOmarCotelli.30' message 'Issue #40 - Gradient Support Addes support for linear-gradient(), radial-gradient(), repeating-linear-gradient(), repeating-radial-gradient() and some constants' id '7d4aec93-b9db-354e-bed9-a6db6ebfb60e' date '14 April 2014' time '11:07:31.195813 am' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
Expand Down
3 changes: 3 additions & 0 deletions source/RenoirSt.package/CssConstants.class/class/breakWord.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Accessing - Text
breakWord
^'break-word'
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"borderBox" : "GabrielOmarCotelli 4/8/2014 23:05",
"both" : "GabrielOmarCotelli 3/6/2014 23:32",
"bottom" : "GabrielOmarCotelli 3/6/2014 22:02",
"breakWord" : "PedroAntonioLentini 1/13/2016 11:03",
"capitalize" : "GabrielOmarCotelli 3/6/2014 23:44",
"caption" : "GabrielOmarCotelli 3/6/2014 22:08",
"center" : "GabrielOmarCotelli 3/6/2014 23:43",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
text properties
wordWrap: aCssValue
self propertyAt: 'word-wrap' put: aCssValue
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,5 @@
"whiteSpace:" : "GabrielOmarCotelli 3/5/2014 09:13",
"width:" : "GabrielOmarCotelli 3/5/2014 08:47",
"wordSpacing:" : "GabrielOmarCotelli 3/5/2014 09:12",
"wordWrap:" : "PedroAntonioLentini 1/13/2016 11:05",
"zIndex:" : "GabrielOmarCotelli 3/5/2014 09:02" } }
2 changes: 1 addition & 1 deletion source/RenoirSt.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(name 'RenoirSt-GabrielOmarCotelli.45' message 'Issue #54Add shortcuts for common heading levels.' id 'ee8818cf-4e86-0d45-8240-ed2db947b37b' date '28 October 2015' time '7:28:21.904421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.44' message 'Issue #49Improve test cases to use <n> and <t> to ease porting' id '97a3c7f3-4ff5-0f4b-b287-6da879ab5e83' date '28 October 2015' time '7:10:23.738421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.43' message 'Issue #33Implement @font-face rules and some font reference abstractions' id '4d2d6659-8d6f-4c45-a4c0-88c1bed4a412' date '28 October 2015' time '6:34:04.495421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.42' message '- Implement greaseString in CssDeclarationBlock to allow using it inlined as style: in an HTML element.- Changed URL default semantics and add extension to allow consideration as relative to the style sheet' id '35189da4-0316-e247-bc80-a74317b71f01' date '28 October 2015' time '4:57:17.015421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.41' message 'Issue #53 - Improve Attribute Reference with string fallbacks' id 'e8de8020-efe5-e544-9242-41b26af03927' date '28 October 2015' time '4:03:02.023421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.40' message '- Add conversion method in colors to provide an alpha value for an existing color- Fix Bug in HSLColor function name when alpha value was provided- Add some properties and constants' id '294c34ae-1f82-2544-b4ce-be3395c7ac98' date '28 October 2015' time '3:48:03.315421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.39' message 'Issue #61. Add a better abstraction for box shadows' id 'a758a41e-a170-3a4e-a668-7fd25e5940fc' date '28 October 2015' time '2:47:56.600421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.38' message 'Add "not" pseudoclass selector shortcut' id '5023c0b8-4468-1448-ba6f-4b86c6b6c7f7' date '28 October 2015' time '10:09:19.188421 am' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.37' message 'Issue #40 - Gradient Support Addes support for linear-gradient(), radial-gradient(), repeating-linear-gradient(), repeating-radial-gradient() and some constants' id '4017af8d-c9c3-694b-8312-e9c0974132bc' date '14 April 2014' time '11:07:14.512813 am' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
(name 'RenoirSt-PedroAntonioLentini.46' message 'Issue #62 Add support for word-wrap property' id '05046216-3133-ac42-9925-d78732472267' date '13 January 2016' time '11:07:46.782214 am' author 'PedroAntonioLentini' ancestors ((name 'RenoirSt-GabrielOmarCotelli.45' message 'Issue #54Add shortcuts for common heading levels.' id 'ee8818cf-4e86-0d45-8240-ed2db947b37b' date '28 October 2015' time '7:28:21.904421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.44' message 'Issue #49Improve test cases to use <n> and <t> to ease porting' id '97a3c7f3-4ff5-0f4b-b287-6da879ab5e83' date '28 October 2015' time '7:10:23.738421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.43' message 'Issue #33Implement @font-face rules and some font reference abstractions' id '4d2d6659-8d6f-4c45-a4c0-88c1bed4a412' date '28 October 2015' time '6:34:04.495421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.42' message '- Implement greaseString in CssDeclarationBlock to allow using it inlined as style: in an HTML element.- Changed URL default semantics and add extension to allow consideration as relative to the style sheet' id '35189da4-0316-e247-bc80-a74317b71f01' date '28 October 2015' time '4:57:17.015421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.41' message 'Issue #53 - Improve Attribute Reference with string fallbacks' id 'e8de8020-efe5-e544-9242-41b26af03927' date '28 October 2015' time '4:03:02.023421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.40' message '- Add conversion method in colors to provide an alpha value for an existing color- Fix Bug in HSLColor function name when alpha value was provided- Add some properties and constants' id '294c34ae-1f82-2544-b4ce-be3395c7ac98' date '28 October 2015' time '3:48:03.315421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.39' message 'Issue #61. Add a better abstraction for box shadows' id 'a758a41e-a170-3a4e-a668-7fd25e5940fc' date '28 October 2015' time '2:47:56.600421 pm' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.38' message 'Add "not" pseudoclass selector shortcut' id '5023c0b8-4468-1448-ba6f-4b86c6b6c7f7' date '28 October 2015' time '10:09:19.188421 am' author 'GabrielOmarCotelli' ancestors ((name 'RenoirSt-GabrielOmarCotelli.37' message 'Issue #40 - Gradient Support Addes support for linear-gradient(), radial-gradient(), repeating-linear-gradient(), repeating-radial-gradient() and some constants' id '4017af8d-c9c3-694b-8312-e9c0974132bc' date '14 April 2014' time '11:07:14.512813 am' author 'GabrielOmarCotelli' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
Expand Down

0 comments on commit a5d3c53

Please sign in to comment.