Giter Club home page Giter Club logo

html's People

Contributors

annevk avatar antosart avatar cvrebert avatar dbaron avatar domenic avatar domfarolino avatar dontcallmedom avatar dtapuska avatar emilio avatar foolip avatar hixie avatar j9t avatar jakearchibald avatar josepharhar avatar jugglinmike avatar jungkees avatar junov avatar keithamus avatar marcoscaceres avatar mikewest avatar ms2ger avatar nicolo-ribaudo avatar noamr avatar rakina avatar ritsyy avatar sideshowbarker avatar timothygu avatar tkent-google avatar yuyokk avatar zcorpan avatar

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

"The tabIndex IDL attribute must reflect the val..."

https://html.spec.whatwg.org/multipage/interaction.html#the-tabindex-attribute

The tabIndex IDL attribute must reflect the value of the tabindex content attribute. Its default value is 0 for elements that are focusable and −1 for elements that are not focusable.

There is an inconsistency here. Let's consider a custom Web Component named foo-bar. The markup <foo-bar tabindex="-1"></foo-bar> means the element is still focusable, but not reachable by pressing Tab. This means the user can click on the element to give it focus.

However, <foo-bar></foo-bar> without the tabindex HTML attribute means the element is not focusable at all, not even after clicking on it.

The HTMLElement.tabIndex IDL attribute will have the -1 value in both cases. This means two different behaviors under the same value. It also means it is impossible to make the custom element unfocusable by assigning a number to .tabIndex; instead we need to removeAttribute('tabindex').

Missing .js files

The following show up as 404s in the console:

  • updater.js
  • reviewer.js
  • status.js

The source also contains code to load

  • toc.js

Some of these are presumably related to the notification about updates, which has been removed in aaa19d5. So we should maybe remove them too?

Others we should get from @Hixie.

Add a flag for elements which cannot have shadow trees

See WICG/webcomponents#110 (comment)

What should this flag be called? "Cannot have shadow trees"? "Has complex rendering"?

What should the text look like and where in the element descriptions should it be placed?

Should it be a new kind of content ? That seems like a nice way to categorize, and would allow us to avoid having a sentence in each element, instead just adding it to the non-normative header and then maintaining the central list in https://html.spec.whatwg.org/#kinds-of-content.

Stop using T[] (webidl arrays)

In whatwg/webidl@079cbb8 the T[] Web IDL type was removed.

After #10, the remaining uses in the spec of T[] will be:

I haven't looked yet whether these can be completely replaced with FrozenArray or whether something trickier might be needed.

HTML Parser / In cell mode / processing </table> does not fix the stack of opened elements

Context :

Per spec, a parser error must occur and the token must be ignored, but doing so, the table is not closed and the rest of the document is considered children of the unclosed <td>

A proposed fix would be :

  • keep parser error (obviously)
  • if token is a </table> token, pop elements from the stack of open elements until a "table" node has been popped of the stack
  • ignore the token

I hope I did not got confused somewhere :)

Updates to the header links

Potential things to address:

  • #4, "PDF Version" link is 404ing
  • "Developer Version" is outdated. Should we still be linking to it? (This is presumably part of a larger conversation.)
  • "Change Log" points to the html5.org tracker, which isn't keeping up with GitHub. Should we change it to a link to the GitHub commits list, perhaps?
  • "View Open Bugs" links to Bugzilla, whereas we're moving to GitHub issues. Maybe we should rename it to "Open Bugs (Legacy)" and have a new "Open Bugs" (or "Open Issues"?) link?

Fetch integration

  • Resolve whatwg/fetch#91
  • Make navigate based on URL alone (not this vague resource concept)
  • Remove referrer source concept and rely on Referrer Standard
  • The rest

Is <button> a replaced element or not?

<button>'s rendering is currently defined in the "Bindings" section as opposed to either the "Replaced elements" or "Non-replaced elements" sections. I couldn't find anything else in the spec that clarifies this either.
Is the <button> element a replaced element, or a non-replaced element? Or does/can its replaced-ness vary by circumstance? (If yes to the latter, please spell out the various circumstances.)
Firefox treats it as a replaced element; I presume other browsers don't, otherwise we'd be seeing the referenced bug in other browsers too.

Focusing algorithm is missing a "scroll the element into view" step

(This is an intentional duplicate of https://www.w3.org/Bugs/Public/show_bug.cgi?id=27913 since that bug is in the wrong WG and an obscure Bugzilla Component.)
Basically, https://html.spec.whatwg.org/multipage/interaction.html#focus-update-steps doesn't seem to mention anything about scrolling the focused element into view if it was outside the viewport, even though all browsers do this in practice (simple testcase) most of the time (there are apparently some exceptional cases). So a step (presumably invoking https://drafts.csswg.org/cssom-view/#scroll-an-element-into-view) should be added to make the spec reflect reality. I haven't dug deep enough to suggest exactly where in that algorithm the new step should be inserted.

should requestAnimationFrame return unsigned long?

By the current spec, requestAnimationFrame returns animation frame callback identifier as WebIDL's long type.

However, animation frame callback identifier can be incremented but is not decremented in the current spec. It will not be a negative value. So I propose to change the type of animation frame callback identifier which is returned from requestAnimationFrame.

I suspect that we might be able to change this by these reasons, but I don't have conclusive...

  • The existing definition do only increment the value from zero, and never decrement it. By the spec, it would not be a negative effect if we change this returned type.
  • This proposal will extend the increase a value's max range to positive axis.
  • animation frame callback identifier is an only outputted value from user agent, not an inputted value to user agent. This would not be bad effect to existing 'user land' scripts.

origin: w3c/requestidlecallback#17

Consistency in editorial style

(From the spec:)

  • need to become consistent about whether or not to quote keyword
    ("<code data-x="">foo</code>" vs <code>foo</code>)
  • make the spec consistent about whether the word "algorithm" is part of an algorithm's name or
    not ("</dfn> algorithm", "</span> algorithm")
  • make the spec more consistent about the detail to which the spec explains how to interpret a
    string as a hexadecimal number.
  • become more consistent about what markup we use to mark up productions (nothing? <i>? <code>?)
  • use <code>Document</code> consistently instead of 'document'.
  • be clearer about arrays/lists/collections being zero-based despite using the term "/index/th".
  • use the sample widgets:
         <li><img alt="A text field with editable sections for each
         value, with a button to pop up a dialog showing a calendar or
         clock." src="sample-datetime-ui-2"></li>
         <li><img alt="A calendar grid with a clock in the upper right
         hand corner." src="sample-datetime-ui-3"></li>

It is confusing that textarea and input have different placeholder attributes, and only input's appears in the TOC

Please correct me if this is an incorrect place or form for submitting issues. It seems the repository is new and I could not find any guidelines.

Since d534237, placeholder attribute of textarea elements can contain newlines. (W3C version still forbids newlines. There is an open bug about it.)
However, the specification still mentions the prohibition of newlines in the section on placeholder and does not mention an exception: html.spec.whatwg.org, developers.whatwg.org.

In addition, the version at html.spec.whatwg.org directly links from the section on textarea to the misleading section on placeholder.

(It seems I got very tired looking at all specs and my previous observations are mostly incorrect.)

The common section on placeholder in the spec, the one that shows up if I search on developers.whatwg.org for placeholder, forbids newlines and mentions no exceptions for textareas. Perhaps a note is in order?

It took me a while to figure all this out, it was considerably confusing.

Suggest adding a warning about outline algorithm

Currently the HTML standard does not provide any advice in regards to the outline algorithm not being implemented, This has lead to some developers believing that the outline algorithm has an effect in browsers and assitive technology which it does not. THis can lead to developers using markup patterns that don't convey document structure. Suggest adding a warning, for example this is the warning in the W3C HTML spec

There are currently no known implementations of the outline algorithm in graphical browsers or assistive technology user agents, although the algorithm is implemented in other software such as conformance checkers. Therefore the outline algorithm cannot be relied upon to convey document structure to users. Authors are advised to use heading rank (h1-h6) to convey document structure.

Rename print.pdf to html-standard.pdf?

@izh1979 suggested to me that it's frustrating for people to have lots of files with names like "print.pdf" on their computer. As such we could rename the file to html-standard.pdf and install a redirect from the old URL.

What do people think?

Tainting in the presense of a service worker seems to have an undesirable behavior

Consider the following example:

  • You create a same origin resource without a crossOrigin attribute, and you load the image.
  • The service worker intercepts the fetch, and performs a no-cors cross origin fetch and responds to the original FetchEvent using that Response object.
  • Back to the original request, according to https://html.spec.whatwg.org/#cors-enabled-fetch, we run Fetch, the result is not a redirect, and therefore we consider the obtained resource as same-origin.

This seems to essentially allow applications to bypass tainting.

@jdm @annevk

Missing print.pdf

The "PDF Version" link at the top does not work as /print.pdf is missing. @Hixie, where do we get one of those?

Add an hgroup Example with Multiple h1 Elements

Reference URL:
https://html.spec.whatwg.org/multipage/semantics.html#the-hgroup-element

The spec doesn't make it clear whether or not I can add equivalent headings for content. I'm trying to do something to the effect of:

  • List Title 1
  • List Title 1 Alternative
  • List

In theory, this should be doable with:

<hgroup>
    <h1>List Title 1</h1>
    <h1>List Title 1 Alternative</h1>
</hgroup>
<ul>[...]</ul>

However, the only example utilizing the hgroup element in the spec shows how to create a subtitle, and the spec has this confusing text: "Other elements of heading content in the hgroup element indicate subheadings or subtitles". The quoted text indicates that the second h1 element might be considered a subtitle of the first h1 element.

Edits: I had to reformat the post with Markdown since HTML is apparently interpreted. I modified the phrasing of the last paragraph.

Interoperating with Shepherd

@plinss and @tabatkins maintain a tool that Bikeshed specifications use for cross-references. At the moment HTML works poorly with that tool, for instance by defining "origin" three times. We should find some way to work better.

Write a style guide

We should probably have either CONTRIBUTING.md or STYLE.md elaborate on the various conventions in use around wattsi, citations, etc.

Proposal to add the attr-datetime for the mark-element

Originally brought this up at https://lists.w3.org/Archives/Public/public-html/2015Jul/0025.html

I think it would be appropriate to make the datetime attribute as one of the normative attributes for the mark element. As I understand <mark>, it generally indicates that there was some marking/highlighting activity done on text. I see this is a similar activity to <del> and <ins>, which may be accompanied with the datetime attribute.

A use case for this is where a user (not necessarily the author of the document) marks/highlights a piece of text where the timestamp of that activity is preserved, so that information could later be collected. It grants the possibility where all editorial - pardon me for the lack of a better term - changes or interactions fit into a timeframe.

I have considered employing the data attribute e.g., data-datetime, but figured that the datetime attribute would be most suitable in this case.

Ruby styling

#101 is trying to sort out the parser. Here is some data on the UA styling:

HTML Standard

ruby { display: ruby; }
rt { display: ruby-text; }

W3C HTML 5.1

ruby { display: ruby; }
rb   { display: ruby-base; white-space: nowrap; }
rt   {
    display: ruby-text;
    white-space: nowrap;
    font-size: 50%;
    font-variant-east-asian: ruby;
    text-emphasis: none;
}
rbc  { display: ruby-base-container; }
rtc  { display: ruby-text-container; }
ruby, rb, rt, rbc, rtc { unicode-bidi: isolate; }

Chrome

ruby, rt {
    text-indent: 0; /* blocks used for ruby rendering should not trigger this */
}

rt {
    line-height: normal;
    -webkit-text-emphasis: none;
}

ruby > rt {
    display: block;
    font-size: 50%;
    text-align: start;
}

ruby > rp {
    display: none;
}

WebKit

ruby, rt {
    text-indent: 0; /* blocks used for ruby rendering should not trigger this */
}

rt {
    line-height: normal;
    -webkit-text-emphasis: none;
}

ruby > rt {
    display: block;
    font-size: -webkit-ruby-text;
    text-align: start;
}

ruby > rp {
    display: none;
}

Firefox

ruby {
  display: ruby;
}
rb {
  display: ruby-base;
  white-space: nowrap;
}
rp {
  display: none;
}
rt {
  display: ruby-text;
}
rtc {
  display: ruby-text-container;
}
rtc, rt {
  white-space: nowrap;
  font-size: 50%;
  line-height: 1;
  font-variant-east-asian: ruby;
}
@supports (text-emphasis: none) {
  rtc, rt {
    text-emphasis: none;
  }
}
rtc:lang(zh), rt:lang(zh) {
  ruby-align: center;
}
rtc:lang(zh-TW), rt:lang(zh-TW) {
  font-size: 30%; /* bopomofo */
}
rtc > rt {
  font-size: inherit;
}
ruby, rb, rt, rtc {
  unicode-bidi: -moz-isolate;
}

It seems likely we should not have any styling rules for rb and rtc, as those are only in Gecko (plus W3C HTML).

Add links next to section headings for easy copying

The newer CSS spec documents have a handy feature where each section has a "§" next to it which is a fragment ID link to that same particular section. For example, the "§" next to "1.2. Values" links to https://drafts.csswg.org/mediaqueries/#values
It would be handy if the HTML spec document had a similar feature. Currently, I have to either open the heading in dev tools or go back to the TOC if I want to get a link to the (sub^N)section which I'm currently viewing.

Merge <picture> in

@zcorpan is fine with this, but he would like to preserve history, which may be tricky as the <picture> repository includes all of the HTML history.

Also, if we preserve history, we probably want to disable tweeting for a while as it would be quite the flood.

Anyway, things to be done:

  • inline the build script input into source
  • update the build script to no longer care for <picture>
  • point out that part of the history regarding images is elsewhere
  • point out that part of the history regarding images is licensed under CC0
  • move section 4.8.2 dependencies to a better location
  • mention <piccture> in more places, https://www.w3.org/Bugs/Public/show_bug.cgi?id=27570
  • merge acknowledgments, https://www.w3.org/Bugs/Public/show_bug.cgi?id=26146
  • explain <img sizes>
  • explain <img media>
  • explain <img srcset>
  • merge descriptions of <source> elements

Add an index of methods and IDL attributes

See https://www.w3.org/Bugs/Public/show_bug.cgi?id=17898

 #0   [email protected]                          2011-08-24 09:09:47 +0000 
--------------------------------------------------------------------------------
Specification: http://www.whatwg.org/specs/web-apps/current-work/complete/timers.html
Multipage: http://www.whatwg.org/C#custom-handlers
Complete: http://www.whatwg.org/c#custom-handlers

Comment:
Make "registerProtocolHandler" and "registerContentHandler" appear in the TOC

Posted from: 88.131.66.80 by [email protected]
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.5.8; U; en) Presto/2.9.168 Version/11.50
================================================================================
 #1   Ian 'Hixie' Hickson                             2011-10-12 19:04:44 +0000 
--------------------------------------------------------------------------------
Why? Or even, how? The section title would be really long if it included both
those method names, not to mention the other method names defined in that section...
================================================================================
 #2   Simon Pieters                                   2011-10-13 05:02:04 +0000 
--------------------------------------------------------------------------------
Why? To make it easier to find (some sections have the relevant API in the ToC,
e.g. designMode). But I guess that applies to any method. Maybe we should have
an index of APIs as an appendix or something.
================================================================================
 #3   Ian 'Hixie' Hickson                             2011-10-24 18:20:13 +0000 
--------------------------------------------------------------------------------
An index would make a lot of sense.

An IDL index would be something we can completely automate. The IDL blocks are
computer-readable, and for each IDL field there's a corresponding <dfn>. If someone
can hack together a quick script that just scans all the IDL blocks and extracts out
all the methods and fields and forms an alphabetical index of them, I'd be happy to
add that script to my publishing pipeline.
================================================================================
 #4   Ian 'Hixie' Hickson                             2011-10-25 05:13:43 +0000 
--------------------------------------------------------------------------------
(Please reassign to me if you have such a script.)

Move demo sources to this repo

Currently demos are not in source control and are hosted at https://whatwg.org/demos/. The build script then curls them from that URL into the spec.

We should move the demos into this repo, and have the build script inline them from source plus copy them to the output directory. This will then create demo URLs at https://html.spec.whatwg.org/demos/. We should then set up a redirect from the original URLs to these new URLs.

Related: https://www.w3.org/Bugs/Public/show_bug.cgi?id=28200

TODO before we can close this issue:

TODO after this issue:

Consider aligning WHATWG main element definition with W3C definition

The main element was designed and implemented based on the concept of there being a single instance within a document, the markup pattern was based on data of id value usage in the wild. The whatwg definition differs markedly from the orginal definition. This leads to confusion for developers.
The W3C nu html checker, which is used by many, throws an error when main is used as per whatwg. Data derived from webdevdata.org shows that >97% of usage of the <main> element is as per the W3C definition and anecdata from users that consume the semantics suggests that one main element per page is the expected and most useful pattern. In general consumers landmark semantics report that the utility of landmarks is reduced as the number/instances of landmark elements in a document increases.
The alignment would involve changes to the main and body element definitions.
current W3C definitions:

Control for image smoothing quality/speed in CanvasRenderingContext2D

Currently, authors can turn image smoothing on and off with imageSmoothingEnabled, but they have no control over the quality or speed of the image smoothing technique used by the engine. Unfortunately, authors desiring a higher quality, lower speed image smoothing technique (Twitter, for instance) end up rolling their own image smoothing in JavaScript. It would be better to let authors opt in to higher quality smoothing directly.

In our prototype of this feature we have an imageSmoothingOption property which can be "default", "fast", or "quality". I don't particularly care what the property or options are called. That said, generic values like these that let the author make the speed/quality tradeoff they need to make without tying implementations to specific image scaling algorithms seem best.

If you'd like I can provide a pull request with the relevant spec addition.

(This was previously discussed on the WHATWG list in December 2013 and March 2014.)

<keygen> & "md5WithRSAEncryption"

<keygen> has been deprecated a few days ago, and the issue has been taken up by @timbl on the Technical Architecture Group as it removes a useful tool in the asymmetric public key cryptography available in browsers.

One reason given for deprecating that recurs often is that keygen uses MD5, as for example argued by Ryan Sleevi in his mail on blink-dev on the intent to deprecate keygen

  1. itself is problematically and incompatibly insecure - requiring the use of MD5 in a signing algorithm as part of the SPKAC generated. This can't easily be changed w/o breaking compatibility with UAs.

What is the problem with MD5? Well it was shown to make it possible to create collisions, thereby allowing a major attack vector on the whole Certificate Authority System which is currently central behind web security. This was presented in a very good paper "MD5 considered harmful today" at the Chaos Communication Congress in Berlin in 2008 by a number of researchers of which Jacob Appelbaum ( aka. @ioerror ) . ( That was the time when Julian Assange was working freely on Wikileaks, so you can even hear him ask a question at the end )

The slides are here:
https://www.trailofbits.com/resources/creating_a_rogue_ca_cert_slides.pdf
The video is here:
http://chaosradio.ccc.de/25c3_m4v_3023.html

In short they were able to create a fake Certificate Authority (CA) because the CA signed its certificates with MD5 and they were able to create hash collisions, to use the certificate signed by the CA
and change some information in it to produce their own top level certificate, with which
they could create a certificate for any site they wished to! ( Pretty awesomely bad - though they did this carefully to avoid misuse ). This is why projects such as IETFs DANE, DNSSEC, and many other improvements to the internet infrastructure are vital.

This was 7 years ago, so all of this should be fixed by now. There should be no CA signing
Server Certificates with MD5 anymore.

Great. But that has nothing to do with what is going on with <keygen>. The problem
may well be that the documentation of <keygen> is misleading here. The WHATWG documentation on keygen currently states:

If the keytype attribute is in the RSA state: Generate an RSA key pair using the settings given by the user, if appropriate, using the md5WithRSAEncryption RSA signature algorithm (the signature algorithm with MD5 and the RSA encryption algorithm) referenced in section 2.2.1 ("RSA Signature Algorithm") of RFC 3279, and defined in RFC 3447. [RFC3279] [RFC3447]

By whether or not keygen wraps the key and signs it with MD5 is of not much importance, since this is the keyrequest we are speaking of here, not the generated certificate!

To summarise how the keygen is actually used:

  1. The browser creates a public/private key, saves the private key in the secure keychain
  2. and sends the public key in an spkac format in a normal form request to the server ( best of course to do this over https of course )
  3. which on receipt of the certificate request and verification of the data, uses that to create a Client Certificate using any signature algorithm it wants for the creation of the certificate ( And so it SHOULD NOT USE MD5: see CCC talk above )
  4. which it returns using one of the x509 mime types available to it,

Here is an illustration of the flow that we use in the WebID-TLS spec to illustrate this:
Certificate Creation Flow

To see some real code implementing this I point you to my ClientCertificateApp.scala code that receives a certificate Request, and either returns an error or a certificate.
The key parts of the code are extracted below:

def generate = Action { implicit request =>
    certForm.bindFromRequest.fold(
      errors => BadRequest(html.webid.cert.genericCertCreator(errors)),
      certreq => {
        Result(
          //https://developer.mozilla.org/en-US/docs/NSS_Certificate_Download_Specification
          header = ResponseHeader(200, Map("Content-Type" -> "application/x-x509-user-cert")),
          body   = Enumerator(certreq.certificate.getEncoded)
        )
      }
    )
}

CertForm just takes the data from the html form (verifies all fields are ok) and generates a CertReq object. ( or it can also take a CertReq object and generate a form, so that errors can be shown to the user )

val certForm = Form(
  mapping(
    "CN" -> email,
    "webids" -> list(of[Option[URI]]).
      transform[List[URI]](_.flatten,_.map(e=>Some(e))).
      verifying("require at least one WebID", _.size > 0),
    "spkac" -> of(spkacFormatter),
    "years" -> number(min=1,max=20)
  )((CN, webids, pubkey,years) => CertReq(CN,webids,pubkey,tenMinutesAgo,yearsFromNow(years)))
    ((req: CertReq) => Some(req.cn,req.webids,null,2))
)

The spkacFormatter just returns a public key. ( It plays around with testing the challenge, but I am not sure what that is for - would like to know ).

Anyway as I wrote above: if successful the generate method returns an encoded certificate with the right mime type. And as you can see we create a certificate with SHA1withRSA

val sigAlgId = new DefaultSignatureAlgorithmIdentifierFinder().find("SHA1withRSA")
val digAlgId = new DefaultDigestAlgorithmIdentifierFinder().find(sigAlgId)
val rsaParams = CertReq.issuerKey.getPrivate match {
  case k: RSAPrivateCrtKey =>
    new RSAPrivateCrtKeyParameters(
      k.getModulus(), k.getPublicExponent(), k.getPrivateExponent(),
      k.getPrimeP(), k.getPrimeQ(), k.getPrimeExponentP(), k.getPrimeExponentQ(),
      k.getCrtCoefficient());
  case k: RSAPrivateKey =>
    new RSAKeyParameters(true, k.getModulus(), k.getPrivateExponent());
}


val sigGen = new BcRSAContentSignerBuilder(sigAlgId, digAlgId).build(rsaParams);
x509Builder.build(sigGen)

So the MD5 plays no serious role in all this.

This should not be a big surprise. The only thing of value sent to the server is the public key. It sends
back a certificate based on that public key ( and other information it may have on the user ). But the only one to be able to use that certificate is the person owning the private key.

Now my code could presumably be improved in many places I doubt not. But this should show how
<keygen> is actually used. After all remember that <keygen> was added 10 years after it appeared in browsers, and that there was not that much discussion about the documentation when it was added.

Various ideas

(From the spec:)

  • library of resources:
       var library = new ZipFile("data.zip");
       library.onload = function() {
         var sound1 = library.getAudio("sound1.wav"); // returns an Audio object
         var image1 = library.getImage("image1.png"); // returns an HTMLImageElement
         var doc1 = library.getXMLDocument("doc1.xml"); // returns a Document (XML Document mode)
         var doc2 = library.getHTMLDocument("doc1.html"); // returns a Document (HTML Document mode)
       }

or:

       var library = new ResourceLoader("data.zip");
       library.add("moredata.zip");
       library.onload = function() { ... }
       library.onloading = function() {
         reportLoadProgress(library.progress); // 0.0 .. 1.0
       }

or:

       var library = new AudioZip("sounds.zip");
       library.onload = function() {
         var sound1 = library["sound1.wav"];
         sound.play();
       }
  • a fairly common situation for web authors is to have two lists, where the contents of the
    second depends on the value of the first. Is there any way we could extend the current model
    to include this functionality? (e.g. bugzilla product/component ui)
  • quick-searchable select
  • include/exclude selectors (two multi-select columns with arrows to move selected items) and
    that sort of thing. http://slashdot.org/comments.pl?sid=110240&cid=9357022
  • Oh, and forms need a standardised Help widget/icon. I know I can turn my cursor into a
    question mark, but I'm looking for something simple and pervasive. Maybe you can wrap fields
    in a help tag, just as you do for fieldsets. And in that help tag, attributes are available
    that allow for a nice, formatted, clean, full help text popup/area/thing.
    http://slashdot.org/comments.pl?sid=110240&cid=9359006
  • Validating only part of a form. - Anja Lehmann
  • Reminder to add a way to expose access keys in buttons, i.e. Sub&mit where & signifies the m
    is the access key to use. Possibly automatic? <input accesskey="m" value="Submit"> browser
    would be smart enough to underline the first instance of the access key if it exists (case
    insensitive)? - kerz
    [or deprecate the lot (->web apps)]
  • need an attribute that says "the children of this element are in their own tabbing universe,
    tabindex should be relative to each other, not to the document"
    -> web apps?
  • make select widgets have multiple columns
    or ->web apps with list view
  • required as a group (one of the following must be available):
    • i propose something like the following:
          <input type="text" group="contact" name="voicephone"> Voice phone
          <input type="text" group="contact" name="fax"> Fax
          <input type="text" group="contact" name="mobile"> Mobile phone
          <input type="text" group="contact" name="email"> E-mail
    if the user fills out none of the form fields in the "contact" group, an error message is
    shown and the form is not submitted.
    - Peter-Paul Koch
  • formatting of number fields, text fields, etc, so that when the field is not focused, the
    value is displayed differently. Seems like this would also be useful e.g. for or
    something so you can display localised dates, etc.
  • being able to select date range (from day x to day y)
  • ways of visualizing a linefeed in a <textarea> so it looks different from wrapping text
  • all login systems have
    1. enter username and password
    2. create new account
    3. lost password
    some way of integrating this into one system, since it's so common
  • way of identifying different sorts of mailadresses
    a) mailing-list
    b) person
    c) department in a company ("support", "marketing" and such)
    d) general mail (like "info", "mail", "contact" and such)
    e) other sorts of groupings
    (or ->web apps; this is talking about in mailto: links, I think)
  • hotswapping login identities like in windows xp
    you are logged in on operamail.com, and you want to check the mail of another user. somehow,
    combined with the wand or whatever, the browser will remember the login page, and it can
    re-submit it without having to load the initial page (saving time)
  • provide different measuring systems, like having the html indicate fluid in both fluid ounces
    and liters, and the browser can display one or the other based on regional settings in the
    browser or ui, display conversions in a tooltip, or let the user decide which format to
    display.
  • indicate "x days ago" or "y days into the future" rather than date
  • input control for anniversaries
  • only submit fields that have changed, or a way to include in the submission a list of which
    form controls were changed from their default value
  • type="time" value="now"
  • add something to type="number" to support basic currency and unit formatting of input
  • <fieldset enabled-if-checked="myCheckboxOrRadioButton">
    ...to allow sections to only be enabled if a radio button makes it relevant, for instance.
  • Yan Morin proposed a multi-column dropdown <select> or <datalist>:
        _________________
       |_New_York______|V|_________________  <- input  with a table link and a down arrow
       |_City__________|_State_|_Country_|_| <- header of the table
       | Montreal      |  QC   | Canada  |A| <- top arrow of the scroll
       |>New York     <|  NY   | US      | | <- selected row
       | Washington    |  DC   | US      |X| <- cursor scroll
       | San Francisco |  CA   | US      | |
       |_Toronto_______|__ON___|_Canada__|V| <- bottom arrow of the scroll
  • value for unchecked checkbox?
  • A way to specify the default button - Michael Gratton
  • <fieldset readonly>?
  • dolphinling suggests having a way to mark certain parts of a form as being dependent on
    another (mutually exclusive parts of a form)
  • expose the file upload progress when uploading files in a form (ideally using the same
    mechanism as XHR2?); ack Rob Evans

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.