From d32f0dda215bc8e1894bdb8cfbcf1f6556399a21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Zieli=C5=84ski?= Date: Tue, 17 Dec 2024 14:50:46 +0100 Subject: [PATCH] Update test fixtures, disable autoformatting --- .eslintignore | 1 + .prettierignore | 1 + .../data-liberation/blueprints-library | 2 +- .../html-to-blocks/excerpt.output.html | 12078 ++++------------ 4 files changed, 2859 insertions(+), 9223 deletions(-) diff --git a/.eslintignore b/.eslintignore index b3ac4e5866..2f55011606 100644 --- a/.eslintignore +++ b/.eslintignore @@ -7,6 +7,7 @@ __pycache__ packages/playground/wordpress-builds/src/wordpress packages/playground/wordpress-builds/public packages/playground/sync/src/test/wp-* +packages/playground/data-liberation/tests/fixtures packages/php-wasm/node/src/test/__test* *.timestamp-1678999213403.mjs .local diff --git a/.prettierignore b/.prettierignore index 9162807152..de4d6784be 100644 --- a/.prettierignore +++ b/.prettierignore @@ -8,6 +8,7 @@ /packages/playground/wordpress-builds/build/build-assets /packages/playground/wordpress-builds/src/wordpress /packages/playground/wordpress-builds/public/ +/packages/playground/data-liberation/tests/fixtures /packages/php-wasm/node/src/test/__test* __pycache__ *.timestamp-1678999213403.mjs diff --git a/packages/playground/data-liberation/blueprints-library b/packages/playground/data-liberation/blueprints-library index b52a93ce17..b1362cbe3c 160000 --- a/packages/playground/data-liberation/blueprints-library +++ b/packages/playground/data-liberation/blueprints-library @@ -1 +1 @@ -Subproject commit b52a93ce17562a1964fb27df770792fe165b217b +Subproject commit b1362cbe3ca0956a36cc00dd769698bde0ba2ec7 diff --git a/packages/playground/data-liberation/tests/fixtures/html-to-blocks/excerpt.output.html b/packages/playground/data-liberation/tests/fixtures/html-to-blocks/excerpt.output.html index 9faf984b22..c96636c167 100644 --- a/packages/playground/data-liberation/tests/fixtures/html-to-blocks/excerpt.output.html +++ b/packages/playground/data-liberation/tests/fixtures/html-to-blocks/excerpt.output.html @@ -1,9251 +1,2885 @@ -

- - WHATWG - -

- -

HTML

- +

WHATWG

+

HTML

-

Living Standard — Last Updated 12 December 2024

- +

Living Standard — Last Updated 12 December 2024

-

- - One-Page Version html.spec.whatwg.org - Multipage Version /multipage - Version for Web Devs /dev - PDF Version /print.pdf - Translations 日本語 • 简体中文 - FAQ on GitHub - Chat on Matrix - Contribute on GitHub whatwg/html repository - Commits on GitHub - Snapshot as of this commit - Twitter Updates @htmlstandard - Open Issues filed on GitHub - Open an Issue whatwg.org/newbug - Tests web-platform-tests html/ - Issues for Tests ongoing work -

- -

Table of contents

- +

One-Page Version html.spec.whatwg.org Multipage Version /multipage Version for Web Devs /dev PDF Version /print.pdf Translations 日本語 • 简体中文 FAQ on GitHub Chat on Matrix Contribute on GitHub whatwg/html repository Commits on GitHub Snapshot as of this commit Twitter Updates @htmlstandard Open Issues filed on GitHub Open an Issue whatwg.org/newbug Tests web-platform-tests html/ Issues for Tests ongoing work

+

Table of contents

- - + -

Full table of contents

- +

Full table of contents

- - + -

1 Introduction

- +

1 Introduction

-

1.1 Where does this specification fit?

- +

1.1 Where does this specification fit?

-

- This specification defines a big part of the web platform, in lots of - detail. Its place in the web platform specification stack relative to other - specifications can be best summed up as follows: -

- +

This specification defines a big part of the web platform, in lots of detail. Its place in the + web platform specification stack relative to other specifications can be best summed up as + follows:

-

1.2 Is this HTML5?

- +

1.2 Is this HTML5?

-

This section is non-normative.

- +

This section is non-normative.

-

In short: Yes.

- +

In short: Yes.

-

- In more length: the term "HTML5" is widely used as a buzzword to - refer to modern web technologies, many of which (though by no means all) are - developed at the WHATWG. This document is one such; others are available - from the WHATWG Standards overview . -

- +

In more length: the term "HTML5" is widely used as a buzzword to refer to modern web + technologies, many of which (though by no means all) are developed at the WHATWG. This document is + one such; others are available from the WHATWG Standards + overview .

-

1.3 Background

- +

1.3 Background

-

This section is non-normative.

- +

This section is non-normative.

-

- HTML is the World Wide Web's core markup language. Originally, HTML was - primarily designed as a language for semantically describing scientific - documents. Its general design, however, has enabled it to be adapted, over - the subsequent years, to describe a number of other types of documents and - even applications. -

- +

HTML is the World Wide Web's core markup language. Originally, HTML was primarily designed as a + language for semantically describing scientific documents. Its general design, however, has + enabled it to be adapted, over the subsequent years, to describe a number of other types of + documents and even applications.

-

1.4 Audience

- +

1.4 Audience

-

This section is non-normative.

- +

This section is non-normative.

-

- This specification is intended for authors of documents and scripts that use - the features defined in this specification, implementers of tools that - operate on pages that use the features defined in this specification, and - individuals wishing to establish the correctness of documents or - implementations with respect to the requirements of this specification. -

- +

This specification is intended for authors of documents and scripts that use the features + defined in this specification, implementers of tools that operate on pages that + use the features defined in this specification, and individuals wishing to establish the + correctness of documents or implementations with respect to the requirements of this + specification.

-

- This document is probably not suited to readers who do not already have at - least a passing familiarity with web technologies, as in places it - sacrifices clarity for precision, and brevity for completeness. More - approachable tutorials and authoring guides can provide a gentler - introduction to the topic. -

- +

This document is probably not suited to readers who do not already have at least a passing + familiarity with web technologies, as in places it sacrifices clarity for precision, and brevity + for completeness. More approachable tutorials and authoring guides can provide a gentler + introduction to the topic.

-

- In particular, familiarity with the basics of DOM is necessary for a - complete understanding of some of the more technical parts of this - specification. An understanding of Web IDL, HTTP, XML, Unicode, character - encodings, JavaScript, and CSS will also be helpful in places but is not - essential. -

- +

In particular, familiarity with the basics of DOM is necessary for a complete understanding of + some of the more technical parts of this specification. An understanding of Web IDL, HTTP, XML, + Unicode, character encodings, JavaScript, and CSS will also be helpful in places but is not + essential.

-

1.5 Scope

- +

1.5 Scope

-

This section is non-normative.

- +

This section is non-normative.

-

- This specification is limited to providing a semantic-level markup language - and associated semantic-level scripting APIs for authoring accessible pages - on the web ranging from static documents to dynamic applications. -

- +

This specification is limited to providing a semantic-level markup language and associated + semantic-level scripting APIs for authoring accessible pages on the web ranging from static + documents to dynamic applications.

-

- The scope of this specification does not include providing mechanisms for - media-specific customization of presentation (although default rendering - rules for web browsers are included at the end of this specification, and - several mechanisms for hooking into CSS are provided as part of the - language). -

- +

The scope of this specification does not include providing mechanisms for media-specific + customization of presentation (although default rendering rules for web browsers are included at + the end of this specification, and several mechanisms for hooking into CSS are provided as part of + the language).

-

- The scope of this specification is not to describe an entire operating - system. In particular, hardware configuration software, image manipulation - tools, and applications that users would be expected to use with high-end - workstations on a daily basis are out of scope. In terms of applications, - this specification is targeted specifically at applications that would be - expected to be used by users on an occasional basis, or regularly but from - disparate locations, with low CPU requirements. Examples of such - applications include online purchasing systems, searching systems, games - (especially multiplayer online games), public telephone books or address - books, communications software (email clients, instant messaging clients, - discussion software), document editing software, etc. -

- +

The scope of this specification is not to describe an entire operating system. In particular, + hardware configuration software, image manipulation tools, and applications that users would be + expected to use with high-end workstations on a daily basis are out of scope. In terms of + applications, this specification is targeted specifically at applications that would be expected + to be used by users on an occasional basis, or regularly but from disparate locations, with low + CPU requirements. Examples of such applications include online purchasing systems, searching + systems, games (especially multiplayer online games), public telephone books or address books, + communications software (email clients, instant messaging clients, discussion software), document + editing software, etc.

-

1.6 History

- +

1.6 History

-

This section is non-normative.

- +

This section is non-normative.

-

- For its first five years (1990-1995), HTML went through a number of - revisions and experienced a -

- +

For its first five years (1990-1995), HTML went through a number of revisions and experienced a