William Chen
c9f09c2e70
Bug 897153 - Update parsing of template element to spec as of July 15, 2013. r=hsivonen
2013-08-12 14:46:12 -07:00
William Chen
d75dff8c99
Bug 897143 - Update parser algorithms to be namespace aware. r=hsivonen
2013-08-12 14:46:12 -07:00
William Chen
8434baa572
Bug 888820 - Save template insertion mode stack information in TreeBuilderState. r=hsivonen
2013-08-12 14:46:12 -07:00
James Kitchener
a1621fa975
Bug 802895 - Parser changes to support srcdoc attributes for iframes, r=hsivonen
2013-06-28 23:13:23 -04:00
Henri Sivonen
58fa997e45
Bug 870787 HTML parser part - Make <img> a form-associated element in the HTML parser. r=smaug
2013-06-06 11:02:30 +03:00
William Chen
a74ccbd5e9
Bug 818976 - Part 3: Generated code for HTML5 parser. r=hsivonen
2013-03-26 00:15:23 -07:00
Henri Sivonen
c9f1a357dc
Bug 820508 part 1 - Parser support for <main>. r=smaug.
2013-01-29 14:31:45 +02:00
Henri Sivonen
03635e8e8a
Bug 808464 - Refresh the "special" list in the HTML parser and the check for that list in the <dd> case. r=smaug.
2012-11-12 16:41:17 +02:00
Henri Sivonen
4ee2568e9c
Bug 809956 - Deal with an odd number of ] characters before ]]> in a CDATA section in the HTML parser. r=smaug.
2012-11-12 15:42:23 +02:00
Henri Sivonen
3c818a1876
Bug 809403 - Sync Gecko C++ version of the HTML parser with changes made for Rust. rs=smaug.
2012-11-09 11:04:28 +02:00
Henri Sivonen
ee3abb4e83
Bug 503190 - Include assertions in the C++ translator output. r=smaug.
2012-10-01 11:52:32 +03:00
Henri Sivonen
b70e7be378
Bug 792790 - Introduce NoBoundsCheck variants of accessors on nsHtml5HtmlAttributes; Make operator= in jArray nullptr-aware. r=smaug.
2012-10-01 11:49:01 +03:00
Henri Sivonen
1afc6bf0fd
Bug 765381 - Make the destructors on nsHtml5ElementName and nsHtml5AttributeName virtual to avoid warnings in clang. r=ehsan
...
--HG--
extra : rebase_source : 3c2558dfa8ef5389b2acd97f419d2276d4269a8d
2012-07-13 15:04:11 +03:00
David Zbarsky
efca466fbb
Bug 772758 - Clean up some build warnings in html5 parser r=hsivonen
2012-07-13 11:55:21 -07:00
Henri Sivonen
fb2d5617ca
Bug 711049 - Adjust MathML text integration point treatment to comply with spec changes. rs=smaug.
2012-01-02 16:18:29 +02:00
Henri Sivonen
f1af9bc322
Bug 711052 - Make <rp> and <rt> handling match spec edits. r=smaug.
2012-01-02 16:18:29 +02:00
Henri Sivonen
183f3cd3e5
Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug.
2011-11-30 15:11:37 +02:00
Henri Sivonen
030d0bffb8
Bug 704034 - Replace old pre-interned looping attributes with a single loop attribute in the HTML parser. rs=smaug.
2011-11-22 10:29:14 +02:00
Henri Sivonen
4a39f3f562
Bug 704058 - Sync HTML parser .java sources in m-c with the htmlparser repo. rs=smaug. DONTBUILD
2011-11-21 16:12:15 +02:00
Henri Sivonen
c718393931
Bug 482921 part 14 - Address review comments. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
424d5d89ce
Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
2de2833898
Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
8fd5e88e4a
Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay.
2011-11-01 13:33:11 +02:00
Henri Sivonen
267803686e
Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay.
2010-07-30 13:15:38 +03:00
Henri Sivonen
ded8517389
Bug 657389 - nsHtml5MetaScanner should use PR_INT32_MAX instead of -1 as a special marker value for indeces. r=jonas.
2011-09-07 12:50:15 +03:00
Boris Zbarsky
8983ada153
Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen
2011-07-29 14:30:00 -04:00
Boris Zbarsky
1242922ac9
Back out changeset f5aecf9010ef (bug 672014) due to build bustage.
2011-07-29 15:29:01 -04:00
Boris Zbarsky
23f2cddc95
Bug 672014. Pass the crossorigin attribute through to image preloading code. r=joe,hsivonen
2011-07-29 14:30:00 -04:00
Henri Sivonen
5d947243ad
Bug 643410 - Reconstruct active formatting elements on text in an HTML integration point; handle U+0000 per spec in a MathML text integration point. r=jonas.
2011-04-08 09:07:28 +03:00
Henri Sivonen
2b19692c02
Bug 643395 - Update the HTML parser Java code to the state in the htmlparser repo (NPOTB). rs=jonas.
2011-04-08 09:07:27 +03:00
Mats Palmgren
d18d8f587b
Bug 635085 - Reconstruct any active formatting elements after auto closing a <nobr> in a nested <nobr> situation, per HTML spec. r=hsivonen approval2.0=shaver
2011-02-22 00:06:27 +01:00
Michael(tm) Smith
d73d2ea19d
Bug 620664 - Add support for the track element to the HTML5 parser. r=hsivonen, a=jst.
2011-01-12 10:05:09 +02:00
Neil Rashbrook
b22f4f1a18
Bug 620267 Certain LFs following a <pre> or <textarea> get erroneously stripped r=hsivonen a=bz
2011-01-05 23:49:55 +00:00
Henri Sivonen
85589a6dab
Bug 614241 - Make a late <body> start tag set frameset-ok to "not ok". rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
69594f3f8f
Bug 612528 - Make <option> and <optgroup> imply </option> in the "in body" insertion mode only if the current node is "option". rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
854b09ec25
Bug 612527 - Implement spec tweaks to U+0000 handling in the HTML5 parser. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
4fb9916a52
Bug 606925 - Get rid of the "in foreign content" insertion mode. Check the namespace of the current node instead. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
e6fbe390cb
Bug 612529 part 3 - Make <annotation-xml> an HTML integration point depending on the encoding attribute. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
84881910ae
Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:58 +02:00
Henri Sivonen
3183b3a320
Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN.
2010-12-09 11:27:57 +02:00
Henri Sivonen
f6fa927986
Bug 594730 - Make the content attribute in <meta> act as an encoding declaration only if http-equiv="Content-Type" is present. rs=jonas, a=blocking2.0-betaN.
2010-12-08 14:37:19 +02:00
Henri Sivonen
be4cdc6c1a
Bug 610345 - Add MathML named characters that expand to two code points to the HTML5 parser. rs=jonas, a=blocking2.0-betaN.
2010-11-23 13:49:27 +02:00
Henri Sivonen
4531f71b9a
Bug 607573 - Make <input type=hidden> not set frameset-ok to "not ok". r=jonas, a=blocking2.0-betaN.
2010-11-18 10:19:59 +02:00
Henri Sivonen
e00c8d1067
Bug 605466 - Implement new spec-based limits for formatting element proliferation in the HTML5 parsing algorithm. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : b8d9c7fb5c4ef094af89ed9c29d49bd38d8fcca1
2010-10-15 12:23:42 +03:00
Henri Sivonen
e801a7e1ba
Bug 596169 - Make <summary> and <figcaption> behave per spec. Remove <datagrid>. rs=jonas, a=blocking2.0-betaN.
2010-10-07 10:27:16 +03:00
Henri Sivonen
ad46c1b368
Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange.
2010-11-10 12:03:48 +02:00
Henri Sivonen
85432fd75b
Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst.
...
--HG--
extra : rebase_source : d201cbad639f7ce87caa04f4260d1a9f3b3da867
2010-09-28 10:32:31 +03:00
Henri Sivonen
8648330452
Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst.
...
--HG--
extra : rebase_source : c9dbde959b76c019df87b83c551dd97e3ad7d311
2010-09-28 10:32:31 +03:00
Henri Sivonen
05b0e57696
Bug 570309 - Remove the dead code for the "comment end space" state. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 179fc95e1ed00bc85ea6245ece49ec3944507d62
2010-10-25 12:22:59 +03:00
Henri Sivonen
ec0c87ef77
Bug 482921 part 0 - Make preparations for enabling transition reporting in the HTML5 tokenizer. rs=jonas, a=jst.
...
--HG--
extra : rebase_source : 2e5ae5e2a6498d7b956d8e39d1ed3c6c09dce7fa
2010-09-28 10:32:31 +03:00
Henri Sivonen
541bd617e0
Bug 596168 - Make non-space characters in the "in foreign content" insertion mode set frameset-ok to not OK. rs=jonas, a=jst.
...
--HG--
extra : rebase_source : e87024a6536be71b1670cb834e4d675523bb8c93
2010-09-15 11:37:55 +03:00
Henri Sivonen
d9758ac3ac
Bug 601604 - Emit ]] or ] when ]]EOF or ]EOF appears in a CDATA section in text/html. rs=jonas, a=jst.
...
--HG--
extra : rebase_source : 8f83d4a619ff8893976db75f63b9ed81e4292e2f
2010-10-07 10:27:16 +03:00
Henri Sivonen
f8f7ce8b0d
Bug 596180 - Limit the number of iterations in the adoption agency algorithm. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 3fd176ad6b1bddee3c11b9f9002e21c64a5c1927
2010-09-15 11:37:55 +03:00
Henri Sivonen
86e071c125
Bug 595844 - Check the namespace of the current element on the tree builder stack when deciding whether to support CDATA sections in text/html. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
571c7e6f20
Bug 595797 - Add the attributes of an <html> start tag to the root element if the <html> tag is seen after a frameset. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
532db120d1
Bug 595643 - Make space characters reconstruct active formatting elements when frameset-ok is OK. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
212a2f8dfc
Bug 580091 - Make the HTML5 parser reconstruct formatting elements properly when text inside table gets foster-parented. rs=jonas, a=blocking2.0-betaN.
2010-09-15 11:37:55 +03:00
Henri Sivonen
f85eba095c
Bug 590498 - Change popping condition when forcibly breaking out of foreign content in HTML5 parser. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 4b673ba39fd24d120347b9752ba04a4904f764cd
2010-09-15 11:37:55 +03:00
Henri Sivonen
d287487de3
Bug 590495 - Check for foreign elements in scope after processing a foreign end tag without forwarding to the secondary insertion mode. rs=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : b23a9ecbbfe38dfb3878de447e61a23ab9594c9f
2010-09-09 10:30:07 +03:00
Henri Sivonen
a5d88062d8
Bug 569528 - Make <p> not close implicitly across a <button> on stack. rs=jonas, a=blocking2.0-final.
...
--HG--
extra : rebase_source : cb0b77f12787278883c3c1ef8d3d0906c86a327a
2010-09-08 19:31:22 +03:00
Henri Sivonen
88a9ce7929
Bug 531056 - Make the HTML5 parser unaware of <spacer>. r=jonas, a=jst.
...
--HG--
extra : rebase_source : 97ef3b60edcd87e3a8ebe4fbb0ee9de75d7ab5c9
2010-09-15 11:37:55 +03:00
Henri Sivonen
f7dfbc2e7b
Bug 591330 - Make deep nesting prevention code in the HTML5 parser not crash when there are speculations involved. r=jonas, a=blocking2.0-betaN.
...
--HG--
extra : rebase_source : 58f604deb70298bcf6103f7857889990d8d9708d
2010-09-06 10:41:26 +03:00
Henri Sivonen
f4927c17c9
Bug 581944 - Reorder the tokenizer states in the HTML5 tokenizer. rs=sicking.
2010-07-26 16:13:51 +03:00
Henri Sivonen
b27e3148a5
Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
...
Bug 579867 - Make foreign content end tag handling not loop back after processing the token in the secondary insertion mode. SVG part of reftest by longsonr. rs=sicking, a=blocking2.0-betaN.
2010-07-21 16:10:58 +03:00
Henri Sivonen
79f1ec0ad2
Bug 570309 - Experimentally make -- > not terminate a comment in HTML. r=jonas.
2010-06-19 09:38:41 +03:00
Henri Sivonen
3abf2243f2
Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin.
...
--HG--
extra : rebase_source : 40c885f07cf1f89f5503e0a25b369e5fdb63f719
2010-06-24 11:54:33 +03:00
Henri Sivonen
788d95420b
Bug 563526 - Ignore U+0000 in element content when the tree builder is not in the "text" mode or the "in foreign" mode. r=jonas.
...
--HG--
extra : rebase_source : 97a67dc820c9b8ae1265b0c2c7e39c69f1733cee
2010-06-09 09:45:32 +03:00
Henri Sivonen
00f26a48f7
Bug 571389 - Make <basefont> and <bgsound> parse like <link>. r=jonas.
...
--HG--
extra : rebase_source : 3b43f8786744e4164adbc2658f8c30f76a8a9f80
2010-06-11 18:08:13 +03:00
Henri Sivonen
6af0b03ee6
Bug 570898 - Defer isindex prompt reading until after startup. r=jonas.
2010-06-11 18:08:13 +03:00
Henri Sivonen
99037edab1
Bug 563514 - Avoid leaking or misplacing attributes on stray <html> and <body> tokens in the innerHTML case. r=jonas.
...
--HG--
extra : rebase_source : 174666b3ec6c0a7e6251fe34b6bf23c499ad3575
2010-06-09 09:44:25 +03:00
Henri Sivonen
f0a647d566
Bug 568800 - Make &foo= not expand in an attribute value. r=sicking.
...
--HG--
extra : rebase_source : ae54f51fba1896ac1545b003edf379c21e609d47
2010-06-02 14:01:57 +03:00
Henri Sivonen
7c5611b8ca
Bug 566280 - Text run prefixed by U+0000 shows only U+FFFD. r=sicking.
...
--HG--
extra : rebase_source : 86afd6adeba2231c526857a19e27e291296f60d1
2010-05-27 16:08:19 +03:00
Henri Sivonen
4f4d4564b1
Bug 561874 - Make the HTML5 parser clip deep trees (similar to the old HTML parser) to avoid crashes in recursive code elsewhere. r=bzbarsky
2010-05-20 12:03:11 +03:00
Henri Sivonen
b2ef994efd
Bug 568611 - Remove an unused variable from nsHtml5TreeBuilder. r=dholbert.
2010-05-31 14:46:46 +03:00
Henri Sivonen
e99835531d
Bug 552908 - Implement spec changes to SVG </a> and </font> handling in text/html. rs=sicking.
...
--HG--
extra : rebase_source : fff4bffd4abb06c3ecd93c3bae126ac96aad71f2
2010-05-27 09:27:27 +03:00
Olli Pettay
4176cb686d
Bug 562013 - parse innerHTML directly to the destination node, p=smaug+hsivonen, r=sicking
2010-05-04 11:36:42 +03:00
Henri Sivonen
3f683051fc
Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas.
...
--HG--
extra : rebase_source : b89e63cce5869fc0518eacc1102f0d1b4b12d356
2010-04-19 16:25:13 +03:00
Henri Sivonen
5f8c48051f
Bug 551344 part 5 - Address more sicking's review comments in the Java parts of the HTML5 parser. r=jonas.
2010-04-16 13:52:06 +03:00
Henri Sivonen
b35a238d49
Bug 551344 part 3 supplement - Rename the getter for the length of list of active formatting elements in the HTML5 parser. r=jonas.
2010-04-16 13:52:06 +03:00
Henri Sivonen
c4e48768e8
Bug 558302 - Make <button> non-scoping in the HTML5 parser. r=bnewman.
2010-04-16 13:52:06 +03:00
Henri Sivonen
13abe101ac
Bug 555906 - </datalist> does not implicitly close an <option> in the HTML5 parser. r=bnewman.
2010-04-09 18:48:30 +03:00
Henri Sivonen
cee4fa1bec
Sync the Java sources of the HTML5 parser with the parser repo. rs=sicking. NPOTB.
2010-04-09 18:48:29 +03:00
Henri Sivonen
63a2095f47
Bug 555899 - Make the HTML5 parser have a limit of 200 on the stack depth like the old parser. rs=sicking.
2010-03-30 11:21:36 +03:00
Henri Sivonen
282e0eeb8c
Bug 555462 follow-up - Sync HTML5 parser Java sources with the backout. rs=sicking. NPOTB.
2010-03-30 11:21:36 +03:00
Henri Sivonen
d55831dadd
Bug 554513 - Remove buffer growth limits from the HTML5 parser where the old parser did not have the exact corresponding limits. rs=sicking.
...
--HG--
extra : rebase_source : d9de246b1e950dc314a9680a0043b29d576e291e
2010-03-26 09:50:21 +02:00
Henri Sivonen
f39ab57565
Bug 539434 follow-up - Sync the Java sources of the HTML5 parser with the htmlparser repository. rs=sicking. NPOTB.
...
--HG--
extra : rebase_source : 6ff1b377ab4663bc7a34c805da92a5d8e3adaed1
2010-03-26 09:50:20 +02:00
Peter Van der Beken
bf3da94043
Backing out 410eb23d33c7 to restore accidentaly deleted file (parser/html/javasrc/README.txt).
...
--HG--
extra : rebase_source : cd514c9544e20eacef1bbf40a0a369788801711a
2009-08-13 10:02:48 +02:00
Peter Van der Beken
f5f42d9fb3
Fix for bug 500349 (DOMParser no longer available in Greasemonkey scripts). r/sr=jst.
...
--HG--
extra : rebase_source : e42a5ad4bc82ef7b6933e9420840f83548ecde2c
2009-07-22 20:50:24 +02:00
Ben Newman
aec2dfcacd
Bug 504442 - Remove content/html/parser and land parser/html/javasrc/*.java.
...
--HG--
rename : content/html/parser/javasrc/AttributeName.java => parser/html/javasrc/AttributeName.java
rename : content/html/parser/javasrc/ElementName.java => parser/html/javasrc/ElementName.java
rename : content/html/parser/javasrc/HtmlAttributes.java => parser/html/javasrc/HtmlAttributes.java
rename : content/html/parser/javasrc/MetaScanner.java => parser/html/javasrc/MetaScanner.java
rename : content/html/parser/javasrc/Portability.java => parser/html/javasrc/Portability.java
rename : content/html/parser/javasrc/StackNode.java => parser/html/javasrc/StackNode.java
rename : content/html/parser/javasrc/StateSnapshot.java => parser/html/javasrc/StateSnapshot.java
rename : content/html/parser/javasrc/Tokenizer.java => parser/html/javasrc/Tokenizer.java
rename : content/html/parser/javasrc/TreeBuilder.java => parser/html/javasrc/TreeBuilder.java
rename : content/html/parser/javasrc/UTF16Buffer.java => parser/html/javasrc/UTF16Buffer.java
2009-07-17 13:50:20 -07:00
Ben Newman
e7540fc5b0
Bug 504646 - Get rid of the parser/html/javasrc symlink. r=hsivonen
2009-07-17 13:50:20 -07:00
Ben Newman
425a713997
Bug 499141 - [HTML5] Check in the Java to C++ translator. r+sr=jst
2009-07-14 17:39:30 -07:00