gecko-dev/parser/html
Edgar Chen 3f791b5050 Bug 1556352 - Part 1: Do not set form owner from parser for form-associated custom element; r=smaug
See steps 14 of https://html.spec.whatwg.org/commit-snapshots/3ad5159be8f27e110a70cefadcb50fc45ec21b05/#create-an-element-for-the-token

From spec perspective, FACE needs this in order to enqueue the formAssociated callback
while FACE is inserted into document. Otherwise it would bail out in
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#association-of-controls-and-forms:parser-inserted-flag,
and wouldn't run https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#reset-the-form-owner
steps nor https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions:reset-the-form-owner

From implementation perspective, we don't implement parser inserted flag, but we do
update the form owner from parser. Not doing this would make the subsequent part
which implements formAssociated callback a bit simpler, where we don't need to consider
or handle the case that form owner is set from parser.

Differential Revision: https://phabricator.services.mozilla.com/D129646
2021-10-28 10:29:37 +00:00
..
java Bug 1670357 - Remove `make` targets for cleaning: `clean`, `realclean`, `clobber`, `distclean`, `clobber_all`, `everything` r=firefox-build-system-reviewers,mhentges 2020-10-15 20:37:18 +00:00
javasrc Bug 1724243 - Make text/plain and MediaDocuments use the Standards Mode. r=smaug,emilio 2021-10-01 12:55:28 +00:00
jArray.h
moz.build Backed out 4 changesets (bug 1688452) for assertion and bc failures on browser_translation_bing.js. 2021-09-29 20:13:33 +03:00
nsAHtml5TreeBuilderState.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
nsAHtml5TreeOpSink.h Bug 1679522 - Fix include directives and forward declarations. r=andi,necko-reviewers,jgilbert 2021-03-25 10:19:44 +00:00
nsHtml5ArrayCopy.h
nsHtml5AtomTable.cpp Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj 2020-06-23 05:05:36 +00:00
nsHtml5AtomTable.h
nsHtml5AttributeEntry.h
nsHtml5AttributeName.cpp Bug 1425291 - Part 2. Add autocapitalize attribute to htmlparser. r=hsivonen 2020-09-15 14:26:14 +00:00
nsHtml5AttributeName.h Bug 1425291 - Part 2. Add autocapitalize attribute to htmlparser. r=hsivonen 2020-09-15 14:26:14 +00:00
nsHtml5AutoPauseUpdate.h
nsHtml5ByteReadable.h
nsHtml5ContentCreatorFunction.h
nsHtml5DependentUTF16Buffer.cpp
nsHtml5DependentUTF16Buffer.h
nsHtml5DocumentBuilder.cpp Bug 1639392 - Merge nsIStyleSheetLinkingElement and nsStyleLinkElement, and call it LinkStyle. r=jwatt 2020-05-21 03:07:16 +00:00
nsHtml5DocumentBuilder.h Bug 1673931 - Avoid including Document.h from header files. r=emilio 2020-11-23 16:07:43 +00:00
nsHtml5DocumentMode.h
nsHtml5ElementName.cpp
nsHtml5ElementName.h
nsHtml5Highlighter.cpp Bug 1726374 - Correctly highlight <!-- a <!-->b in View Source. r=smaug 2021-08-20 09:03:33 +00:00
nsHtml5Highlighter.h
nsHtml5HtmlAttributes.cpp
nsHtml5HtmlAttributes.h
nsHtml5Macros.h
nsHtml5MetaScanner.cpp Bug 786797 - Check for integer overflow when computing new buffer sizes. r=smaug 2021-01-21 17:02:58 +00:00
nsHtml5MetaScanner.h Bug 1724920 - Sort headers in the generated parts of the HTML parser. r=smaug 2021-08-11 08:08:52 +00:00
nsHtml5MetaScannerCppSupplement.h
nsHtml5MetaScannerHSupplement.h
nsHtml5Module.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan 2019-12-06 09:17:57 +00:00
nsHtml5Module.h
nsHtml5NamedCharacters.cpp
nsHtml5NamedCharacters.h
nsHtml5NamedCharactersAccel.cpp
nsHtml5NamedCharactersAccel.h
nsHtml5NamedCharactersInclude.h
nsHtml5OplessBuilder.cpp Bug 1600545 - add back some includes needed to un-bust comm-central. r=sylvestre 2019-12-07 10:26:56 +00:00
nsHtml5OplessBuilder.h
nsHtml5OwningUTF16Buffer.cpp Bug 1653335 - Remove uses of MakeSpan in return statements. r=froydnj 2020-08-07 07:42:50 +00:00
nsHtml5OwningUTF16Buffer.h Bug 1607762 - Make the refcount of nsHtml5OwningUTF16Buffer atomic. r=mccr8 2020-10-14 15:29:44 +00:00
nsHtml5Parser.cpp Bug 1716290 - Remove protections against the document changing as part of kCharsetFromFinalUserForcedAutoDetection reload. r=emk,emilio 2021-08-26 18:02:15 +00:00
nsHtml5Parser.h Bug 1716290 - Remove protections against the document changing as part of kCharsetFromFinalUserForcedAutoDetection reload. r=emk,emilio 2021-08-26 18:02:15 +00:00
nsHtml5PlainTextUtils.cpp
nsHtml5PlainTextUtils.h
nsHtml5Portability.cpp Bug 786797 - Check for integer overflow when computing new buffer sizes. r=smaug 2021-01-21 17:02:58 +00:00
nsHtml5Portability.h Bug 786797 - Check for integer overflow when computing new buffer sizes. r=smaug 2021-01-21 17:02:58 +00:00
nsHtml5SVGLoadDispatcher.cpp
nsHtml5SVGLoadDispatcher.h
nsHtml5Speculation.cpp
nsHtml5Speculation.h Bug 1618643 - Remove nsAutoPtr usage from parser. r=hsivonen 2020-02-28 20:49:06 +00:00
nsHtml5SpeculativeLoad.cpp Bug 1713489 - Record telemetry for how long we spend waiting on the main thread to process image preload network steps. r=bas,dragana,necko-reviewers 2021-05-31 22:44:18 +00:00
nsHtml5SpeculativeLoad.h Bug 1713489 - Record telemetry for how long we spend waiting on the main thread to process image preload network steps. r=bas,dragana,necko-reviewers 2021-05-31 22:44:18 +00:00
nsHtml5StackNode.cpp
nsHtml5StackNode.h Bug 1724920 - Sort headers in the generated parts of the HTML parser. r=smaug 2021-08-11 08:08:52 +00:00
nsHtml5StateSnapshot.cpp
nsHtml5StateSnapshot.h
nsHtml5StreamListener.cpp Bug 1724101 - Protect nsHtml5StreamListener::mDelegate with a monitor. r=smaug 2021-08-13 12:13:48 +00:00
nsHtml5StreamListener.h Bug 1724101 - Protect nsHtml5StreamListener::mDelegate with a monitor. r=smaug 2021-08-13 12:13:48 +00:00
nsHtml5StreamParser.cpp Bug 1735161 - Update MDN URL in speculation failure message. r=smaug DONTBUILD 2021-10-12 06:49:15 +00:00
nsHtml5StreamParser.h Bug 1727491 - Remove support for BOMless unlabeled Latin1 Supplement-range UTF-16LE|BE. r=emk 2021-09-01 09:13:29 +00:00
nsHtml5StreamParserPtr.h Bug 1724101 - Protect nsHtml5StreamListener::mDelegate with a monitor. r=smaug 2021-08-13 12:13:48 +00:00
nsHtml5StreamParserReleaser.h Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-08-23 09:30:23 +00:00
nsHtml5String.cpp Bug 1653335 - Replace MakeSpan uses by constructor calls. r=froydnj 2020-08-07 07:49:47 +00:00
nsHtml5String.h Bug 1604307 - Avoid passing nullptr to memcmp and memcpy even with 0 length. r=alchen 2019-12-19 13:38:05 +00:00
nsHtml5StringParser.cpp Bug 1618643 - Remove nsAutoPtr usage from parser. r=hsivonen 2020-02-28 20:49:06 +00:00
nsHtml5StringParser.h Bug 1618643 - Remove nsAutoPtr usage from parser. r=hsivonen 2020-02-28 20:49:06 +00:00
nsHtml5Tokenizer.cpp Bug 1153920 - Conform ampersand error reporting to HTML spec. r=smaug 2021-09-02 11:13:37 +00:00
nsHtml5Tokenizer.h Bug 1725946 - Conform tokenizer-only U+0000 NUL handling to spec r=smaug 2021-08-17 10:09:10 +00:00
nsHtml5TokenizerCppSupplement.h Bug 1319410 - Make consecutive hyphens in comments a non-error r=smaug 2021-08-16 05:01:09 +00:00
nsHtml5TokenizerHSupplement.h Bug 1319410 - Make consecutive hyphens in comments a non-error r=smaug 2021-08-16 05:01:09 +00:00
nsHtml5TokenizerLoopPolicies.h
nsHtml5TreeBuilder.cpp Bug 1724243 - Make text/plain and MediaDocuments use the Standards Mode. r=smaug,emilio 2021-10-01 12:55:28 +00:00
nsHtml5TreeBuilder.h Bug 1724243 - Make text/plain and MediaDocuments use the Standards Mode. r=smaug,emilio 2021-10-01 12:55:28 +00:00
nsHtml5TreeBuilderCppSupplement.h Bug 1724243 - Make text/plain and MediaDocuments use the Standards Mode. r=smaug,emilio 2021-10-01 12:55:28 +00:00
nsHtml5TreeBuilderHSupplement.h Bug 1650066 preparation - Add errListUnclosedStartTags for HTML tree builder error reporting. r=smaug 2021-08-16 05:16:58 +00:00
nsHtml5TreeOpExecutor.cpp Bug 1718184 - pt 1. IdleTaskRunner now uses TimeDuration r=nika 2021-07-13 01:42:32 +00:00
nsHtml5TreeOpExecutor.h Bug 1713489 - Record telemetry for how long we spend waiting on the main thread to process image preload network steps. r=bas,dragana,necko-reviewers 2021-05-31 22:44:18 +00:00
nsHtml5TreeOpStage.cpp
nsHtml5TreeOpStage.h
nsHtml5TreeOperation.cpp Bug 1556352 - Part 1: Do not set form owner from parser for form-associated custom element; r=smaug 2021-10-28 10:29:37 +00:00
nsHtml5TreeOperation.h Bug 1489437 - Part 1: Make HTML parser distinguish network, document.write and fragments in append operation; r=smaug,hsivonen 2021-01-06 09:29:41 +00:00
nsHtml5UTF16Buffer.cpp
nsHtml5UTF16Buffer.h
nsHtml5UTF16BufferCppSupplement.h
nsHtml5UTF16BufferHSupplement.h
nsHtml5ViewSourceUtils.cpp Bug 737785 - Un-prefix -moz-tab-size (keeping the prefixed version as an alias for now). r=layout-reviewers,dholbert 2021-06-10 09:19:24 +00:00
nsHtml5ViewSourceUtils.h
nsIContentHandle.h
nsIParserUtils.idl
nsParserUtils.cpp Bug 1666300 part 2 - Parse into an inert document. r=smaug 2020-10-23 12:48:52 +00:00
nsParserUtils.h