Giter VIP home page Giter VIP logo

html's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

html's Issues

Why restrict `header` and `footer` from nesting

The specification says that header and footer elements cannot contain each other, so cannot be nested.

There is a longstanding bug and some use cases, and it isn't clear what purpose is served by the restriction.

Seems reasonable to me that we drop the restriction. Does anyone know of something that would actually break?

Error in 4.2.5.1 standard metadata names

Originally posted to [email protected] [1].

In description of application-name,
Current text is :

<p>
The value must be a short free-form string giving the name of the Web application that the page represents.
If the page is not a Web application, the <code data-anolis-xref="meta-application-name"><a href="#meta-application-name">application-name</a></code> metadata name must not be used. 
Translations of the Web application's name may be given, using the <code data-anolis-xref="attr-lang"><a href="dom.html#attr-lang"></a></code> attribute to specify the language of each name.
</p>

i think that it shoud be :

<p>
The value must be a short free-form string giving the name of the Web application that the page represents.
If the page is not a Web application, the <code data-anolis-xref="meta-application-name"><a href="#meta-application-name">application-name</a></code> metadata name must not be used. 
Translations of the Web application's name may be given, using the <code data-anolis-xref="attr-lang"><a href="dom.html#attr-lang">lang</a></code> attribute to specify the language of each name.
</p>

[1] https://lists.w3.org/Archives/Public/public-html/2015Nov/0001.html

<nested browsing context in 10. Rendering

https://github.com/w3c/html/blob/gh-pages/sections/rendering.include

<<a>nested browsing context</a>

should be

<a>nested browsing context</a>

10.3.2. The page
https://w3c.github.io/html/rendering.html#the-page

then the user agent is expected to prevent any scroll bars from being shown for the viewport of the <nested browsing context, regardless of the overflow property that applies to that viewport.

10.4. Replaced elements
https://w3c.github.io/html/rendering.html#replaced-elements

An object element that represents an image, plugin, or <nested browsing context is expected

10.6. Frames and framesets
https://w3c.github.io/html/rendering.html#frames-and-framesets

Otherwise, it is a frame element; render its <nested browsing context, positioned and sized to fit the rectangle.

Add labels for specific topics

It would be helpful to all if issues could be labelled. In the ARIA repo we have some for the different documents, like: APG, ARIA, AAM, etc. We also have some for specific topics, which might be more suited here: accessibility, security, editorial, etc.

Wrong bikeshed tag in 10.5 Bindings

There are few wrong bikeshed tag in 10.5 Bindings.

10.5.1. Introduction
https://w3c.github.io/html/rendering.html#bindings-introduction
https://github.com/w3c/html/blob/gh-pages/sections/rendering.include#L1471

  The CSS snippets below set the 'binding' property to a user-agent-defined value, represented
  below by keywords like <{<i>button</i>}>.

should be

  The CSS snippets below set the 'binding' property to a user-agent-defined value, represented
  below by keywords like <{button}>.

10.5.11. The marquee element
https://w3c.github.io/html/rendering.html#the-marquee-element-rendering
https://github.com/w3c/html/blob/gh-pages/sections/rendering.include#L1797

<{marquee}'s content area.

should be

<{marquee}>'s content area.

10.3.6. Quotes is broken

The CSS user agent style sheet of "10.3.6. Quotes" is broken
https://w3c.github.io/html/rendering.html#quotes

     <p>@namespace url(http://www.w3.org/1999/xhtml);</p>
     <p>:root                                                         { quotes: '\201c' '\201d' '\2018' '\2019' } /* “ ” ‘ ’ */

should be

<pre class="highlight">@namespace url(http://www.w3.org/1999/xhtml);
:root                                                         { quotes: '\201c' '\201d' '\2018' '\2019' } /* “ ” ‘ ’ */

A stale link, a missing attribute description, and an inverted content model condition.

Translated from a post of a local developer community by mount-root-yy.

Keygen element removal

The keygen is stated to be in the process of being removed from the Web platform, probably due to a lack of implementations, and its use is discouraged.

So why isn't it listed as obsolete feature?

Constraint validation limits

I was elaborating a polyfill for what I consider a missing feature in form validation (you can find it, along with the related proposal, in my repositories) and I found out a limitation regarding how custom validity is defined.
The current mechanism of defining an error based on its error message, while efficient sometimes, makes it quite difficult for scripts defining different custom errors to interact with each other.
In my case, for example, I chose to check whether the custom error message matches mine in order to remove it when the user fixes the mistake, so that the custom error is not removed if another one occurs.
I think this could be done in a better way using the element.validity property:

  • allow authors to define new validity error properties, as my script does with validity.groupMissing: authors will have to let these properties return true in conditions defined by the script.
  • make sure element.validity.valid returns true only if all other validity errors (either native or custom) return false
  • let invalid event depend directly on element.validity. Currently browsers implement a sort of internal API to do that, so if I define it another way without also using element.setCustomValidity, the event is not fired.
  • let errorMessage be writable, so that once the event is fired (according to element.validity) the message can be produced on-the-fly without having to reset it when user intervenes.
  • of course customError should be left as-is, both for compatibility with current situation and for enabling easier cases.

Of course this could be done in a different way but I suppose it wouldn't be compatible with current API: customError could return an object, whose properties are defined by separate instances of setCustomValidity.
element.setCustomValidity('groupMissing', 'error message for groupMissing')
This way different error messages can be identified and removed, and customError is true only if all the custom error messages correspond to empty strings (it would be interesting how these messages can be returned, though, and there would be issues about what element.errorMessage should return).

Could it be done spec-side? Or does it depend on how vendors interpret the specification?

References to Web IDL members no longer links.

All references to members of HTMLMediaElement, including attributes and constants used to be links to the definition. Now, they are no longer links. Even some attributes are no longer links in the Web IDL itself.

Specific examples (compare to https://www.w3.org/TR/html/embedded-content-0.html#media-elements):

  • Member constants, such as NETWORK_EMPTY and HAVE_NOTHING are links in the IDL but nowhere else in the document.
  • Some member attributes, such as networkState, are not a link anywhere in the document, including In the IDL.

HTMLObjectElement and other elements have similar issues, so this is not limited to media elements.

Remove appcache from future HTML specs

It is something that doesn't do what people expect, and while it is used today in combination with web storage and other techniques, we expect it to be rendered truly obsolete by Service Workers.

There is an HTML5 recommendation, showing people how to implement appcache, if they want to make 2015-era browsers.

Firefox has deprecated, and plans to remove it in favour of service workers.

At some point, HTML specs should stop recommending its use. Have we reached that point yet?

Broken links in draft intro

This Version: http://www.w3.org/TR/2016/WD-html-5.1-20160113/ - Document not found

Latest version: http://www.w3.org/TR/html/ - This points to HTML5, W3C Recommendation 28 October 2014. Is it correct?

Previous Versions: http://www.w3.org/TR/2014/WD-html51-20140204/ - Is this correct? Shouldn't it be http://www.w3.org/TR/2015/WD-html51-20151008/ (HTML 5.1, W3C Working Draft 08 October 2015)?

Issue Tracking: GitHub (https://github.com/MicrosoftEdge/HTML/issues/) - Incorrect link

EDIT: the multipage version is appreciated 😄 but unfortunately some links are broken! (all links to table sorting model in semantics.html lack the # and as such they don't work).

What to do about the document outline?

As many people have been lead to believe it actually effects the semantics of headings, when in practice it does not, currently HTML has a warning for web developers about the document outline algorithm as its semantics are not implemented in UA's and visual styling of headings based on their section nesting is only partially implemented.

In a related issue discussion, I started, based on the lack of developer advice in the whatwg spec whatwg/html#83 there has been talk of removing/modifying the algorithm and how sectioning elements (in particular section and article elements) effect the semantics of headings.

We need to look more into the issues with the algorithm and decide the future of how document outlines are expressed in HTML and how the current semantics of sectioning elements could/should be changed.

related:
https://www.w3.org/wiki/HTML/Usage/Headings/h1only

American English and e.g.

This is a global comment, and a nit. W3C Recommendations use American English (for better or worse). In American English, the abbreviation 'e.g.' should ALWAYS have a comma after it, as should the abbreviation 'i.e.'.

I would submit a PR for this, but it would be vast and the potential for collision is high. Sorry :(

Obsolete value for type attribute on <menu>

Admittedly, this issue refers to an element which has met a terrible fate (hasn't it?) due to lack of implementation.

The allowed keywords for type attribute on <menu> element have been listed as popup and toolbar since May 2013 and up until October 2015. Now the current version of the draft has aligned with its original definition, mapping the popup state with the context keyword. I think popup value should be listed among the obsolete features, in order to make this change more evident.

Remove the "bikeshed-files" directory, and kill references to it

Bikeshed already includes the necessary html include files in its source tree (and has fixed one of them in a way that is not reflected in this repo's stale copy).

That whole directory should be deleted from this repo, and the README instructions altered to remove the reference to it.

Iframe seamless

Is it in W3C plans to remove seamless attribute from <iframe> element as it has been done in WHATWG draft?

If that's the case, will authors have to explicitly link stylesheets/embed <style> elements inside srcdoc documents in order for them to look more integrated with the containing document?

Fix broken internal links in the document

There are several broken links in the document where <a href="#something"> exists without a corresponding <xxx id="something">. These are found by the multipage splitter. The current list is:

Link not found: #a
Link not found: #title
Link not found: #http://www.w3.org/TR/2dcontext/
Link not found: #https://wiki.whatwg.org/wiki/PragmaExtensions
Link not found: #http://www.w3.org/TR/rdfa-lite/
Link not found: #image
Link not found: #http://www.w3.org/WAI/alt/
Link not found: #http://www.tate.org.uk/art/artworks/waterhouse-the-lady-of-shalott-n01543
Link not found: #http://www.bbc.com/weather/6690829
Link not found: #http://www.w3.org/TR/turingtest/
Link not found: #audio
Link not found: #option
Link not found: #https://wiki.mozilla.org/CA:Certificate_Download_Specification
Link not found: #http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm
Link not found: #http://wiki.whatwg.org/wiki/CanvasContexts
Link not found: #http://www.whatwg.org/demos/offline/clock/live-demo/clock.html
Link not found: #attribute-value-%28double-quoted%29-state
Link not found: #attribute-value-%28single-quoted%29-state
Link not found: #attribute-value-%28unquoted%29-state
Link not found: #after-attribute-value-%28quoted%29-state
Link not found: #biblio-css-values-3
Link not found: #biblio-cssom-1
Link not found: #biblio-cssom-view-1

Wrong bikeshed tags in 2. Common infrastructure

There are few wrong bikeshed tags in 2. Common infrastructure

2.1.1. Resources
https://w3c.github.io/html/infrastructure.html#resources

The term data: URL refers to [[url#urls|URLs]] that use the data: scheme.

2.1.6. Character encodings
https://w3c.github.io/html/infrastructure.html#encoding-terminology

but isolated surrogates must each be treated as the single code point with the value of the surrogate. [[!UNICODE]

2.7.1. Reflecting content attributes in IDL attributes
https://w3c.github.io/html/infrastructure.html#reflecting-content-attributes-in-idl-attributes

If a reflecting IDL attribute is a DOMString attribute whose content attribute is defined to contain one or more [[url#urls|URLs]],

2.4.5.8. Weeks
https://w3c.github.io/html/infrastructure.html#weeks

   <ol start="8601">
     <li data-md="">
      <p><a data-link-type="biblio" href="references.html#biblio-iso8601">[ISO8601]</a></p>
    </li></ol>

Issue link incorrect for non contributors

If I run Bikshed after I've fixed a bug in the spec, it will set the issue link in single-page.html to my GitHub repository. This prevents me to run all the steps in the contributing guide. Should I create pull requests without running Bikeshed?

To be more specific, Bikeshed generates this code:

<dt>Issue Tracking:
<dd><a href="https://github.com/MichielBijl/html/issues/">GitHub</a>

Flesh out README to contain useful information

While the instructions are clear, there should be more information on this project, some subjects that I feel should be in the README:

  • Some background information
  • Who to contact for access / how to join the relevant W3C WG
  • More information on contributing (maybe link to CONTRIBUTING.md?): see #17

Current draft is WD but should be ED

The current spec is an editor's draft but uses the WD template. We need to create the ED template and change the single-page.bs to use Status: ED.

We will also eventually need templates for CR, PR, and Rec.

Wrong markup in 1.10.1. Presentational markup

https://w3c.github.io/html/introduction.html#presentational-markup

It seems that markdown conversion created a wrong markup in 1.10.1. Presentational markup.

https://github.com/w3c/html/blob/gh-pages/sections/introduction.include#L838

  : Larger document sizes
  :: Presentational markup tends to be much more redundant, and thus results in larger document
      sizes.

      For those reasons, presentational markup has been removed from HTML in this version. ...

should be

  : Larger document sizes
  :: Presentational markup tends to be much more redundant, and thus results in larger document
      sizes.

  For those reasons, presentational markup has been removed from HTML in this version. ...

because "For those reaseons" means "The use of presentational elements leads to poorer accessibility", "Higher cost of maintenance" and "Larger document sizes".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.