Path: csiph.com!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: HTML inside a CANVAS Date: Mon, 01 Aug 2016 14:51:40 +0200 Organization: PointedEars Software (PES) Lines: 28 Message-ID: <19120790.EfDdHjke4D@PointedEars.de> References: <5486a32e-a929-445a-98eb-1aaa2ed3dcc0@googlegroups.com> <6cf0589d-a169-45aa-9a2e-617ba94bb989@googlegroups.com> <52782ed7-0468-43e5-aac8-299d3e2a7b8e@googlegroups.com> <92894a2d-9f8d-4eb0-ac3c-2aa3d6c9115e@googlegroups.com> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1470055903 22000 eJwFwYEBgDAIA7CXBmtBzhGk/59gwhsWkwgGKAqnS+Y1auopw5V16sDdWOZgbX7v5kgLzQ8SsxE/ (1 Aug 2016 12:51:43 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Mon, 1 Aug 2016 12:51:43 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwFwQkBwDAIBDBL4/jlAAX/EpYoG9m4mJro6dlgJ7oCTRlv+JMe0+TDHq9DqAkkTBvmDu/y5XiJ1GHUD1JJFQY= Cancel-Lock: sha1:NVEaThybgvV5DbLT7TZejXqSslI= X-NNTP-Posting-Host: eJwFwYERgDAIA8CVoIUkjKMe2X8E//si8bHQqHY7ZnT8vLuegQojho+YqCyupGj5xNI3wR8H6g/p Xref: csiph.com comp.lang.javascript:31005 Christoph M. Becker wrote: > On 31.07.2016 at 21:19, bit-naughty@hotmail.com wrote: >> On Thursday, July 28, 2016 at 8:24:34 PM UTC+5:30, Michael Haufe (TNO) >> wrote: >>> You still haven't said WHY you want to do it this way. You're in a web >>> browser, the web browser already has an HTML form and SVG support. WHY >>> try to recreate it in canvas? >> >> Oh....it's just more intuitive for me, something I'm completely used to - >> comes from BASIC I guess, as a kid - you know, INPUT A$; and PRINT AT >> 10,10; "Hello:" ...? As far as I'm concerned, CSS is STILL a nightmare! >> All that stuff about "normal flow" and what not - you never know where >> your text will end up, on screen!.... > > With a canvas you might not even know whether the text ends up on the > screen at all, though. Furthermore, reading text rendered as image is > hard or even impossible for some. ACK. Canvas is for *bitmap* graphics. Use Canvas for that, SVG for vector graphics, and (X)HTML for Web forms. Or, as Scotty said^Wyelled, “Houw many times do I have to tell ye??? The rrright tool for the rrright job!!!” ;-) -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.