W3C

Disposition of comments for the Mobile Web Best Practices Working Group

paged view

In the table below, red is in the WG decision column indicates that the Working Group didn't agree with the comment, green indicates that a it agreed with it, and yellow reflects an in-between situation.

In the "Commentor reply" column, red indicates the commenter objected to the WG resolution, green indicates approval, and yellow means the commenter didn't respond to the request for feedback.

CommentorCommentWorking Group decisionCommentor reply
LC-1723 Anne van Kesteren <annevk@opera.com> (archived comment)
> One sub-point I'd like to make is that it's not wrong for the user
> agent to say nothing about what it accepts. It's also not wrong to
> list everything it accepts every time, according to HTTP. If a request
> for a CSS file retrieves a text/html document, well, sounds like the
> site is quite broken. This is not a user agent problem.

I think I interpret this rather different from you. That is, the user
agent indicates which types it supports for a particular request. So if it
says text/html when it fetches a style sheet it indicates it can process
text/html as a style sheet for the current page. Or if it fetches an image
that it can show text/html resources as images.
We don't agree that the HTTP RFC requires this interpretation. We believe that if a user agent includes an accept header that specifies text/css in a request, that is an indication not that text/css is an acceptable response for an image but that it can process text/css in some circumstances. In general the User Agent does not know what type of resource to anticipate when it makes a request. It is a special case when it does, as a result in this case of making a retrieval linked to a specific element in a resource already retrieved. yes
LC-1700 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> * Include an Accept header indicating that Internet media types
> understood by the default delivery context are accepted by
> sending
> exactly this header:
> Accept: application/xhtml+xml,text/html;q=0.1,application/
> vnd.wap.xhtml+xml;q=0
> .1,text/css,image/jpeg,image/gif

The main request should not include the CSS type. The requests for
style sheets should only list the CSS type. Requests for images
should only list image types.

It is rather sad that the supported image formats do not include PNG.
We think that the request headers indicate general capabilities not specific capabilities for any particular request. In the case of the "main" request, it cannot be said for sure that the resource under test is not a css resource. The tester takes no view aobut the format of a resource under test when it requests it, it is only after it receives it that it checks that it is valid HTML etc. In general we believe this is consistent with User Agent behaviour which is not to assume that a resource is of any particular format.

PNG is not included in the request header because it is defined as being unsupported by the DDC. That in turn results from support not being as widespread as other formats.
tocheck
LC-1701 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> * Check for consistency with HTTP headers, as follows:
> For each meta element with an http-equiv attribute:
> If a matching HTTP response header does not exist, warn
> If a matching HTTP response header exists but its value differs
> from the content attribute value, warn

These two should not apply at all to Refresh as Refresh is not used
on the HTTP level in the real world. On the other hand, they should
both be failures for the cache control because caching proxies should
be able to work on the HTTP level without looking inside payload. For
XML media types, the meta charset is always bogus so both cases
should fail to avoid people depending on the bogus meta charset. For
text/html, the case where the real HTTP header and the meta charset
disagree should be a failure, because the disagreement is a symptom
of something being wrong in the content production or serving process.
Our experience shows that Refresh is indeed used as an HTTP header.

We note under CACHING that using meta http-equiv is undesirable for the reasons you state. We have taken the view that it is undesirable to FAIL implementations that cannot change their http headers but that make some attempt to indicate their preference using meta http-equiv.

Your point about meta and charsets we believe is reflected under the rules specified at 3.3 character encoding.
tocheck
LC-1702 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> In the course of assembling the CSS Style:
> * observe the CSS Level 1 cascade

Specs written today should probably reference CSS 2.1 instead of
Level 1.
We encourage people to use CSS 2.1 where they know it is supported. If they do not know it is supported then the DDC profile is defined to only support CSS 1 and @media. tocheck
LC-1705 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If any cache related header contains an invalid value, warn

Why not fail?
Many of the cache-related headers, like Cache-Control, can take on new values in the future. Expires, for example, has defined behavior even on values that are not dates. So 'invalid' is hard to define; all values have a defined behavior and no known adverse effect, so we wish to be conservative and not fail. tocheck
LC-1708 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the HTTP Content-Type header specifies an Internet media type
> starting with "text/":

This should apply to text/html.
The text is appropriate as it stands as "starting with text/" includes text/html. tocheck
LC-1709 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If there is no meta element with http-equiv attribute that
> specifies
> UTF-8 character encoding, FAIL

Note that the current HTML 5 draft uses an attribute called charset.

Having a meta charset in a document that is served using an XML type
(text/xml, application/xml and */*+xml) should probably be a warn at
minimum considering that a charset meta in XML is bogus.
Under 3.3 we specify that meta is only considered in respect of charset if the content is served as text/html in which case it is required for the benefit of non-XML processors. We think it is unreasonable to penalize its presence in documents served as XML media types as it will be ignored in practice and the content provider may have no knowledge or control over the content type attached to their content. tocheck
LC-1714 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the element's value attribute is missing or empty, and an
> inputmode
> attribute is not present, warn

This seems excessive as it is quite likely that things will be just
fine without content micromanaging the input mode on the UA.
The test is based on the Best Practices. We warn (not fail) in the absence of an inputmode attribute. tocheck
LC-1715 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If an alt attribute is not present or consists only of white space,
> FAIL

This is a bad idea because it encourages badge hunters to include
bogus alt text that actually harms accessibility. Tests like this
only lead to an arms race where the placeholder data always gets a
step more complicated than what the testing tools can detect as a
placeholder.
The test specifically allows empty ALT tags which is the accepted way of indicating that there is no appropriate ALT text. tocheck
LC-1717 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the document contains any basefont, bdo, center, del, dir, font,
> ins, menu, s, strike or u elements, FAIL

del and ins are legitimate in both HTML 4.01 and in the current HTML
5 draft. menu is legitimate in HTML 5.
These tags are not defined in XHTML Basic or MP and therefore not supported by the DDC or mobile phones in the marketplace. tocheck
LC-1718 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the document contains any b, big, i, small, sub, sup or tt
> elements, warn

These elements are relatively common and harmless in practice. This
warning seems excessive.
We encourage people to use CSS and hence a warn is justified. tocheck
LC-1781 Jonathan Jeon <hollobit@etri.re.kr> (archived comment)
3.3 CHARACTER_ENCODING_SUPPORT and CHARACTER_ENCODING_USE

The DDC is defined to support only UTF-8 encoding, which means that this test fails if a resource cannot be encoded in UTF-8. It is reasonable to recommend that default character encoding should use UTF-8. But it is not good that all of another character encoding except UTF-8 should be FAIL.

In many cases, if some country does not use English as a native language, they are using various character encoding schemes. For example, EUC is a multibyte character encoding system used primarily for Japanese, Korean, and simplified Chinese. The EUC-KR and EUC-JP(ISO-2022) encoding is heavily used in Korea and Japan. [1]

UTF-8 is not widely used in Korea. EUC-KR is more popular character encoding scheme in Korea (maybe more than 90% of Wired and Mobile web contents). It is the most widely used legacy character encoding in Korea on all three major platforms. Therefore, if we support only UTF-8, more than 90% of sites and contents will be ‘FAIL’.

So, it is proposed to consider additional character encodings. It is proposed to modify the section 3.3 as below:

PROPOSED TEXT:
------------------------
If the HTTP Content-Type header specifies a character encoding:
If character encoding is default-character-encoding, PASS
If character encoding is not default-character-encoding, warn
If the HTTP Content-Type header does not specify a character encoding:
If there is no XML declaration, or default character encoding or any character encoding is not specified in the XML declaration, FAIL
If the HTTP Content-Type header specifies an Internet media type starting with "text/":
If there is no meta element with http-equiv attribute that specifies default character encoding or any character encoding, FAIL
If character encoding is specified in more than one way, and not all values are the same, FAIL
If the document is not valid default character encoding or any character encoding (see 2.3.9 Validity), FAIL
For each resource specified by 2.3.6 Included Resources:
Request the resource
If the HTTP Content-Type header value of the response starts with "text/" but does not specify default character encoding or any character encoding character encoding, warn
PASS
------------------------

[1] http://lists.w3.org/Archives/Member/member-bpwg/2007Jul/0047.html
mobileOK Basic does not require use of UTF-8 in all cases; the test only verifies that you *can* use UTF-8 when requested. At this point we are not in a position to revise the DDC description in Mobile Web Best Pratices, and mobileOK Basic is intended to reflect what is in MWBP. It is useful to encourage all sites to support globally-interoperable encodings like UTF-8, even if they also support a more appropriate local encoding. tocheck
LC-1782 Jonathan Jeon <hollobit@etri.re.kr> (archived comment)
3.6 EXTERNAL_RESOURCES

Currently, the condition value is too small. So it is hard to support normal UI with this condition.

It is proposed to increase the value, about 50 (this value derived from the statistical results of Korean CPs)

PROPOSED TEXT:
------------------------
For each such resource:
Request the resource, and add one to a running count
Add to the count the number of HTTP redirects (HTTP 3xx status responses) that must be followed and authentication requests that must be made until the resource itself is successfully retrieved
If this total exceeds 20, warn
If this total exceeds 50, FAIL
PASS
------------------------

[1] http://lists.w3.org/Archives/Member/member-bpwg/2007Jul/0047.html
1) mobileOK Basic is supposed to be based on Best Practices doc and so we must reflect its values, 2) nothing precludes delivering a 'fancy' experience; mobileOK only asks you be able to create a 'non-fancy' experience, 3) based on Google mobile web data the current numbers are reasonable; we don't yet have data in support of higher limits tocheck
LC-1783 Jonathan Jeon <hollobit@etri.re.kr> (archived comment)
3.16 PAGE_SIZE_LIMIT

Currently, the condition value is too small. It may not appropriate to use in some countries such as Korea.

It is proposed to increase the values, about 50K (this value derived from the statistical results of Korean CPs)

PROPOSED TEXT:
------------------------
If the size of the document's markup exceeds 20 kilobytes, FAIL
For each included resource, as defined in 2.3.6 Included Resources:
Request the referenced resource
Add the size of the response body to a running total (for nested object elements count only the first object that matches the headers specified in 2.3.2 HTTP Request, if there is one)
If the total exceeds 50 kilobytes, FAIL
PASS
------------------------

[1] http://lists.w3.org/Archives/Member/member-bpwg/2007Jul/0047.html
1) mobileOK Basic is supposed to be based on Best Practices doc and so we must reflect its values, 2) nothing precludes delivering a 'fancy' experience; mobileOK only asks you be able to create a 'non-fancy' experience, 3) based on Google mobile web data the current numbers are reasonable; we don't yet have data in support of higher limits tocheck
LC-1693 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
Fourth, section 2.3.4 Meta http-equiv Elements: why are these supported
at all, especially Content-Type and Cache-Control? In section 3.3, a
<meta> element is listed as an option to indicate character encoding,
given that there is an XML declaration and this <meta> only complicates
character set detection, I do not see a reason for allowing this.
We allow users to specifiy for the requested document which encoding should be used to nonetheless attempt conformance to mobileOK. In the specific cases that are noted - character set, caching the detail of the test itself makes sure that this is the least preferred option and that a warn in issued if it is the only means by which the authors intentions are indicated. tocheck
LC-1695 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
Sixth, in 3.10 LINK_TARGET_FORMAT, it states:

> If the |Content-Type| header value of the HTTP response is not
> consistent (determined in the same way as specified in *3.3
> CHARACTER_ENCODING_SUPPORT and CHARACTER_ENCODING_USE*
> <http://www.w3.org/TR/2007/WD-mobileOK-basic10-tests-20070525/#test_character_encoding_support>)
> with the |Accept-Charset| header in *2.3.2 HTTP Request*
> <http://www.w3.org/TR/2007/WD-mobileOK-basic10-tests-20070525/#http_request>,
> *warn*

This should be a FAIL condition. Character set mismatches are very
undesirable (especially from an i18n perspective) and will create
significant hindrances for most non-English users, whose languages have
accents or even do not use our alphabet at all.

If you want to support ISO-8859-1 in some way to make it easier for
existing sites to server with the mobileOK label, ISO-8859-1 should
simply be processed appropriately and added to the Accept-Charset header.
This test covers external resources, which are
possibly outside the author's control. Some members of the group felt strongly that one shouldn't FAIL on account of an external
resource. Whether the resource displays usefully is a difficult question for a machine test to answer, and it may be that checking this aspect becomes a mobileOK Pro test.
tocheck
LC-1696 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
Seventh, in section 3.18 POP_UPS, target attributes on links with values
"_self", "_parent", or "_top" are accepted. All of these should FAIL,
however, since their presence does not make sense (and is a waste of
bandwidth) considering the requirements put forth in 3.13 NO_FRAMES.
There are a couple of use cases which are admittedly marginal where this makes sense. It does not seem acceptable to exclude those use cases, no matter how marginal, since they are valid and out of scope for a test on pop-ups. tocheck
LC-1732 Nir Dagan <nir@nirdagan.com> (archived comment)
"3.4 CONTENT_FORMAT_SUPPORT and VALID_MARKUP

...If (regardless of its stated DOCTYPE) the document does not validate
against the XHTML Basic 1.1 DTD:

If it does not validate against the XHTML-MP 1.2 DTD, FAIL"

Comment:
This does not allow for valid HTML documents. In HTML end tags for elements
declared EMPTY is forbidden, while XHTML requires end tags for all elements.
We do not allow HTML documents, only those that validate as XHTML Basic 1.1 (or XHTML MP). tocheck
LC-1742 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.2:
- comment nature: [substantial]
- location: All the tests
- current wording: There is no reference to the applicability condition
or prerequisites (when relevant) in the pseudo-code
- suggested revision: Include this applicability rules in the algorithms
when relevant
- rationale: Some times could be not clear when to produce a N/A output
vs. a Pass/Fail one. This is also a good practice for the shake of
completeness in the algorithm
There is no N/A outcome from mobileOK. tocheck
LC-1751 Shadi Abou-Zahra <shadi@w3.org> on behalf of ERT Working Group (archived comment)
COMMENT B.10:
- comment nature: [clarification]
- location: 2.3.10 White space
- current wording: "Several tests refer to white space. White space has
the same definition in this document as in XML. For XML 1.0 [XML10] it
is defined in http://www.w3.org/TR/REC-xml/#sec-common-syn as being:
S ::= (#x20 | #x9 | #xD | #xA)+ i.e. the characters SP, TAB, CR and LF"
- suggested revision: Should &nbsp; entities (#xA0) be considered?
- rationale: This entity is frequently used (and abused) and having a
look at the related test (3.15, 3.17 and maybe 3.12) it makes even more
sense
No change is required as nbsp is used by authors to indicate non-redundant white space, that it has semantic content. Detecting whether its abused or nonsensical gets difficult and is beyond the scope of the current test. tocheck
LC-1754 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.13:
- comment nature: [clarification]
- location: 3.3 CHARACTER_ENCODING_SUPPORT and CHARACTER_ENCODING_USE
and elsewhere where the message body is not involved (3.6, 3.10, 3.16)
- current wording: For each resource specified by 2.3.6 Included Resources:
Request the resource
- suggested revision: Would a HEAD instead of GET request be sufficient?
- rationale:
No, the resource must be requested in order to determine its size, to assess their validity and for images their dimensions. tocheck
LC-1764 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.23:
- comment nature: [substantial]
- location: 3.18 POP_UPS
- current wording: "If a target attribute is present,..."
- suggested revision: What about JS popups? (window.open)
- rationale: JS popups should be taken into consideration as there are
already other JS related verifications
We decided not to try to parse the Javascipt - recognising that this would mean that possible window.open statements were present, on the basis that the DDC does not support script. and the presence of script triggers a warn under objects or script tocheck
LC-1721 Simon Pieters <zcorpan@gmail.com> (archived comment)
The tests require XHTML. What is the rationale for this? My research[1]
shows that all tested mobile browsers support HTML, and also that many
treat application/xhtml+xml as if it were text/html (i.e., they don't use
XML parsers). Therefore, for compatibility with existing mobile browsers,
the guideline for authors should be to use HTML, or if they use XHTML to
follow appendix C of XHTML 1.0 (even when using application/xhtml+xml).
Most mobile browsers do not support everything HTML defines. Our experience is that XHTML Basic delivered with application/xhtml+xml is more likely to result in a functional user experience than other combinations. tocheck
LC-1724 Anne van Kesteren <annevk@opera.com> (archived comment)
On another point, Content-Type of the response for both image and style
sheet requests is simply ignored. The image type is determined through
sniffing and in case of a linked style sheet it is simply parsed as CSS.
This is more or less required for user agents if they want to support web
pages out there.
We accept that real browsers have to adopt many heuristics and take a pragmatic approach. The intention of mobileOK Basic is to point out to content providers that mislabeling the content is an error. We certainly do not endorse the mislabeling. tocheck
LC-1719 Ben Cerbera Millard <cerbera@projectcerbera.com> (archived comment)
> The draft is premised on a vision about mobile browsing that assumes
> special mobile content. Instead of implying a separate Mobile Web, I
> think the W3C should push for one World Wide Web with mobile browsers
> that can access general Web content.
> [...]
> The premise of mobileOK seems to be that you take the non-Web-ready thin
> browser and expect origin servers out there take special steps to
> accommodate it.

This is a fundamental criticism I have of the mobileOK guidelines. Mobile
phone networks here in the UK have been promoting their "access the whole
Web on your phone" capabilities for years. They can even do scripting [1].

Because so much web content is text/html, surely it is more useful to work
on improving support for that in UAs? Mainstream mobile UAs already have
better support for HTML than XHTML, many having no support at all for XHTML
[2]. I can browse the text/html Web fine on my mobile phone in the
here-and-now.

PDF and Word documents are also more common than XML formats on the web, in
my experience. Improving support for them would surely be the next logical
priority after HTML?

Advising against W3C technologies such as HTML and PNG seems like a strange
move for a W3C Working Group to take. Especially since these technologies
are already implemented widely.
Our understanding and experience is that XHTML Basic delivered with the content type application/xhtml+xml succeeds in the largest number of cases. Our objective is not to specify improvements to mobile devices, though we hope that happens, it is to help content providers achieve a functional user expeirences on the widest range of mobile devices. We encourage content providers to work towards a harmonised experience on devices that have more advanced capabilties. tocheck
LC-1725 Ben Cerbera Millard <cerbera@projectcerbera.com> (archived comment)
> I do think it's feasible to write once for the desktop and some kind
> of portable device, but such a device is substantially different from
> what people have in their average phone / browser.

Perhaps the Default Delivery Context (DDC) is out of date? It seems to be
based on mobile phones produced in the mid-1990's. They have become
radically more capable in the decade since then. My experience is mainstream
mobiles getting closer to desktop browsers each year (Opera [1] and Webkit
[2] being industry leaders in this regard).

The mobile industry's aims are clear from their actions: make the whole web
available [3][4]. Surely W3C's MWI should be centered on making that happen
faster and more effectively? The current work seems to be on degrading
current content to accomodate a DDC akin to decade-old phones which, AFAIK,
no longer exist.

Vodafone [5], T-Mobile [3] and Three [6] already have a flat rate for web
access in the UK (as Simon Pieters speculated on). So for one thing, the
financial cost of page downloads is being solved by market factors...just
like it did for desktop PCs. :-)
The DDC is defined as the minimum specification for a device which can provide a usable user experience of the Web. As such it has enduring value irrespective of considerations of availability of increasing capabilities of devices in some markets. Our understanding is that such devices represent the only means of access to the Web in some areas of the world. It it arguable that even in markets in which more capable devices are common, people will choose not to carry such devices all the time and may wish to use alternative lighter weight solutions more appropriate to the context (sport, leisure etc.) tocheck
LC-1726 Ben Cerbera Millard <cerbera@projectcerbera.com> (archived comment)
> If "HTML Basic" existed I think there would be a good argument to
> specify it instead.

Since text/html work has started again at W3C in the form of the HTMLWG,
perhaps an "HTML Basic" spec would now be feasible? Then again, the 1998
attempt at this [7] didn't take off, so reduced HTML was not the solution
even with devices *that* limited. And since current mobiles handle full HTML
websites, degrading content at the origin server seems ever more unnecessary
(the network can do this on-the-fly if it needs to be done).

Sincere thanks for taking the feedback from the new HTMLWG seriously. I too
hope HTMLWG will add more practical value to the W3C's Mobile Web Initiative
(MWI) [8].
Proposed Resolution: We perceive a need for use of Basic today - note that cHTML is an example of successful mobile markup. It's possible that this need will disappear in the future. If it does, then the need for that specification will diminish. tocheck
LC-1697 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> mobileOK Basic is a scheme for assessing whether Web resources (Web
> content) can be delivered in a manner that is conformant with
> Mobile
> Web Best Practices [BestPractices] to a simple and largely
> hypothetical mobile user agent, the Default Delivery Context.

The draft is premised on a vision about mobile browsing that assumes
special mobile content. Instead of implying a separate Mobile Web, I
think the W3C should push for one World Wide Web with mobile browsers
that can access general Web content.

Mobile access to general Web content can be accomplished in at least
two ways:
1) Putting a World Wide Web-ready browser engine on the mobile device
(e.g. Minimo, the new S60 Browser, Opera for Mobile)
2) Using a distributed UA that puts a thin front end on the mobile
and keeps the main engine on an intermediate server (e.g. Opera Mini)

The premise of mobileOK seems to be that you take the non-Web-ready
thin browser and expect origin servers out there take special steps
to accommodate it.
The draft does not require mobile-specific content. It describes certain requirements for content (which can be served to the web at large) in order for that content to work even on basic mobile devices. Whether this is achieved by having simple content (one possible approach) or by adapting server side adaptation, or by use of client side capability like @media rules and object elements, or some other mechanism is left completely open to the content provider. This allows the content provider to choose the approach to ensuring their content works on mobile that best suits their situation, without forcing them to develop a specific mobile version. tocheck
LC-1698 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> It is not a test for browsers, user agents or mobile devices,
> and is not intended to imply anything about the way these should
> behave.

In practice, the draft is implying expectations about UA behavior.

> Content passing the tests demonstrates that the content provider
> has
> taken basic steps to provide a functional experience for mobile
> users.

I don't like the implication that pointy-haired managers are likely
to take statements like this and bother their teams about hunting a
badge of approval instead of testing that their sites work with
browsers that run on mobile devices and are capable of browsing the
real World Wide Web.
Proposed Resolution:

1. In practice, the draft is implying expectations about UA behavior.

In order to test Web sites some UA behaviour must be exhibited, there is no implication that ALL UAs should exhibit this behavor.

2. I don't like the implication that pointy-haired managers are likely
to take statements like this and bother their teams about hunting a
badge of approval instead of testing that their sites work with
browsers that run on mobile devices and are capable of browsing the
real World Wide Web.

That is a concern. We make it clear that enhanced experience should be made available and that all experiences should be tested on real phones. Neither of those considerations devalues the need for a test for suitability for a very basic device.
tocheck
LC-1699 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> 1.3 Claiming mobileOK conformance
>
> A standard mechanism will be defined that allows content
> providers to
> claim that a URI or group of URIs, such as a Web site, conforms to
> mobileOK Basic or mobileOK Pro. It will be possible to make
> claims in
> a machine-processable form. It will also be possible to notify end
> users of the presence of the claim by means of a human-readable
> mark.

I think testing content along the lines of mobileOK should be part of
the internal quality assurance process of content providers. I think
it should not be part of the external marketing process.

When people are just hunting the badge for marketing purposes, they
may make silly workarounds to please the testing software while
actually making the user experience worse.
There is work in progress which will create guidelines for the usage of mobileOK logos and trustmarks. For now, there is no real badge. We create the badge as an incentive for following the guidelines, to reward adoption. That's OK -- the problem comes when passing the tests requires doing something actually harmful in the end. It's for this reason that we've been a little more inclined to create warnings rather than failures. tocheck
LC-1707 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the HTTP Content-Type header does not specify a character
> encoding:
>
> If there is no XML declaration, or UTF-8 character encoding is not
> specified in the XML declaration, FAIL

XML provides an unambiguous default. Is there a practical reason, due
to broken real-world UAs perhaps, not to PASS defaulted UTF-8?
Right, we're asking content to go ahead and specify the default to give every possible hint to the UAs, and stop them from ever trying to second-guess the default and choose another encoding. Plus if the encoding is not specified in the HTTP Header then that can mean that a non-UTF-8 default could be inferred. So we require explicit definition of the encoding somewhere. tocheck
LC-1710 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the document's Internet media type is "text/html" or
> "application/vnd.wap.xhtml+xml", warn

What's wrong with HTML served as text/html?
XHTML Basic 1.1 is what's assumed and required, which should be served
as application/xhtml+xml, but may be served as these other types.
That's the reasoning behind the warn.
tocheck
LC-1711 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the document does not contain a DOCTYPE declaration, FAIL

I think the W3C should promote doctypelessness for application/xhtml
+xml. See http://hsivonen.iki.fi/doctype/#xml

However, documents that rely on the WAP dollar substitution must have
a doctype that activates the dollar substitution in Opera. Still,
relying on the dollar substitution is a bad idea.
It is not in our remit to alter existing specifications or to create new specifications. Since XHTML Basic and XHTML MP both require a DOCTYPE to be specified so do we. If dollar-substituion is a reference to WAP 1.x and WML, then that is out of scope for mobileOK at the moment. tocheck
LC-1713 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> For each included resource (see 2.3.6 Included Resources):
>
> If the response specifies an Internet media type that is not
> "text/css", "image/jpeg" or "image/gif", FAIL

Is there a good reason to exclude PNG?
The DDC is defined as not supporting PNG consequently it does not indicate support for PNG in the request. Consequently receipt of PNG causes a FAIL. At the time the DDC was specified there was consensus that PNG was not widely enough supported on devices. tocheck
LC-1691 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
Second, in that same section, I think saying that UAs must send
‘exactly’ this header is not desirable. That would prevent UAs from
handling additional media types, such as image/png or image/svg, and
limit innovation. After all, the UA would not be able to claim a
mobileOK label anymore. The spec should say that UAs must send exactly
this or a superset of this header.
The basis on which the spec is written is that a checker emulates a hypothetical device - the DDC - which has exactly the capabilities specified. The tests ensure that a Web site is capable of responding to the needs of such a device. We encourage content providers to support more than the needs of the basic device and take advantage of greater functions and capabilities where they can. tocheck
LC-1735 Nir Dagan <nir@nirdagan.com> (archived comment)
"3.15 OBJECTS_OR_SCRIPT (partial)
...
If an object element is present and has no object element ancestor,

If the innermost nested object element is empty, warn

If the innermost nested object element content consists only of white space,
FAIL..."

Comment:
Rather than "the innermost nested object" it is simpler to state "an
object".
The term innermost nested was chosen deliberately. tocheck
LC-1720 Simon Pieters <zcorpan@gmail.com> (archived comment)
As I understand it, the tests suggest that authors use a separate version
for desktop and for mobiles. I can understand that doing so can be
desireable today for the following reasons:

1. Users have to pay per byte for browsing on the mobile.
2. The connection speed on mobiles is slow.
3. Many mobile browsers have bad support for CSS.

On the longer term, (1) should be addressed by providers offering monthly
fees; (2) should be addressed by improving mobile networks, and (3) by
improving the implementations. (2) and (3) are already happening, and I
wouldn't be surprised if (1) happened soon. When these have been
addressed, there is little reason for authors to provide separate versions
for mobiles and for desktop, as opposed to using one version that works
for both.

The tests warn for things that are not supported on some mobile devices,
such as scripting, even though it is possible to provide fallback content
for UAs without scripting and including scripts doesn't harm UAs that
don't support it. I would suggest not warning for things that don't harm
mobile browsers and could benefit other UAs, in the interest of not
putting unnecessary strain on authors.
We don't doubt that implementations and feature sets are improving, costs coming down and so on. However, that has far from universally happened, and even if it did, we believe that the context of the mobile user will often make it desirable to present an interface that is sympathetic to that context. In particular it is possible to pass mobileOK Basic while using <script>; it merely generates a warn. More generally, we're not saying you can't use <script>, just that you need to be able to deliver an experience to baseline devices that works without script. You may do whatever you like to other devices. tocheck
LC-1716 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the innermost nested object element content consists only of
> white
> space, FAIL

See above.

(Where above is:)

> For XML 1.1 [XML11] it is defined in section 1.3 as consisting
> of the
> same characters with the addition of NEL (#x85) and the Unicode
> line
> separator character, (#x2028).
Whitespace remains defined according to the document's XML version, but we will remove informational reference to XML 1.1 to avoid confusion. We intend to remain silent on version of XML used.

RESOLUTION: The meaning of the last resolution on LC-1703 and LC-1716 was to remove the reference to XML1.1 and to stick with the text: Several tests refer to white space. White space has the same definition in this document as in XML. For XML 1.0 [XML10] it is defined in http://www.w3.org/TR/REC-xml/#sec-common-syn as being: S ::= (#x20 | #x9 | #xD | #xA)+ i.e. the characters SP, TAB, CR and LF.
tocheck
LC-1786 Jo Rabin <jrabin@mtld.mobi> (archived comment)
I'm just catching up on this thread:

The reason the mobileOK doc says nothing about the namespace is that Dom said ages ago (and consistently with his previous message on this thread) that the DTD has the value as FIXED. Consequently, failing if the namespace is absent not right.

The specs all say that the namespace declaration should be present. So I suggest we go back, amend the mobileOK doc, and FAIL if a namespace declaration is not present on the html element.

Jo




> -----Original Message-----
> From: public-mobileok-checker-request@w3.org [mailto:public-mobileok-
> checker-request@w3.org] On Behalf Of Roland Gülle
> Sent: 25 July 2007 18:52
> To: Dominique Hazael-Massieux
> Cc: Sean Owen; public-mobileok-checker
> Subject: Re: F2F demo: html / xhtml namespace
>
>
>
> > In terms of the checker, I think this means we should default a root
> > element whose name is "html" and has no defined namespace to be in the
> > XHTML namespace (so that we can parse is as if it was XHTML), while
> > throwing an error to the user - I thought there was a specific error
> > triggered in mobileOK for this, but I don't see it in there in a quick
> > read.
> +1 to your proposed solution and found also nothing about XHTML
> namespaces in the mobileOK basic doc.
>
> roland
>
>
>
Amend CONTENT_FORMAT_SUPPORT and VALID_MARKUP to FAIL if the xhtml namespace is not present on the html element. tocheck
LC-1728 Jon Ribbens <ertwg@sitemorse.com> (archived comment)
| 3.1 AUTO_REFRESH (partial) and REDIRECTION

This section does not say what to do if no URL is specified in the
meta content. In fact, the "Mobile Web Best Practices" document itself
seems confused as to how the 'refresh' header works. The header
contains a time-delay in seconds, and an optional URL. The "Mobile"
documents seem to think it just contains a URL.
'URI specified in the content attribute' should not be read to imply it is the sole content of the attribute. We will clarify along the lines of 'If the URI specified as part of the content attribute is not the current resource's URI...' tocheck
LC-1690 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
First, section 2.3.2 HTTP Request states:

> *
>
> Include an |Accept| header indicating that Internet media types
> understood by the default delivery context are accepted by
> sending exactly this header:
>
> Accept: application/xhtml+xml,text/html;q=0.1,application/vnd.wap.xhtml+xml;q=0.1,text/css,image/jpeg,image/gif
>
>

I think this is incorrect, text/css should NOT be included in the Accept
header, and image/jpeg and image/gif ONLY if the UA is expected to
support showing these images independantly of a document (the mobileOK
tests should explicitly check whether this is supported). The client
after all does not know how to handle a text/css file independently of
XML markup.

Instead, it should send an "Accept: text/css" header when the CSS files
that are linked using <link rel="stylesheet">, <?xml-stylesheet?> or
@include. Similarly, images referenced from <img> should send an
"Accept: image/jpeg,image/gif" header. Aside from checking the Accept
header for the main page, the mobileOK tests should also check that
Accept headers send these values for stylesheet and image requests.
We do not think it is wrong to specify the headers in the way we do, however we accept that we do not properly check that the right sort of content has come back in response to the request. In other words, if the request is made because of an img tag then the response should be an image. We did not test for that in the draft you reviewed and we will amend accordingly. In particular, in 3.4, <img> tags that retrieve valid CSS delivered as text/css should for example FAIL too. tocheck
LC-1694 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
Fifth, in 3.4 CONTENT_FORMAT_SUPPORT and VALID_MARKUP it does not
distinguish included resources by type, that is, if it’s a stylesheet
include, only the text/css media type should be accepted (otherwise
FAIL), and if it’s an image include, only image/gif or image/jpeg is
accepted and not text/css. If it’s an object include, unless the UA is
expected to support CSS there by showing it somehow, text/css should
also not be accepted.
We will add that if the resource is expected to be a stylesheet, it must be text/css (and be valid CSS), and likewise for images and FAIL if it is not - also that Objects need to be images in this case. tocheck
LC-1733 Nir Dagan <nir@nirdagan.com> (archived comment)
"3.11 MEASURES

For each property in the CSS Style (2.3.5 CSS Style) whose value is a
numeric measure of length stated together with a unit:

If the value is non-zero and the unit is not "em" or "ex", and the property
is not a margin, border or padding box property, FAIL

PASS"

Comment:
What about specifying the width and height of images with intristic pixel
size?
We specify that the size of images is specified in the HTML markup and not in CSS to allow the browser the chance to render only once. If the image size is specified in CSS that does not achieve the same effect. Add a note under this test commenting on this issue. tocheck
LC-1734 Nir Dagan <nir@nirdagan.com> (archived comment)
"3.12 MINIMIZE

Count number of white space characters in a sequence of more than one white
space character (not counting the first), which exist outside of a pre,
style, script element, or XML comment

Add to this count the number of characters comprising XML comments. This
total is the number of extraneous characters in the document."

Comment:
Why are script and style comments and extra spaces within a script or a
stylesheet are not added to the count?
Per LC-1739 we don't think that we should look at CSS white space in this iteration of the document anhd will add a note clarifying that it is not handled. tocheck
LC-1737 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT A.2:
- ERT WG COMMENT:
Section "2.3.3 HTTP Response"
"If an HTTP request fails for any reason during a test (network-level
error, DNS resolution error, non-HTTP response, or server returns an
HTTP 4xx or 5xx status), the test outcome should be considered FAIL"
You can (and should) evaluate any content received from the server,
error messages included as they're also content. When the server returns
4xx or 5xx the result of the test should not fail, because otherwise the
website as a hole could never be Mobile OK compliant (e.g. you can
always make a request that will produce an 404 and thus a fail)
- BPWG RESOLUTION:
See http://lists.w3.org/Archives/Member/member-bpwg/2007Feb/0070.html
- ERT WG RESPONSE:
For 300 Multiple Choices [1] a page could be displayed. Apparently this
depends on client capabilities [2]. It's important to clarify how to
handle 300 response codes where the page is displayed.
-[1] <http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.1>
-[2] <http://www.w3.org/Protocols/rfc2616/rfc2616-sec12.html#sec12.2>
We will add a note clarifying that when a 3xx response is received the value of the Location header should be used to redirect. If no Location header is present, FAIL. tocheck
LC-1738 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT A.3:
- ERT WG COMMENT:
Section "3.10 MEASURES" reads: "If the value is non-zero and the unit is
not "em", "ex" or "%", and the property is not a margin, border or
padding box property (see also 3.20 SCROLLING (partial) ), FAIL"
There are other CSS properties where px values may be allowed as the
background-position or the outline-width.
- BPWG RESOLUTION:
We agree with the basic point but we will address it in the next phase
of the Best Practices document instead.
- ERT WG RESPONSE:
We acknowledge the dependency of this test on the wording of the related
BP. However, we think this is an important issue that needs to be
addressed in this document before it reaches Recommendation status. As
currently defined, this test could produce a fail outcome where it
should be a pass. This could also lead to ambiguity amongst different
checker tools.
RESOLUTION: Modify measures to state that px measures are tested only CSS level 1 properties.

CSS Properties that take a <length> are: font-size, background-position, word-spacing, letter-spacing, text-indent, line-height, width and height (as well as margin, borders and padding). The BPWG did not consider that these other properties justified an exclusion from this test.
tocheck
LC-1739 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT A.4:
- ERT WG COMMENT:
Section "3.12 MINIMIZE"
The definition of whitespace characters should be clarified, does it
include CR (carriage return) for example?
Additionally, it would make sense to consider also CSS in the minimization.
- BPWG RESOLUTION:
We accept the clarification and point to XML definition for white space:
http://www.w3.org/TR/REC-xml/#sec-common-syn
However, we exclude style regions for the current document but revisit
for the next Best Practices document.
- ERT WG RESPONSE:
While we think that handling extraneous white space in external CSS
would be useful at this stage, we recommend to at least add a clear note
about how it is (not) handled in the current document.
RESOLUTION: The clarification of meaning of white space has been handled under LC-1703 and we don't think that we should look at CSS white space in this iteration of the document anhd will add a note clarifying that it is not handled tocheck
LC-1740 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT A.5: - ERT WG COMMENT: Section "3.15 OBJECTS_OR_SCRIPT" "If the value of the href attribute begins with the "javascript:" scheme, FAIL" At least, href attributes with "#" (or any number of '#') value should also fail as it's a widely used value. A wider definition which discourages any misuse of href values in general would be desirable. - BPWG RESOLUTION: We think that there are valid uses for allowing # as the href, such as a link to the top of the page. - ERT WG RESPONSE: Although being a valid URI, the behaviour of href="#" is not defined. Several user agents have the behaviour describe above, but we think this shouldn't be considered a good practice and the linking to the top of a page should be done using a real (not empty) anchor (fragment ID).
RESOLUTION: Under LINK_TARGET_FORMAT check for invalid document internal references and # and warn if present / invalid tocheck
LC-1760 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.19:
- comment nature: [clarification]
- location: 3.11 MEASURES
- current wording: "For each property in the CSS Style whose value is a
numeric measure of length stated together with a unit
If the value is non-zero and the unit is not "em" or "ex"..."
- suggested revision: The current wording could give the impression that
numeric measures without units are allowed, which in general is not a
good idea with some exceptions.
- rationale: Although this issue could be already covered by CSS
validation, redundancy could be helpfull for the shake of
completeness in this test as "mobileOK tests are intentionally expressed
in an independent way"
Add to STYLE_SHEET_USE:
If the CSS Style contains a property with a value that is inappropriate to it, FAIL
If the CSS Style contains a property with a value that requires a unit or a percentage:
If the unit (or percentage) is not present, FAIL
If the unit (or percentage) is inappropriate to the value, FAIL
tocheck
LC-1766 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.25:
- comment nature: [substantial]
- location: 3.21 STYLE_SHEETS_USE and 2.3.9 Validity
- current wording: If the CSS Style contains at-rules (other than the
@media at-rule), properties, or values that are not recognized as being
valid CSS Level 1 (2.3.9 Validity), warn
...
CSS
A resource is considered a valid CSS resource if it conforms to the
grammar defined in [CSS], Appendix B
- suggested revision: The definition of CSS validity should include in
some way allowed at-rules, properties and values.
- rationale: Test 3.4 fails for content that is not valid CSS with
validity being defined as conforming to the CSS 1 grammar (syntax).
Test 3.21 seems to use the phrase "valid CSS 1" in a sense that is not
just grammar conformance.
So right now, CSS 2 that conforms to the CSS 1 grammar passes 3.4, but
you'll get a lot of warnings, because the grammar does not define
properties and values (3.21)
Additionally,
@import "foo.css" handheld;
would fail 3.4 because of the media type, which is not part of the CSS 1
grammar, while the rule should be considered when collecting the
"Included Resources" (2.3.6).
It's intended that the warnings be generated for non-level 1 . We take your point on @import and will add text to 2.3.6 and to 3.21 and will change the wording in 3.21 to avoid the use of "valid" and will also adjust CSS Validity to take account of the media type on import. tocheck
LC-1722 Simon Pieters <zcorpan@gmail.com> (archived comment)
3.14 NON-TEXT_ALTERNATIVES (partial) says:

For each img element:

If an alt attribute is not present or consists only of white space,
FAIL

PASS

Does this imply that the empty string is also a FAIL? If so, I think this
test should be removed; there are a number of cases where the empty string
is the appropriate alt text (e.g., when an image is illustrative or merely
repeating the previous paragraph). [2]
No, an empty ALT tag does not cause a fail for the reasons you cite. We will add a clarifying note. tocheck
LC-1703 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> For XML 1.1 [XML11] it is defined in section 1.3 as consisting
> of the
> same characters with the addition of NEL (#x85) and the Unicode
> line
> separator character, (#x2028).

Surely an XML 1.1 document cannot get mobileOK approval.
Proposed Resolution:

If a document describes itself as XML 1.1 and passes the other tests then it is eligible for mobileOK.

(status changed to resolved partial to reflect resolution on LC-1716)
tocheck
LC-1704 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> 3.2 CACHING
>
> In the following, note that HTTP headers should be used rather than
> meta elements with http-equiv attributes, which are commonly not
> taken
> into account by proxies.

The "should" should probably be a "must" for consistent results.
Reworded to work around this. tocheck
LC-1706 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> and hence this test
> fails if a resource cannot be encoded in UTF-8.

s/cannot be/is not/
Change "cannot be" to "is not". tocheck
LC-1712 Henri Sivonen <hsivonen@iki.fi> (archived comment)
> If the document is an HTML document and it fails to validate
> according
> to its given DOCTYPE, FAIL
>
> If (regardless of its stated DOCTYPE) the document does not
> validate
> against the XHTML Basic 1.1 DTD:
>
> If it does not validate against the XHTML-MP 1.2 DTD, FAIL

The spec is lacking sufficient guidance on how to validate an HTML
document against an XML DTD. Should perhaps an HTML5 parser be used
with a DTD validator that is decoupled from an XML parser?

Requiring content to validate against a mobile profile DTD does not
promote the unity of the World Wide Web.
A note has been added to clarify what this means under 3.4. tocheck
LC-1727 Jon Ribbens <ertwg@sitemorse.com> (archived comment)
| 2.3.8 Visible Linked Resources
| ...
| Note that forms with method get are permissible in documents under
| test, but must not be checked in case posting caused unwanted side
| effects such as the addition of unwanted records to a database.

I think that's probably meant to say 'forms with method *post*'.
Either way, it doesn't make sense in context as-is.
That is a typo, thanks for pointing it out. tocheck
LC-1729 Jon Ribbens <ertwg@sitemorse.com> (archived comment)
| 3,2 CACHING
| ...
| If no meta http-equiv element is present, referring to those
| headers, FAIL
| warn, and continue the test using the value from the meta content
| attribute.

The last line above is missing something, probably an "Else," at the
beginning.

I am not sure that the fact that this section is mandating warnings
whenever content is specified as uncacheable is a good idea. Even if
it is, it should be made explicitly clear that that is the intent
- especially for example on the "Pragma" header, where people might
think that it is the Pragma header itself which is being warned about.
Reworded to work around this. tocheck
LC-1730 Jon Ribbens <ertwg@sitemorse.com> (archived comment)
| 3.3 CHARACTER_ENCODING_SUPPORT and CHARACTER_ENCODING_USE
| ...
| HTTP Content-Type headre
| application/xhtml+xml; charset=UTF-8"

Extraneous " at the end of the line.
That is a typo, thanks for pointing it out. tocheck
LC-1731 Jon Ribbens <ertwg@sitemorse.com> (archived comment)
On Fri, Jun 22, 2007 at 02:52:41PM +0200, Johannes Koch wrote:
> apart from the GET vs. POST typo issue, Jon mentioned:
>
> >Well, theoretically since GET is idempotent you can safely try, for
> >example, simply submitting the form with its default values.
>
> I may have missed it, but does the mobileOK draft describe how to handle
> GET forms? Only use default values?

It's very vague. 'Use default values' is my own opinion (and is what
we do in the web-checking tool our company provides). Section 2.3.8
might possibly be intended to mean that the URL in the 'action'
attribute should be taken and fetched unchanged with no form parameters
at all, but that would be highly inadvisable (there is essentially no
other circumstance, other than a mobileOK test, where that URL would
be requested).

I feel that clarification of this is quite important.

I have CC'ed this message to public-bpwg-comments, as today is
apparently the last day for comments.
We will change 2.3.8 to state more clearly how to submit forms - use empty values where no default is supplied. tocheck
LC-1692 Laurens Holst <lholst@students.cs.uu.nl> (archived comment)
Third, in that same section, there is a requirement that only HTTP GET
methods can only be used. What about form submissions with POST? Forcing
forms to be sent with the GET method seems undesirable and impairs the
HTTP functionality. It seems a silly limitation too, because if a
mobileOK Basic application must support HTTP and HTTPS, and Basic and
Digest HTTP authentication, then surely support for POST would be
trivial. The mobileOK tests should provide tests for checking proper
cache clearing after a POST request has been done on a URL.
We will insert a reference in 2.3.2 referring to 2.3.8 to make it clearer that POST is definitely allowed as a form action in mobileOK content but that it is simply not tested, for fear of the tester causing unwanted side effects. tocheck
LC-1736 Shadi Abou-Zahra <shadi@w3.org> on behalf of ERT (archived comment)
COMMENT A.1: - ERT WG COMMENT: Section "2.2 Testing outcomes" The MWBP group have know made clear that warnings are _no_ test outcomes but it was also said that the group do not want to specify _which_ warning may be generated. In order for the tool developer to create a reasonable warning, it would help him to know at least the specific purpose why a warning has to be generated. - BPWG RESOLUTION: The checker will provide a reference implementation of what the warning/error text should be for each warning or error, also linking back to appropriate reference material. - ERT WG RESPONSE: It's not clear what you mean with "linking back to appropriate reference material". What will the appropriate reference material be? Is the intention just to link back to the mOK or BP documents as-is? We think the point here is not to provide the text of a warning, but to ensure that it is clear what the potential problem associated with a warning is.
We intend to identify each FAIL and warn with a specific identifier and the messages produced by the checker will refer to these references in mobileOK - the relevant section in mobileOK refers to the section in the BP document from which it derives. tocheck
LC-1741 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.1:
- comment nature: [substantial]
- location: All the tests
- current wording: It looks like PASSES and FAILS are defined as "final
states" that interrupt the algorithm (otherwise all the algorithms will
always produce a PASS, as it's always the last instruction)
- suggested revision: Tests algorithms should be describe in a way that
provide messages for every fail or warning
- rationale: If they not do so, then the algorithm would be useless for
tracking reasons, you can use them to know if something PASS or FAIL,
but not to know the details.
We agree that the wording of 2.3.1 could be improved to clarify that PASS means stop. FAIL means FAIL the whole test but try to continue in order to generate as much info as possible. If a FAIL has been encountered, encountering a subsequent PASS does not reverse that state.

In addition, we have provided a unique ID for each warn and FAIL as noted in response to another of your comments.
tocheck
LC-1743 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.3:
- comment nature: [clarification]
- location: 2.3.2 HTTP Request
- current wording: Use the HTTP GET method when making requests.
- suggested revision: Clarify how to proceed while testing GET requests.
E.g. use only default values
- rationale: It's quite clear now (see related #7 comment) what are the
reasons to leave POST requests out, nevertheless there's no clear
indication on how to proceed while testing GET requests.
We agree that submission of forms needs clarification, and will adjust the text of 2.3.8 visible linked resources to reflect this. tocheck
LC-1744 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.4:
- comment nature: [clarification]
- location: 2.3.2 HTTP Request
- current wording: Use Implementations must support URIs with both http
and https scheme components.
- suggested revision: Clarify how to proceed with different URI schemes.
- rationale: It's not clear what should be done when you find a
different URI scheme. Ignore it?
Add text - URIs specified with other schemes MUST be ignored. tocheck
LC-1745 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
#5 COMMENT
- comment nature: [clarification]
- location: 2.3.3 HTTP Response
- current wording: If the HTTP status indicates redirection (status code
3xx):
Do not carry out tests on the response
- suggested revision: It's not clear what to do with invalid location
header values (URIs that are not absolute.
absoluteURI = scheme ":" ( hier_part | opaque_part )
- rationale: Quite a lot of servers create
Location: /foo.bar
instead of
Location: http://www.example.org/foo.bar
Add the text "if the URI identified by the Location header is not an absolute URI, warn, and create an absolute URI by combining the Location header value with the absolute URI of the request. tocheck
LC-1746 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.5:
- comment nature: [editorial]
- location: 2.3.5 CSS Style
- current wording: resources linked by xml-stylesheet processing
instructions
- suggested revision: resources linked by xml-stylesheet processing
instructions, as defined in 2.3.7 Included Style Sheet Resources"
- rationale: It make sense to reference the normative definition
Add clarification along the lines suggested. tocheck
LC-1747 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.6:
- comment nature: [clarification]
- location: 2.3.5, 2.3.6, 2.3.7
- current wording: At 2.3.5 is said that the CSS style must be assemble
using @import rules among others, and at 2.3.6 this rules are also
included in the definition of included resources, but at 2.3.7 there in
no mention to @import while defining included style sheets that are
taken into account when calculating the page size.
- suggested revision: Include @import rules into the page size calculation
- rationale: If CSS provided by @import rules is going to be analysed
then it should also be taken into account while calculating the page size.
Add clarification along the lines suggested in fact 2.3.7 is done away with as a separate section. tocheck
LC-1748 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.7:
- comment nature: [typo]
- location: 2.3.8
- current wording: Note that forms with method _get_ are permissible in
documents under test, but must not be checked in case posting caused
unwanted side effects such as the addition of unwanted records to a
database.
- suggested revision: Note that forms with method _POST_ are permissible
in documents under test, but must not be checked in case posting caused
unwanted side effects such as the addition of unwanted records to a
database.
*rationale: We think it's a typo as currently POST is the method that
it's not been checked
Change GET to POST in this section as indicated tocheck
LC-1749 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.8:
- comment nature: [editorial]
- location: 2.3.8
- current wording: Note that forms with method POST are permissible in
documents under test, but must not be checked in case posting caused
unwanted side effects such as the addition of unwanted records to a
database.
- suggested revision: Add a similar note before 2.3.2 HTTP Request
*rationale: We think this clarification should also be done before as
it's also quite relevant to correctly understand why at 2.3.2 the use of
GET method is required.
Add a note under 2.3.3 - at the point where GET is specified - saying See also 2.3.8 on submission of forms. tocheck
LC-1750 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.9:
- comment nature: [clarification]
- location: 2.3.9 Validity
- current wording: "CSS > A resource is considered a valid CSS resource
if it conforms to the grammar defined in [CSS], Appendix B."
- suggested revision: Include all the properties that are allowed in the
definition of Valid CSS
- rationale: It's not clear what CSS properties are allowed as, apart
from those in the CSS1 Recommendation, there are mentions at least to
@media (3.21) and position (3.20).
Add test to 2.3.9 stating that the @media rule is also allowed. Also add a note saying that properties that are not defined in CSS Level 1 do not cause a validity failure. Change text in 3.21 STYLE_SHEET_USE to remove the reference to Validity and 'valid CSS Level 1' and replace with text stating that properties and values that are not defined in CSS Level 1 cause the warn tocheck
LC-1752 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.11:
- comment nature: [clarification]
- location: 3.2 CACHING
- current wording: In the following, note that HTTP headers should be
used rather than meta elements with http-equiv attributes, which are
commonly not taken into account by proxies. Where both a meta element
and the corresponding header are found the value of the header must be used.
- suggested revision: Clarify what to do in the absence of HTTP headers,
should meta elements be used?
- rationale:
This has been reworded and a reference inserted to the discussion of meta in section 2 which makes it clear that only in three cases are meta http-equiv elements taken into account tocheck
LC-1753 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.12:
- comment nature: [typo]
- location: 3.3 CHARACTER_ENCODING_SUPPORT and CHARACTER_ENCODING_USE
- current wording: application/xhtml+xml; charset=UTF-8"
- suggested revision: Remove '"'
- rationale:
Thanks that was indeed a typo tocheck
LC-1755 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.14:
- comment nature: [clarification]
- location: 3.4 CONTENT_FORMAT_SUPPORT and VALID_MARKUP
- current wording: If the document is an HTML document
- suggested revision: What is "an HTML document" here? Which
characteristics are to be checked?
- rationale: Is not clear if there's any algorithm to check whether
something is an HTML document or not as it's not clear what you should
look for in absence of an HTML document definition.
We mean html as the root element and will add a clarification to that effect. tocheck
LC-1756 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.15:
- comment nature: [editorial]
- location: 3.6 EXTERNAL_RESOURCES
- current wording: "Note that if an HTTP request is unsuccessful while
conducting this test, the result is FAIL"
- suggested revision: Include this condition in the general algorithm
- rationale: It's the only condition that affects to the result and it's
out of the general algorithm, this way it could be easily leave out
It's reworded to refer to the genenral algorithm which contains the FAIL already. tocheck
LC-1757 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.16:
- comment nature: [clarification]
- location: 3.6 EXTERNAL_RESOURCES
- current wording: "Note that if an HTTP request is unsuccessful while
conducting this test"
- suggested revision: Clarify what means unsuccessful here
- rationale:
The clarification suggested under LC-1756 covers this point too. tocheck
LC-1758 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.17:
- comment nature: [typo]
- location: 3.6 EXTERNAL_RESOURCES
- current wording: Count the total number of unique included resources,
as defined in 2.3.6 Included Resources
- suggested revision: Add '.'
- rationale:
Thanks, yes. tocheck
LC-1759 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.18:
- comment nature: [clarification]
- location: 3.11 MEASURES
- current wording: "For each property in the CSS Style whose value is a
numeric measure of length stated together with a unit
If the value is non-zero and the unit is not "em" or "ex"..."
- suggested revision: Why has been % left out? is it not considered an unit?
- rationale: As currently expressed it's not clear what to do with
percentages
We removed % in an earlier draft as it is not a unit. Clarify by rephrasing as If the value is non-zero has a unit and the unit is not "em" or "ex" (and the value is not a percentage) tocheck
LC-1761 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.20:
- comment nature: [editorial]
- location: 3.12 MINIMIZE 3.15 OBJECTS_OR_SCRIPT 3.17 PAGE_TITLE
- current wording: "white space"
- suggested revision: Link to the "normative" definition of white space
at 2.3.10 White Space
- rationale: Once you have a "normative" definition it make sense to
link to it as it's been done with "Validity"
Add a reference to white space definition in 3.12 3.15 and 3.17 tocheck
LC-1762 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.21:
- comment nature: [typo]
- location: 3.13 NO_FRAMES
- current wording: "If the document contains a frame, frameset or iframe
element or object element..."
- suggested revision: "If the document contains a frame, frameset or
iframe element or _an_ object element..."
- rationale: Apparently there is a missing "an"
Change GET to POST in this section as indicated tocheck
LC-1763 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.22:
- comment nature: [clarification]
- location: 3.16 PAGE_SIZE_LIMIT
- current wording: If the size of the document's markup exceeds 10 kilobytes
- suggested revision: Does "size of the document's markup" mean "the
markup document's length"?
- rationale: Although this is the most sensible, it could also mean
"count only tags" or other things
Clarify as suggested tocheck
LC-1765 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.24:
- comment nature: [editorial]
- location: 3.19 PROVIDE_DEFAULTS
- current wording: "If there is no nested option element whose selected
attribute is set to some value, warn"
- suggested revision: "If there is no nested option element whose
selected attribute is set to _"selected"_, warn"
- rationale: This is the only valid value for this attribute and it's
been already included in the next condition of the algorithm
THanks, that change has been made. tocheck
LC-1767 Shadi Abou-Zahra <shadi@w3.org> (archived comment)
COMMENT B.26:
- comment nature: [editorial]
- location: 3.21 STYLE_SHEETS_USE
- current wording: If the CSS Style contains at-rules (other than the
@media at-rule), properties, or values that are not recognized as being
valid CSS Level 1 2.3.9 Validity, warn
- suggested revision: Add () around the link "2.3.9 Validity".
- rationale:
THanks that bit has been re-written and removed tocheck

Developed and maintained by Dominique Hazaël-Massieux (dom@w3.org).
$Id: single.html,v 1.1 2017/08/11 06:43:46 dom Exp $
Please send bug reports and request for enhancements to w3t-sys.org