From 9d14021b6bd006edd756285534ccef0f69520cc8 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sat, 30 Apr 2022 12:42:17 -0700 Subject: [PATCH] Bless output of indoc tests for Windows app The ideal output didn't reflect the recent changes to the JavaScript paste code. I'm assuming that the current output is correct as-is. Maybe it makes less sense to have separate tests for Windows and Mac now, since the HTML is now identical. But the CSS still differs, so I've kept them for now. --- .../Targets/windows_app-Ideal/Sdoc1.html | 32 ++++++------ .../Targets/windows_app-Ideal/Sdoc2.html | 15 ++++++ .../Tests/Targets/windows_app-Ideal/doc1.html | 49 +++++++------------ .../Tests/Targets/windows_app-Ideal/doc2.html | 15 ++++++ .../Tests/Targets/windows_app-Ideal/doc3.html | 15 ++++++ .../Targets/windows_app-Ideal/indoc_IM.css | 2 +- .../Targets/windows_app-Ideal/indoc_SV.css | 2 +- 7 files changed, 80 insertions(+), 50 deletions(-) diff --git a/indoc/Tests/Targets/windows_app-Ideal/Sdoc1.html b/indoc/Tests/Targets/windows_app-Ideal/Sdoc1.html index 156a19118..467cf8a23 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/Sdoc1.html +++ b/indoc/Tests/Targets/windows_app-Ideal/Sdoc1.html @@ -45,6 +45,21 @@ + + @@ -111,22 +126,7 @@

In general, the main text of Writing with Inform tries never to assume knowledge of material which has not yet appeared, but the trickier examples almost always need to break this rule.

The same examples are included in both of the books of documentation, but in a different order: in Writing with Inform, they appear near the techniques used to make them work; in The Inform Recipe Book, they are grouped by the effects they provide. For instance, an example called "Do Pass Go", about the throwing of a pair of dice, appears in the "Randomness" section of Writing with Inform and also in the "Dice and Playing Cards" section of The Inform Recipe Book. Clicking the italicised WI and RB buttons at the right-hand side of an example's heading switches between its position in each book.

-

- - paste.png create.png   "The Über-complète Absolute Truth" +

paste@2x.png create@2x.png   "The Über-complète Absolute Truth"

diff --git a/indoc/Tests/Targets/windows_app-Ideal/Sdoc2.html b/indoc/Tests/Targets/windows_app-Ideal/Sdoc2.html index 05c431567..da3cc2007 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/Sdoc2.html +++ b/indoc/Tests/Targets/windows_app-Ideal/Sdoc2.html @@ -45,6 +45,21 @@ + + diff --git a/indoc/Tests/Targets/windows_app-Ideal/doc1.html b/indoc/Tests/Targets/windows_app-Ideal/doc1.html index 4225b9b60..a7eb003f7 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/doc1.html +++ b/indoc/Tests/Targets/windows_app-Ideal/doc1.html @@ -45,6 +45,21 @@ + + @@ -88,22 +103,7 @@

Mr. Bennet replied that he had not.

"But it is," returned she; "for Mrs. Long has just been here, and she told me all about it."

-

- - paste.png "An Inline Example" +

paste@2x.png "An Inline Example"

@@ -322,22 +322,7 @@

In general, the main text of Writing with Inform tries never to assume knowledge of material which has not yet appeared, but the trickier examples almost always need to break this rule.

The same examples are included in both of the books of documentation, but in a different order: in Writing with Inform, they appear near the techniques used to make them work; in The Inform Recipe Book, they are grouped by the effects they provide. For instance, an example called "Do Pass Go", about the throwing of a pair of dice, appears in the "Randomness" section of Writing with Inform and also in the "Dice and Playing Cards" section of The Inform Recipe Book. Clicking the italicised WI and RB buttons at the right-hand side of an example's heading switches between its position in each book.

-

- - paste.png create.png   "The Über-complète Absolute Truth" +

paste@2x.png create@2x.png   "The Über-complète Absolute Truth"

diff --git a/indoc/Tests/Targets/windows_app-Ideal/doc2.html b/indoc/Tests/Targets/windows_app-Ideal/doc2.html index 8e10b1ea7..567b0c9bf 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/doc2.html +++ b/indoc/Tests/Targets/windows_app-Ideal/doc2.html @@ -45,6 +45,21 @@ + + diff --git a/indoc/Tests/Targets/windows_app-Ideal/doc3.html b/indoc/Tests/Targets/windows_app-Ideal/doc3.html index c7a0ff70e..19ef17974 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/doc3.html +++ b/indoc/Tests/Targets/windows_app-Ideal/doc3.html @@ -45,6 +45,21 @@ + + diff --git a/indoc/Tests/Targets/windows_app-Ideal/indoc_IM.css b/indoc/Tests/Targets/windows_app-Ideal/indoc_IM.css index 20b22d874..2b6ddbb07 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/indoc_IM.css +++ b/indoc/Tests/Targets/windows_app-Ideal/indoc_IM.css @@ -9,8 +9,8 @@ box-sizing: border-box; /* The body elements always belong to two classes: "paper" and a tint class */ body.paper { -font-size: 112.5%; + font-size: 100%; line-height: 1.25em; text-align: left; overflow-y: scroll; diff --git a/indoc/Tests/Targets/windows_app-Ideal/indoc_SV.css b/indoc/Tests/Targets/windows_app-Ideal/indoc_SV.css index 17dacdd96..9aa7067fc 100644 --- a/indoc/Tests/Targets/windows_app-Ideal/indoc_SV.css +++ b/indoc/Tests/Targets/windows_app-Ideal/indoc_SV.css @@ -9,8 +9,8 @@ box-sizing: border-box; /* The body elements always belong to two classes: "paper" and a tint class */ body.paper { -font-size: 112.5%; + font-size: 100%; line-height: 1.25em; text-align: left; overflow-y: scroll;