-
Notifications
You must be signed in to change notification settings - Fork 530
Commit
fixes #602
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -820,6 +820,19 @@ | |
The <dfn element-attr for="meta"><code>content</code></dfn> attribute gives the value of the | ||
document metadata or pragma directive when the element is used for those purposes. The allowed | ||
values depend on the exact context, as described in subsequent sections of this specification. | ||
|
||
<div class="warning"> | ||
|
||
<p>Developers should not use the <code>user-scalable=no</code> or <code>maximum-scale=1.0</code> | ||
values in the <a>content</a> attribute as their use hinders users ability to zoom the content to a size | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
chaals
Collaborator
|
||
that is legible for their needs.</p> | ||
|
||
<p>The use of these values could be appropriate in specific use cases, for map applications where | ||
This comment has been minimized.
Sorry, something went wrong. |
||
zooming is handled via scripting or for a game application where a fixed viewport is required. | ||
This comment has been minimized.
Sorry, something went wrong.
chaals
Collaborator
|
||
In general their use will not be appropriate and therefore HTML conformance checking tools should | ||
This comment has been minimized.
Sorry, something went wrong. |
||
display a warning.</p> | ||
|
||
</div> | ||
|
||
If a <{meta}> element has a <dfn element-attr for="meta"><code>name</code></dfn> | ||
attribute, it sets document metadata. Document metadata is expressed in terms of name-value pairs, | ||
|
4 comments
on commit 29b8934
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Displaying warning is not good and not appropriate right now. As there are Tons of projects with meta content with value user-scalable=no are running now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anupkumarmaharjan The problem is that many of these projects are actually making it impossible for users to use them. The point of the warning is to make it clearer that there is a problem using this markup, so hopefully the majority of projects - who are using it unnecessarily, and harmfully - will stop doing that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks all, updated in response to feedback c6b0011
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that many of these projects are actually making it impossible for users to use them
That's their problem, not yours. Let them figure out who their application is for.
Just a teensy suggested change:
users ability
→users’ ability