summaryrefslogtreecommitdiffstats
path: root/parser
Commit message (Collapse)AuthorAgeLines
* Redundant code path cleanup (#1702)Moonchild2021-01-02-5/+0
| | | | | | | | | Remove various obsolete configure options. Remove Adjust SDK install tracking filth. Remove redundant code paths in old-configure This also optimizes linker use Remove redundant conditional blocks. Rewrite span.h without constexpr use.
* [parser] Make the refcount of nsHtml5OwningUTF16Buffer atomic.Henri Sivonen2020-11-18-1/+1
|
* Issue #1673 - Part 4: Unprefix -moz-tab-size.athenian2002020-10-28-1/+1
| | | | While we do fail a couple of tests, the other mainstream browsers also fail them and I think our implementation of tab-size is good enough to be unprefixed at this point. Having this patch also makes testing easier.
* Issue #1656 - Part 6: Clean up the build filesMoonchild2020-09-23-7/+0
|
* Issue #1656 - Part 3: Nuke more vim config lines in the tree.Moonchild2020-09-23-16/+0
| | | | Another S&R run with some smarter matching.
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23-3/+0
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* [SVG] Only fire the SVG onload when scripting is enabled and allowedMoonchild2020-09-23-0/+3
|
* [no issue] Fix whitespace (no code change)Moonchild2020-09-23-5/+5
|
* Issue #618 - Regenerate the HTML Parser code for nomodule changesGaming4JC2020-08-26-717/+724
| | | | Ref: BZ 1446082
* Issue #618 - Don't preload nomodule scripts when modules are enabledGaming4JC2020-08-26-13/+41
| | | | Ref: BZ 1382020
* Issue #618 - (async) Implement async attribute for inline module scripts.Moonchild2020-08-25-1/+1
| | | | | | | | | | This commit does several things: - Moves the pref check from ScriptLoader to ns[I]Document so it can be called on the document. - Changes the atrribute freezing function to a better name that takes the document as a parameter. - Sets the proper async/defer attributes on HTML script elements based on keywords and whether they are module scripts or not.
* Issue #618 - (async, preload) Correctly pass info about async/defer to parser.Moonchild2020-08-24-12/+38
| | | | | | This makes sure we don't block body-referred sub-resources by head-referenced defer and async scripts. This is important for all script loads, not just modules, but is added here because it was run into while implementing modules.
* Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElementMoonchild2020-06-30-6/+6
| | | | | | - Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers
* Issue #1525 - Kill marquee element; Debug Follow UpGaming4JC2020-06-07-1/+0
| | | | The marquee element was still specified in debug code, causing build to fail without it's removal.
* Issue #1525 - Kill marquee elementMoonchild2020-06-01-489/+476
| | | | | | * Remove marquee code * Regenerate HTML Elements/parser code for Removal of Marquee. Co-authored-by: Gaming4JC <g4jc@hyperbola.info>
* Bug 1418002 - Remove HTMLContentElementMatt A. Tobin2020-04-17-132/+119
| | | | Tag #1375
* Bug 1402941 - Add HTMLSlotElementMatt A. Tobin2020-04-17-260/+274
| | | | Tag #1375
* Bug 1401097 - Simplify gHTMLElements and remove redundant conditions in ↵Matt A. Tobin2020-04-17-203/+166
| | | | | | nsXHTMLContentSerializer::LineBreakAfterClose() Tag #1375
* Bug 1396584 - Remove support for multiple ShadowRootsMatt A. Tobin2020-04-17-304/+290
| | | | Tag #1375
* Bug 1400777 - Slim down nsElementTable.hMatt A. Tobin2020-04-17-108/+80
| | | | | | | | | | | * Remove eHTMLTags * De-expose HTML group constants[] * De-expose gHTMLElements[] * Split nsHTMLElement * Clean up nsElementTable.{cpp,h} * Fixup for eHTMLTag removal in Parser Tag #1375
* Issue #1375 - Stop largely using the parser serviceMatt A. Tobin2020-04-17-30/+37
| | | | | | | | | This is based on Bug 1395828 * Add nsHTMLElement::IsBlock() * Rename nsHTMLTags methods * Remove AssertParserServiceIsCorrect() * Remove most uses of nsIParserService/nsParserService
* Bug 1394300 - Streamline nsElementTable.cppMatt A. Tobin2020-04-17-589/+158
| | | | Tag #1375
* Bug 1375701 - Atomize class attribute value in the parser in the innerHTML caseMatt A. Tobin2020-04-17-151/+229
| | | | Tag #1375
* [Parser] Move setting context to null to the correct location.Henri Sivonen2020-02-14-4/+4
|
* Bug 1430951 - Avoid element name atomizing to improve performance of ↵Gaming4JC2020-01-26-1/+2
| | | | | | | | LookupCustomElementDefinition Since we are dealing with the element (nodeInfo->LocalName() and NameAtom() are the same value), we could use nodeInfo->NameAtom() instead. Tag UXP Issue #1344
* Bug 1415761 - Catch the exception and rethrow it after invoking custom ↵Gaming4JC2020-01-26-1/+2
| | | | | | | | elements reactions; The spec was unclear on how CEReactions interact with thrown exceptions; see https://github.com/whatwg/html/issues/3217. The spec is now being clarified in https://github.com/whatwg/html/pull/3235. Tag UXP Issue #1344
* Bug 1406325 - Part 4: Use mType for LookupCustomElementDefinition and also ↵Gaming4JC2020-01-26-2/+5
| | | | | | removing parts of v0. Tag UXP Issue #1344
* Bug 1378079 - Part 3: Complete the steps related to custom elements in ↵Gaming4JC2020-01-26-82/+172
| | | | | | | | "create an element for a token". With fixup for missing header due to unified builds. Tag UXP Issue #1344
* Regenerate Parser for 483155Gaming4JC2020-01-26-1795/+3089
| | | | Tag UXP Issue #1344
* Fix Build: We don't have SVG or MathML prefs yetGaming4JC2020-01-26-24/+0
| | | | | | See Bug 1173199 / 1216893 Tag UXP Issue #1344
* Fix aAttributesGaming4JC2020-01-26-0/+1
| | | | | | Fallout from 483155 Tag UXP Issue #1344
* Fix ISINDEXGaming4JC2020-01-26-1/+1
| | | | | | Since we want to keep this element, it has to be adapted to the parser changes in 483155 Tag UXP Issue #1344
* Add missing space to ElementName.java self-regeneration code.Gaming4JC2020-01-26-1/+1
| | | | Tag UXP Issue #1344
* Add missing elements from Bug 483155Gaming4JC2020-01-26-0/+8
| | | | Tag UXP Issue #1344
* Bug 483155 - Put content creator function pointers onto nsHtml5ElementName.Gaming4JC2020-01-26-96/+383
| | | | | | This is all the manual work for Bug 483155, minus the added functionality to disable SVG and MathML which can be done at any time and are out of scope. Tag UXP Issue #1344
* Bug 483155 - Put Gecko content creator function pointers on ElementName.Gaming4JC2020-01-26-81/+513
| | | | Tag UXP Issue #1344
* Bug 1355779 - Skip interned ElementName lookup for Custom Elements (ones ↵Gaming4JC2020-01-26-262/+280
| | | | | | | | with hyphen). Regen. Tag UXP Issue #1344
* Bug 1355779 - Skip interned nsHtml5ElementName lookup for Custom Elements ↵Gaming4JC2020-01-26-8/+39
| | | | | | (ones with hyphen). Tag UXP Issue #1344
* Bug 1378079 - Part 1: Gecko changes for adding attribute 'is' to parser.Gaming4JC2020-01-26-343/+349
| | | | Tag UXP Issue #1344
* Bug 1378079 - Add attribute 'is' to HTML parser.Gaming4JC2020-01-26-634/+637
| | | | Tag UXP Issue #1344
* Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-981/+1019
| | | | | | | | in HTML parser from sorted to level order BST in order to take advantage of cache during lookup. HTML Regen. Tag UXP Issue #1344
* Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-1164/+1164
| | | | | | | | from sorted to level order BST in order to take advantage of cache during lookup. Java Regen. Tag UXP Issue #1344
* Bug 1366241 - Change memory layout of element name and attribute name hashes ↵Gaming4JC2020-01-26-10/+108
| | | | | | from sorted to level order BST in order to take advantage of cache during lookup. Tag UXP Issue #1344
* Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-2048/+2256
| | | | | | HTML Regen. Tag UXP Issue #1344
* Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-133/+134
| | | | | | Manual changes Tag UXP Issue #1344
* Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName.Gaming4JC2020-01-26-80/+72
| | | | Tag UXP Issue #1344
* Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to ↵Gaming4JC2020-01-26-71/+66
| | | | | | | | avoid malloc. HTML Regen. Tag UXP Issue #1344
* Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to ↵Gaming4JC2020-01-26-179/+212
| | | | | | | | | | avoid malloc. - Removes nsHtml5ReleasableAttributeName - Adds nsHtml5AttributeEntry.h - Makes nsHtml5HtmlAttributes no longer gentered. Tag UXP Issue #1344
* Bug 1355479 - Remove isindex on the Java side and allow the C++ side to ↵Gaming4JC2020-01-26-336/+180
| | | | | | reduce malloc in attribute handling. Tag UXP Issue #1344
* Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a ↵Gaming4JC2020-01-26-50/+0
| | | | | | | | non-interned element name. Fix build - Remove no longer used ReleaseableElement Tag UXP Issue #1344