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
This commit is contained in:
parent
6bfc03d625
commit
d6b0dfcd04
|
@ -1 +1 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<!--
|
||||
This page serves as a trampoline - it finds an "hq" parameter,
|
||||
|
|
Loading…
Reference in New Issue
Block a user