gecko-dev/parser/html/javasrc
Boris Zbarsky 49a90cb122 Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov
The web platform tests changes are just a cherrypick of
https://github.com/w3c/web-platform-tests/pull/2926 so I don't have to add
failure annotations until the next test uplift.

I've audited our uses of nsIFormControl, and this patch looks to me like it
preserves existing behavior in all but the following cases:

1)  nsXBLPrototypeHandler::DispatchXBLCommand, the case of scrolling when space
is pressed while something inside a <label> is focused.  We used to not scroll
in this situation; I think this is a bug, so I'm changing that behavior to
scroll instead.

2)  In Accessible::RelationByType for the RelationType::DEFAULT_BUTTON case,
when mContent is a <label> we used to return its form's default submit element.
Now we will just return Relation().
2016-05-26 19:39:03 -04:00
..
AttributeName.java Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen 2015-11-30 16:12:59 -08:00
ElementName.java Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov 2016-05-26 19:39:03 -04:00
HtmlAttributes.java
MetaScanner.java Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
Portability.java Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
README.txt
StackNode.java
StateSnapshot.java
Tokenizer.java Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
TreeBuilder.java Bug 1268852. Change <label> elements to not be form-associated anymore. r=bkelly,hsivonen,surkov 2016-05-26 19:39:03 -04:00
UTF16Buffer.java Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00

The .java files in this directory were placed here by the Java-to-C++
translator that lives in parser/html/java/translator.  Together they represent
a snapshot of the Java code that was translated to produce the corresponding
.h and .cpp files in the parent directory.  Changing these .java files is not
worthwhile, as they will just be overwritten by the next translation.  See
parser/html/java/README.txt for information about performing the translation.