Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91E50E037 for ; Tue, 27 Nov 2012 16:17:46 +0000 (UTC) Received: (qmail 94735 invoked by uid 500); 27 Nov 2012 16:17:46 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 94632 invoked by uid 500); 27 Nov 2012 16:17:45 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 94596 invoked by uid 99); 27 Nov 2012 16:17:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 16:17:45 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of olemis@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 16:17:39 +0000 Received: by mail-vb0-f47.google.com with SMTP id e21so9991919vbm.6 for ; Tue, 27 Nov 2012 08:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=x8OoqKLQNGXDk+CK1bLyD9PduAGkRCJ7r3TD38zvHQA=; b=mCdTeOIyBXnUm7Y+zo7NlaVJzmYQ7WT46L1icT6p63/OArR7YrH2osUI92IlX6i+Bn 8tFha807k7GSPS/dN/MyrwJQ4nJ/IMKx7hdMmZZFWpfMetUzd4V4yEO1Cx8jeWRUdk8/ epUwhcVf4Utthtp6zeMdnEHETf00UhIELGdGVHqJauXgp8pIrM6uNxFrYOfFDPVB8Pw4 UYBR2RCN7uphwg+TFZ9aIkt4v/9MWcaS20y11LVgjIC8G8hAdh7zwH3A+jUUrIGup5Hg Vtkp9mcnwTGA6sNwC4FJl2boMvky/AAALDH0F1BkXwvuOksFsdN/j5CS7NN28/Nr5NG7 Qibg== MIME-Version: 1.0 Received: by 10.52.177.166 with SMTP id cr6mr22035259vdc.1.1354033038679; Tue, 27 Nov 2012 08:17:18 -0800 (PST) Received: by 10.58.156.71 with HTTP; Tue, 27 Nov 2012 08:17:18 -0800 (PST) In-Reply-To: <2BA32F18-E010-433A-8E9F-359192ABA8F8@wandisco.com> References: <2BA32F18-E010-433A-8E9F-359192ABA8F8@wandisco.com> Date: Tue, 27 Nov 2012 11:17:18 -0500 Message-ID: Subject: Re: Genshi XHTML + HTML 5 From: Olemis Lang To: bloodhound-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 11/26/12, Joe Dreimann wrote: > On 26 Nov 2012, at 07:03, Peter Ko=C5=BEelj wrote: >> On 25 November 2012 20:07, Matevz Bradac wrote: >>> Hi, >>> >>> I've started working on #217 - "Make Bloodhound's layout responsive", >>> based on Joe's html mockup of the ticket page (#240). >>> I noticed that the HTML output contains a mix of HTML 5 along with >>> XHTML 1.0, even though the doctype is XHTML 1.0 strict. >>> As a consequence (some of) the pages don't validate (e.g. >>> >>> http://validator.w3.org/check?uri=3Dhttps://issues.apache.org/bloodhoun= d/ticket/240 >>> ), >>> and this may be the cause of browsers (mis)behaving and rendering >>> things differently. >>> >>> Is there any general consensus which doctype BH should use? At least I didn't pay attention to this ... and afaicr I saw nothing like that in mockup either >>> Since >>> we're using Bootstrap I suppose it would be better to go along >>> with HTML 5, but I'm not sure how this affects the templating system. Should be OK , afaicr . Genshi is about XML >>> There's a Genshi extension which could be used >>> (http://code.google.com/p/genshihtml5), >>> does anyone have any experience with that? >>> What's the benefit for using this ? >>> >> The other thread "Inline editing of objects" (for the Ticket page) >> suggest >> fallback mechanism for javascript disabled browsers. >> Although this is not directly linked I would rather "advertise" BH as >> HTML5 >> UI experience than a no-javascript capable one. >> >> Is anybody aware of any browser that is actually incapable of displaying >> HTML5 page? >> >> Peter >> > > To my knowledge all relevant browsers (including IE6 etc) will display HT= ML > 5 pages (using quirks mode), more information here: > http://stackoverflow.com/questions/3911235/html-5-doctype-and-ie-6 > > In my opinion this is not an issue, we should be fine to use HTML 5. > AFAICS , HTML5 should be ok . It should be rendered in quirks mode by major browsers . I'm not sure what'd happen with small navigators like NetSurf but it claims to just support HTML 4. {{{ #!sh $ apt-cache show netsurf Package: netsurf Priority: extra Section: universe/web Installed-Size: 1248 [...] Version: 1.2-1build1 [...] Description: Small portable web browser with CSS and Unicode support NetSurf is a multi-platform lightweight web browser. Its aim is to provide comprehensive rendering of HTML 4 with CSS 2 in a small resource footprint while remaining fast. [...] }}} Once again , it is mandatory to design for disabled JS ... and that's beyond Netsurf ;) --=20 Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: