About
I’m Jon Surrell. I work at Automattic on the foundations of WordPress: HTML, CSS, text encodings, and the standards behind them. I’m an HTML API maintainer and work with the WordPress Security Team.
What I’ve worked on
2026
- Security releases with the WordPress Security Team.
- Differential fuzzing of the HTML and CSS parsers in WordPress, Lexbor (the parser in PHP 8.4+) and Chrome against the standards, and fixes for the bugs it found.
- A CSS API for WordPress Core: a tokenizer and a style attribute processor (work in progress).
- Contributions to the HTML Standard for processing instructions and CDATA sections.
2025
- Became a WordPress Core committer.
- Wrote Safe JSON in script tags. It reached the Hacker News front page and led to fixes in WordPress and several open source projects.
- Built the new code editors on WordPress.com and an improved Code block.
- Fixed a KSES bug present since WordPress 2.0 that made some character references impossible to write, and a content encoding bug from 2019 that corrupted and lost post content.
- Added
assertEqualHTML()to the WordPress test suite. It compares HTML strings by their semantics instead of syntax.
2024
- Became a maintainer of the HTML API component.
- Brought the html5lib test suite (now part of web-platform-tests) into WordPress to test the HTML Processor (#60227).
- Worked on Script Modules in WordPress: the
viewScriptModuleblock.json field and passing data from the server to script modules. - Several fixes and enhancements to the Interactivity API.
- Built the HTML API Debugger plugin, which shows how the HTML API parses a document.
2021 to 2023
- Joined Tumblr’s Core Web team in February 2021. Responsible for platform stability, performance and developer experience.
- Moved to WordPress Core in December 2023.
2017 to 2021
- Led the team that brought each Gutenberg release to WordPress.com between 2020 and 2021.
- Promoted TypeScript at Automattic and in WordPress, including publishing types with WordPress packages.
- Built a new WordPress.com onboarding flow.
- Wrote
@wordpress/dependency-extraction-webpack-plugin, which lists the script dependencies of a JavaScript build. WordPress’s JavaScript build has used it since 2020. - Joined Automattic in March 2017 to work on WordPress.com and Jetpack: the Activity Log, the Jetpack connection flow, and the CI for WordPress.com’s JavaScript app, Calypso.