Henri Sivonen
89dc7f5ddb
Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements (ones with hyphen). r=wchen
...
MozReview-Commit-ID: 4xQlhExyo7d
2017-04-12 14:28:49 +03:00
Henri Sivonen
6274301b73
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen
...
MozReview-Commit-ID: 4In5wo0flOB
2017-04-12 13:21:03 +03:00
Henri Sivonen
d333738e61
Bug 1355493 - Tweak bufToHash() and reduce the number of pre-interned elements. r=wchen.
...
MozReview-Commit-ID: 1fiqOuGUOBG
2017-04-11 17:43:54 +03:00
Henri Sivonen
61d189d87f
Bug 1352082 - Avoid shifting a signed integer left in C++. r=wchen
...
MozReview-Commit-ID: 52YqyHAz2c3
2017-04-07 13:26:31 +03:00
Henri Sivonen
751a46a740
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
f5eeedfb21
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
4eb7f7145d
Bug 1286911. r=wchen.
...
MozReview-Commit-ID: hzAu0jKAxt
2016-09-27 13:47:53 +03:00
Henri Sivonen
a6fb532484
Bug 1288084 - Expose a line number for each attribute, v2; r=wchen
2016-09-20 16:31:57 +02:00
Boris Zbarsky
e7fcf1b1a1
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
b0045c2ea7
Bug 1270381. r=wchen.
2016-05-15 17:03:06 +03:00
Henri Sivonen
56eb89ec13
Bug 1246014. r=wchen.
2016-02-10 12:39:06 +02:00
William Chen
86e5b1462a
Bug 1187357 - Generated code for renaming referrer to referrerpolicy in html parser. r=hsivonen
2015-11-30 16:12:59 -08:00
Ted Clancy
222414e252
Bug 1178484 - Part 2: Regenerate gecko's in-tree parser. r=hsivonen
2015-08-28 03:31:24 -07:00
Henri Sivonen
4d0b61f3f6
Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen.
2015-08-25 18:05:46 +03:00
Henri Sivonen
bee2d42d10
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
ee6c94fc31
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
c8c7896633
Bug 1176668 - Fix overflow avoidance in numeric character reference handling. r=wchen.
2015-08-25 18:05:45 +03:00
Henri Sivonen
d1bb36905e
Bug 559303 - Consolidate strBuf and longStrBuf in the tokenizer. r=wchen.
2015-08-25 18:05:45 +03:00
William Chen
2853a60f77
Bug 1166910 - Gecko changes for adding referrer attribute. r=hsivonen
2015-05-29 16:43:07 -07:00
Michael[tm] Smith
f9d39da746
Bug 1096172 - Fix position reporting of bad charrefs in RCDATA. r=hsivonen.
2015-04-02 12:48:06 +03:00
Francois Marier
bdd7fd6ac9
Bug 1100206 - Teach the parser about the integrity attribute. r=hsivonen
2014-12-18 13:59:04 +02:00
William Chen
fdf3148d35
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
0542ad24ae
Bug 886390 part 2 - Disable foreign content breakout in the fragment case. r=wchen.
2014-10-27 11:48:11 +02:00
Henri Sivonen
142069e90f
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
ddef8e6d2d
Bug 1066483 - Drop SVG camelCase mappings filterRes, contentStyleType, contentScriptType and externalResourcesRequired. r=wchen.
2014-09-19 18:20:26 +03:00
Yuki Sekiguchi
4700627e63
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
0e896528b6
Bug 1044118 - Fix inverted check for unclosed children in ruby tag. r=hsivonen
2014-08-04 15:54:20 -07:00
John Schoenick
62330b16da
Bug 870022 - Part 5.3 - Teach parser about <picture> (non-generated bits). r=hsivonen
2014-06-25 11:47:49 -07:00
John Schoenick
08acf53109
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
510ac08043
Bug 664104 - Part 1: Implement new ruby model in HTML parser. r=wchen
2014-06-20 17:08:31 -07:00
Yuki Sekiguchi
9add425d60
Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen.
2014-06-12 13:37:49 +09:00
Carsten "Tomcat" Book
cc464a7353
Backed out changeset 8c5b73e6b782 (bug 1024447) for bustage on a CLOSED TREE
2014-06-18 12:43:41 +02:00
Yuki Sekiguchi
44e726274c
Bug 1024447 - Part 6: Retranslated html parser. r=hsivonen.
2014-06-12 13:37:49 +09:00
John Schoenick
e1e7c9b71b
Bug 870021 - Part 1.1 - Teach parser about srcset (needs generation). r=hsivonen
2014-05-30 13:03:03 -07:00
William Chen
19e05afc59
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
9230accbba
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
a078e918b1
Bug 981279 - Clear the attribute holder after parsing innerHTML. r=smaug
2014-03-10 11:14:16 +02:00
William Chen
8131e2f748
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
775e097398
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
d07d56d994
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
Ryan VanderMeulen
35226d8b0a
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
5cc7ddc8b5
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
ce22b77692
Bug 959150 part 4 - Avoid using tree ops when parsing with nsHtml5StringParser. r=smaug.
2014-03-05 21:38:50 +02:00
William Chen
9be0c44303
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
62850bea68
Bug 964200 (Part 2) - Add HTML parser support for SVG <feDropShadow>. r=wchen
2014-02-05 15:04:08 +00:00
William Chen
f7f37cd6aa
Bug 946585 - Change how the form element pointer affects parsing template elements. r=hsivonen
2014-01-31 15:03:24 -08:00
William Chen
704ece6c43
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
d224ae879c
Bug 797009 - Remove bad assertion in HTML parser. r=hsivonen
2013-11-13 15:53:12 -08:00
William Chen
b0e6b247fb
Bug 937259 - Remove <command> element from the parser. r=hsivonen
2013-11-13 15:17:13 -08:00
William Chen
3d9072c78d
Bug 822776 - Update "after after frameset" insertion mode. r=hsivonen
2013-11-13 14:57:07 -08:00