Skip to content

Commit

Permalink
Small changes to help load the code into GS64 without breaking Pharo …
Browse files Browse the repository at this point in the history
…code.
  • Loading branch information
Maximiliano Tabacman committed Nov 29, 2018
1 parent 900c5bf commit e5e4cfc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/RenoirSt-Tests/CssRadialGradientTest.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ CssRadialGradientTest >> testEllipseGradientPositioned [

| gradient |

gradient := CssRadialGradient elliptical: {5 em. 3 em} at: { 5px . 30 px} fading: #(#white #red).
gradient := CssRadialGradient elliptical: {5 em. 3 em} at: { 5 px. 30 px} fading: #(#white #red).
self assert: gradient printString equals: 'radial-gradient(5em 3em ellipse at 5px 30px, white, red)'
]

Expand Down
4 changes: 3 additions & 1 deletion source/RenoirSt/CssIdSelector.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ CssIdSelector class >> for: anId over: aSelector [
CssIdSelector >> cssContentOn: aStream [

selector cssContentOn: aStream.
aStream nextPutAll: id printString
aStream
nextPut: $#;
nextPutAll: id greaseString
]

{ #category : #'initialize-release' }
Expand Down
6 changes: 6 additions & 0 deletions source/RenoirSt/CssObject.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ CssObject class >> lookupValue: aNamedConstantOrValue [
ifFalse: [ CssConstants at: aNamedConstantOrValue ifAbsent: [ self lookupColor: aNamedConstantOrValue ] ]
]

{ #category : #Printing }
CssObject >> asString [

^ self printString
]

{ #category : #Printing }
CssObject >> cssContentOn: aStream [

Expand Down

0 comments on commit e5e4cfc

Please sign in to comment.