<div dir="auto">Hi Marcel,<div dir="auto">No, it's printHtmlString which is broken.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 17 mai 2019 à 09:12, Marcel Taeumel <<a href="mailto:marcel.taeumel@hpi.de">marcel.taeumel@hpi.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div id="m_2499836169111451631__MailbirdStyleContent" style="font-size:10pt;font-family:Arial;color:#000000">
                                        Hi Nicolas,<div><br></div><div>note than if you plan to fix (or change) the implementation of Color class >> #fromString:, we have to update *all* user-interface themes. :-(</div><div><br></div><div>Best,</div><div>Marcel</div><div class="m_2499836169111451631mb_sig"></div><blockquote class="m_2499836169111451631history_container" type="cite" style="border-left-style:solid;border-width:1px;margin-top:20px;margin-left:0px;padding-left:10px">
                        <p style="color:#aaaaaa;margin-top:10px">Am 16.05.2019 20:16:45 schrieb <a href="mailto:commits@source.squeak.org" target="_blank" rel="noreferrer">commits@source.squeak.org</a> <<a href="mailto:commits@source.squeak.org" target="_blank" rel="noreferrer">commits@source.squeak.org</a>>:</p><div style="font-family:Arial,Helvetica,sans-serif">Nicolas Cellier uploaded a new version of GraphicsTests to project The Trunk:<br><a href="http://source.squeak.org/trunk/GraphicsTests-nice.53.mcz" target="_blank" rel="noreferrer">http://source.squeak.org/trunk/GraphicsTests-nice.53.mcz</a><br><br>==================== Summary ====================<br><br>Name: GraphicsTests-nice.53<br>Author: nice<br>Time: 16 May 2019, 8:15:16.075297 pm<br>UUID: 3f05f59a-6940-4d79-ad13-3724ac086821<br>Ancestors: GraphicsTests-nice.52<br><br>Add tests for round trip conversion of Color fromString: printHtmlString.<br><br>=============== Diff against GraphicsTests-nice.52 ===============<br><br>Item was changed:<br>  ----- Method: ColorTest>>testPrintHtmlString (in category 'tests') -----<br>  testPrintHtmlString<br>        "self debug: #testPrintHtmlString"<br>          <br>+     "test the semantic of components"<br>   self assert: Color white printHtmlString = 'FFFFFF'.<br>          self assert: Color red printHtmlString =  'FF0000'.<br>+  self assert: Color green printHtmlString =  '00FF00'.<br>+        self assert: Color blue printHtmlString =  '0000FF'.<br>+         self assert: Color black printHtmlString = '000000'.<br>+         <br>+     "test all possible values for each component (but no combinatorial)"<br>+       16r00 to: 16rFF do:<br>+          [:component |<br>+                | xx o roo ogo oob |<br>+                 xx := component printStringBase: 16 length: 2 padded: true.<br>+          o := '00'.<br>+           roo := xx , o , o.<br>+           ogo := o , xx , o.<br>+           oob := o , o , xx.<br>+           self assert: roo equals: (Color fromString: '#' , roo) printHtmlString.<br>+              self assert: ogo equals: (Color fromString: '#' , ogo) printHtmlString.<br>+              self assert: oob equals: (Color fromString: '#' , oob) printHtmlString].!<br>-    self assert: Color black printHtmlString = '000000'.!<br><br><br></div></blockquote>
                                        </div></div><br>
</blockquote></div>