From d6b0dfcd0451d3816bfe1e331a275ef2792fbb88 Mon Sep 17 00:00:00 2001 From: Sam Tobin-Hochstadt Date: Wed, 28 Nov 2012 14:14:33 -0800 Subject: [PATCH] Switch to use almost-standard DOCTYPE for Scribble. Also switches scribble search trampoline to standard DOCTYPE. Scribble's HTML output currently relies on the quirks-mode box model for layout of the many tables used in rendering. However, Scribble doesn't need the rest of the changes in browser quirks modes, so we choose a DOCTYPE that just changes the box model. It's non-obvious how to replicated this formatting with CSS in standard-mode rendering. Probably a better long term solution is to move away from table-based layout. See further discussion on GitHub pull request 158 here: https://github.com/plt/racket/pull/158 --- collects/scribble/scribble-prefix.html | 2 +- collects/scribblings/main/private/search-context.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/scribble/scribble-prefix.html b/collects/scribble/scribble-prefix.html index 4ef584cce5..f77a1b6e06 100644 --- a/collects/scribble/scribble-prefix.html +++ b/collects/scribble/scribble-prefix.html @@ -1 +1 @@ - + diff --git a/collects/scribblings/main/private/search-context.html b/collects/scribblings/main/private/search-context.html index c25c0b34bc..0e19c8f862 100644 --- a/collects/scribblings/main/private/search-context.html +++ b/collects/scribblings/main/private/search-context.html @@ -1,4 +1,4 @@ - +