-
Notifications
You must be signed in to change notification settings - Fork 7.9k
[RFC] DOM HTML5 parsing and serialization support #12111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
006e0f1
Split off and wrap cloning API
nielsdos d081407
Update ext/libxml APIs so that non-libxml users can hook into the err…
nielsdos c031fff
Add is_html5_class field to document data in libxml
nielsdos 32747ec
Implement HTML5Document
nielsdos c166391
Create aliases for DOM constants
nielsdos a61ff75
Alias dom_import_simplexml
nielsdos 13012dd
Create class aliases
nielsdos 5776832
Introduce common base class
nielsdos feca60b
Register prop handlers in common base class
nielsdos f150f32
Implement the new class hierarchy instead of HTML5Document extends DO…
nielsdos 73dfdd2
Add libxml2 bug workaround
nielsdos 8181d9e
Update tree error reporting
nielsdos 04bea28
Amends
nielsdos 3d848e3
DOMException name
nielsdos b14e1a3
Add interaction test with getElementsByTagName(NS)
nielsdos a8a7e96
Wire up documentURI
nielsdos dc13d17
Adjustment for namespace reconciliation revert
nielsdos 28f302b
Test with noscript
nielsdos efc4369
Implement override_encoding
nielsdos 0cd2449
Make libxml stream context externally visible and use it in html_docu…
nielsdos 9edb7eb
Nope: BC
nielsdos 1633f02
Implement MIME sniff
nielsdos cd00da0
Fix crash if document is uninitialized
nielsdos 1a9d74c
Fix test output due to class changes in this RFC
nielsdos cd037b0
rename tests
nielsdos 1da1a6e
Cleanup: encoding is always set for the new HTMLDocument class
nielsdos f1fd156
More and improved tests
nielsdos 9fb0b12
Comment and indent cleanup
nielsdos 871ebbc
Use libxml context for saveHTMLFile
nielsdos 4651d96
[ci skip] UPGRADING
nielsdos a30e5a6
Propagate last error back into libxml
nielsdos d161e54
Propagate file name in libxml error
nielsdos 23612b0
Update doctype hint in ext/xsl
nielsdos 1410238
Update error message wording of abstract class
nielsdos 44b9663
Add test for incompatible override_encoding and charset
nielsdos 0b10fdc
Test behaviour of XML-style namespaces in HTMLDocument
nielsdos 965732d
Process review feedback
nielsdos bf89e80
Use canonical names in the return types and argument types
nielsdos 7ba177e
Use consistently camelCase for overrideEncoding
nielsdos 3dbbf19
Split long lines in html_document
nielsdos f798f45
Give magic values descriptive names
nielsdos cf07ba9
Codestyle nit
nielsdos ea7d604
Reduce repetition
nielsdos d906c0d
Apply strict properties
nielsdos 92e9064
Code style nits
nielsdos 92faa43
Review remarks
nielsdos c645f5d
Code style linebreaks
nielsdos 308313c
Make encoding explicit in XMLDocument
nielsdos b7f065f
Mark XMLDocument::validate() no longer as tentative-return-type
nielsdos dbc9afa
Only explicitly set encoding if not provided by the XML parser
nielsdos c7b55c2
Code review fixes
nielsdos 557aa43
Defensively set stream to NULL
nielsdos 46db0d2
NEWS
nielsdos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Apply strict properties
- Loading branch information
commit d906c0dc9f81c7c8e5bf28c08fd046125f4954e7
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.