File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,12 @@ Float >> rad [
6565 ^ self newMeasureWith: RenoirSt units >> #radian
6666]
6767
68+ { #category : #' *RenoirSt-Core' }
69+ Float >> rem [
70+
71+ ^ self newMeasureWith: RenoirSt units >> #fontSizeOfRootElement
72+ ]
73+
6874{ #category : #' *RenoirSt-Core' }
6975Float >> s [
7076
Original file line number Diff line number Diff line change @@ -62,9 +62,12 @@ CssMeasureTest >> testCreationShortcutsForLengths [
6262 self
6363 assert: 1.3 cm asCssStringEquals: ' 1.3cm' ;
6464 assert: 0.8 em asCssStringEquals: ' 0.8em' ;
65+ assert: 1.3 rem asCssStringEquals: ' 1.3rem' ;
6566 assert: 1.1 in asCssStringEquals: ' 1.1in' ;
6667 assert: 2.9 mm asCssStringEquals: ' 2.9mm' ;
6768 assert: 0.1 pc asCssStringEquals: ' 0.1pc' .
69+
70+
6871]
6972
7073{ #category : #Tests }
You can’t perform that action at this time.
0 commit comments