- From: Abel Braaksma <abel.braaksma@xs4all.nl>
- Date: Wed, 7 Dec 2016 13:13:40 +0100
- To: "'Andrew Coleman'" <andrew_coleman@uk.ibm.com>, "'Michael Kay'" <mike@saxonica.com>
- Cc: "'Public Joint XSLT XQuery XPath'" <public-xsl-query@w3.org>
- Message-ID: <202a01d25083$5a503730$0ef0a590$@xs4all.nl>
Shouldn't that have been style="width:100%" instead (and with the width-attribute dropped)? From: Andrew Coleman [mailto:andrew_coleman@uk.ibm.com] Sent: Wednesday, December 07, 2016 11:38 AM To: Michael Kay Cc: Public Joint XSLT XQuery XPath Subject: Re: Graphics Michael Kay <mike@saxonica.com> wrote on 06/12/2016 12:55:22: > I have added support for the attribute > > <graphic role="full-width"> > > which translates into > > <image width="100%"> Unfortunately, this upsets the pubrules checker and html5 validator: <https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.w3.org%2FXML%2FGroup%2Fqtspecs%2Fspecifications%2Fxpath-functions-31%2Fhtml%2F> https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.w3.org%2FXML%2FGroup%2Fqtspecs%2Fspecifications%2Fxpath-functions-31%2Fhtml%2F 1. Error: Bad value 100% for attribute width on element <http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-img-element> img: Expected a digit but saw % instead. >From line 1924, column 23; to line 1924, column 126 </p><img src="XPathTypeHierarchy-1-items-3.1.png" width="100%" alt="Type hierarchy graphic, item hierarchy"><p>In Syntax of non-negative integer: One or more digits (0–9). For example: 42 and 0 are valid, but -273 is not. 1. Error: Bad value 100% for attribute width on element <http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-img-element> img: Expected a digit but saw % instead. >From line 2043, column 23; to line 2043, column 132 </p><img src="XPathTypeHierarchy-2-anyTypes-3.1.png" width="100%" alt="Type hierarchy graphic, anyType hierarchy"><p>In Syntax of non-negative integer: One or more digits (0–9). For example: 42 and 0 are valid, but -273 is not. 1. Error: Bad value 100% for attribute width on element <http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-img-element> img: Expected a digit but saw % instead. >From line 2146, column 23; to line 2146, column 144 </p><img src="XPathTypeHierarchy-3-anyAtomicTypes-3.1.png" width="100%" alt="Type hierarchy graphic, anyAtomicType hierarchy"><p>In Syntax of non-negative integer: One or more digits (0–9). For example: 42 and 0 are valid, but -273 is not. Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
Received on Wednesday, 7 December 2016 12:14:34 UTC