[RFC] DOM HTML5 parsing and serialization support#12111
[RFC] DOM HTML5 parsing and serialization support#12111
Conversation
53b3bfc to
1c75ea8
Compare
16e8d23 to
d5852be
Compare
|
Is there anything I can do to help you? |
Hi Alexander I don't think a separate repository is necessary. To sync upstream changes into PHP I just copy the relevant folders. So it doesn't really matter if it's in a separate repository or not. Then I apply some patches on top. |
|
Yes, CSS makes a huge difference to a project. Nice! Feel free to ask any related questions. |
I agree. Having CSS Selectors is something on my roadmap, but can only land after this has been accepted.
Thanks for the offer :) |
23229eb to
73ca97f
Compare
219f8bf to
e43f2af
Compare
Co-authored-by: Tim Düsterhus <timwolla@php.net>
527e5a6 to
46db0d2
Compare
|
@theseer No problem. Feel free to take a look later when you have more time. |
|
After 9 years, this finally arrived. |
…#47715 (mpdude) This PR was merged into the 6.4 branch. Discussion ---------- [Form] Use self-closing `<input />` syntax again, reverting #47715 | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #53649 | License | MIT This PR reverts #47715 and puts the trailing slash back into `<input .../>` markup in the form themes. The reasons are outlined in detail in #53649. Basically, the trailing slash in void elements like `<input>` is not required in HTML 5, yet it is perfectly valid and compliant with specs. Writing markup that way is required to parse and process it with an XML parser, like `libxml2` underlying all of the PHP DOM, XML etc. extensions. HTML 5 capable parser support has been added to PHP in php/php-src#12111 and will be available with PHP 8.4. So, we might want to remove the trailing slashes once Symfony requires at least PHP 8.4. Commits ------- 8c92200 Revert #47715
RFC link: https://wiki.php.net/rfc/domdocument_html5_parser