Henri Sivonen
93fd0a00c1
Bug 1322938 - Make the HTML tree builder aware of <dialog>. r=wchen
...
Original patch by :hsivonen
MozReview-Commit-ID: C8UK7m7V9tn
2016-12-22 11:30:41 +02:00
Henri Sivonen
e5ac89f389
Bug 1309195 - Mark strBuf as empty after the contents have been used or ignored. r=wchen.
...
MozReview-Commit-ID: 5KU62o2IMPs
2016-10-19 10:38:20 +03:00
Henri Sivonen
d535d5df8f
Bug 1286911
. r=wchen.
...
MozReview-Commit-ID: hzAu0jKAxt
2016-09-27 13:47:53 +03:00
Henri Sivonen
eea6b5c9c8
Bug 1288084 - Expose a line number for each attribute, v2; r=wchen
2016-09-20 16:31:57 +02:00
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
Henri Sivonen
b3deac953d
Bug 1270381. r=wchen.
2016-05-15 17:03:06 +03:00
Henri Sivonen
7a0b1d45ab
Bug 1246014. r=wchen.
2016-02-10 12:39:06 +02:00
William Chen
fdb6d83b05
Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen
2015-11-30 16:12:59 -08:00
Ted Clancy
675740b45e
Bug 1178484 - Part 2: Regenerate gecko's in-tree parser. r=hsivonen
2015-08-28 03:31:24 -07:00
Henri Sivonen
a00a469bb6
Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
02d517f7ac
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
Henri Sivonen
9cb0eb6ae0
Bug 489820 part 1 - Make charRefBuf non-growable and have the same lifetime as the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
af681819f5
Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
9ac2e0e1a3
Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
William Chen
8e360c243e
Bug 1166910 - Gecko changes for adding referrer attribute. r=hsivonen
...
--HG--
extra : rebase_source : 06fbe7cd7efe8a66e96bcea18c34a417aea6f41d
2015-05-29 16:43:07 -07:00
Michael[tm] Smith
86fb3e80df
Bug 1096172 - Fix position reporting of bad charrefs in RCDATA. r=hsivonen.
2015-04-02 12:48:06 +03:00
Francois Marier
ab3bec2d73
Bug 1100206 - Teach the parser about the integrity attribute. r=hsivonen
2014-12-18 13:59:04 +02:00
William Chen
b55e2cb1a3
Bug 1091425 - Use the correct document when creating nodes in the HTML5 parser. r=hsivonen
2014-11-09 22:50:18 -08:00
Henri Sivonen
c4548f78b5
Bug 886390 part 2 - Disable foreign content breakout in the fragment case. r=wchen.
2014-10-27 11:48:11 +02:00
Henri Sivonen
84b0db5e32
Bug 886390 part 1 - Implement behavior equivalent to the adjusted current node concept by changing the first node on the stack. r=wchen.
2014-10-27 11:48:11 +02:00
Henri Sivonen
b4f7335790
Bug 1066483 - Drop SVG camelCase mappings filterRes, contentStyleType, contentScriptType and externalResourcesRequired. r=wchen.
2014-09-19 18:20:26 +03:00
Yuki Sekiguchi
17994bd47b
Bug 1042885 - Part 1: A rp element should not auto close a rtc element. r=wchen
2014-08-18 22:33:45 -07:00
William Chen
ff0d13434e
Bug 1044118 - Fix inverted check for unclosed children in ruby tag. r=hsivonen
2014-08-04 15:54:20 -07:00
John Schoenick
84dbcec004
Bug 870022 - Part 5.3 - Teach parser about <picture> (non-generated bits). r=hsivonen
2014-06-25 11:47:49 -07:00
John Schoenick
f017e902b1
Bug 870022 - Part 4.2 - Teach parser about sizes attr (non-generated bits). r=hsivonen
2014-06-25 11:47:47 -07:00
Yuki Sekiguchi
839050976b
Bug 664104 - Part 1: Implement new ruby model in HTML parser. r=wchen
2014-06-20 17:08:31 -07:00
Yuki Sekiguchi
eebed2404e
Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen.
2014-06-12 13:37:49 +09:00
Carsten "Tomcat" Book
90f74aea8e
Backed out changeset 8c5b73e6b782 (bug 1024447) for bustage on a CLOSED TREE
2014-06-18 12:43:41 +02:00
Yuki Sekiguchi
ab4716832e
Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen.
2014-06-12 13:37:49 +09:00
John Schoenick
fb32dbe7cf
Bug 870021 - Part 1.1 - Teach parser about srcset (needs generation). r=hsivonen
2014-05-30 13:03:03 -07:00
William Chen
507c29aa81
Bug 1005580
- Fix "after after frameset" insertion mode in HTML parser for handling characters. r=hsivonen
2014-05-06 13:29:31 -07:00
William Chen
c21aececdb
Bug 982285 - Update active formatting element list indices in HTML parser adoption agency algorithm. r=hsivonen
2014-03-17 17:34:47 -07:00
Henri Sivonen
4d398a8a1d
Bug 981279 - Clear the attribute holder after parsing innerHTML. r=smaug
2014-03-10 11:14:16 +02:00
William Chen
c1faf91a37
Bug 884795 - HTML parser AAA algorithm should only pop when the current node is not in the list of active formatting elements. r=hsivonen
2014-03-07 15:48:19 -08:00
Henri Sivonen
d4b6f7d8d5
Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
2fc6c1b93a
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Ryan VanderMeulen
6626f074d4
Backed out 8 changesets (bug 959150) for Linux debug build bustage on a CLOSED TREE.
...
Backed out changeset 30bdc9b15e8e (bug 959150)
Backed out changeset 630e489aed30 (bug 959150)
Backed out changeset c6874004efe7 (bug 959150)
Backed out changeset ebc67518a962 (bug 959150)
Backed out changeset 14441e528582 (bug 959150)
Backed out changeset 8d0ae8bffb08 (bug 959150)
Backed out changeset 603b63c33e9a (bug 959150)
Backed out changeset 261e2d244c54 (bug 959150)
2014-03-05 15:26:07 -05:00
Henri Sivonen
8f780b5264
Bug 959150 part 5 - Avoid reallocating the attribute holder when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Henri Sivonen
0ad400f8e1
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
William Chen
5ec008c7f8
Bug 901319 - Implement HTML spec change to Adoption Agency Algorithm to not reverse the order of nodes in the document, by removing nodes that we're not recreating from the stack of open elements. r=hsivonen
2014-03-04 18:06:15 -08:00
Robert Longson
4e781fb5c6
Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
2014-02-05 15:04:08 +00:00
William Chen
81d44a0834
Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen
2014-01-31 15:03:24 -08:00
William Chen
e62e59c8c4
Bug 937003 - Use correct adjusted insertion location for foster parenting in template element. r=hsivonen
2013-11-10 22:45:43 -08:00
William Chen
eb685833fd
Bug 797009 - Remove bad assertion in HTML parser. r=hsivonen
2013-11-13 15:53:12 -08:00
William Chen
7f2609364a
Bug 937259 - Remove <command> element from the parser. r=hsivonen
2013-11-13 15:17:13 -08:00
William Chen
90c165239e
Bug 822776 - Update "after after frameset" insertion mode. r=hsivonen
2013-11-13 14:57:07 -08:00
William Chen
becdcebbbb
Bug 932086 - Hoist <template> to head when found between </head> and <body>. r=hsivonen
2013-11-04 17:19:22 -08:00
William Chen
3228d563fa
Bug 925907 - Check for IN_SELECT_IN_TABLE in "reset the insertion mode" in HTML5 parser. r=hsivonen
2013-10-17 13:26:49 -07:00
Michael[tm] Smith
7bf5ea133f
Bug 910588 - log a parse error for <table><input></table>. r=hsivonen.
2013-09-17 15:47:32 +03:00
William Chen
80b0d4c299
Bug 900724 - Prevent form association when creating elements in template contents. r=hsivonen
2013-08-13 14:31:18 -07:00