From 733321ca8fb255acc397bcc76cce495b898438d9 Mon Sep 17 00:00:00 2001 From: "vidur%netscape.com" Date: Sat, 14 Nov 1998 00:22:10 +0000 Subject: [PATCH] Added Xlink support --- content/xml/tests/docbook.css | 1 + content/xml/tests/docbooktest.xml | 8 +- layout/xml/tests/docbook.css | 615 ------------------------------ layout/xml/tests/docbooktest.xml | 8 +- 4 files changed, 9 insertions(+), 623 deletions(-) diff --git a/content/xml/tests/docbook.css b/content/xml/tests/docbook.css index a4cc80e5ba6..036931bfcb9 100644 --- a/content/xml/tests/docbook.css +++ b/content/xml/tests/docbook.css @@ -581,6 +581,7 @@ TitleAbbrev { ULink { color: blue; text-decoration: underline; + cursor: pointer; } UserInput { diff --git a/content/xml/tests/docbooktest.xml b/content/xml/tests/docbooktest.xml index 4423051dad6..340df932d98 100644 --- a/content/xml/tests/docbooktest.xml +++ b/content/xml/tests/docbooktest.xml @@ -59,12 +59,12 @@ tokenized attribute values. The following topics describe DOM attributes: -Interface +Interface Attr - + Interface Element <Anchor diff --git a/layout/xml/tests/docbook.css b/layout/xml/tests/docbook.css index a4cc80e5ba6..e69de29bb2d 100644 --- a/layout/xml/tests/docbook.css +++ b/layout/xml/tests/docbook.css @@ -1,615 +0,0 @@ - - -Book { - display: block; - padding-left: 8px; - padding-top: 8px; - font-family: Courier; - font-size: 10pt; -} - -Abbrev { - display: block; -} - -Affiliation { - font-style: italic; -} - -Appendix Title { - font-weight: bold; - font-family: Arial; - font-size: 24pt; - bottom-margin: 10pt; - display: block; -} - -Para Author { - display: inline; -} - -Author { - display: block; -} - -AuthorGroup { - font-size: 12pt; - top-margin: 25pt; - display: block; - font-weight: bold; -} - -BiblioDiv Title { - font-style: italic; -} - -Blockquote { - display: block; - margin-top: 3pt; - margin-left: 30pt; -} - -Book Title { - font-weight: bold; - font-family: Arial; - font-size: 18pt; - bottom-margin: 10pt; - display: block; -} - -BookInfo { - display: block; - margin-bottom: 30pt; -} - -BridgeHead { - display: block; - font-size: 16pt; - font-weight: bold; - color: teal; -} - -Caution { - prefix-format: "Caution:"; - font-weight: bold; - color: red; -} - -Chapter { - display: block; - margin-bottom: 25pt; -} - -Chapter Title { - font-weight: bold; - font-family: Arial; - font-size: 20pt; - bottom-margin: 10pt; - display: block; -} - -CiteTitle { - font-style: italic; -} - -CmdSynopsis { - display: block; -} - -CO { - display: block; -} - -Command { - font-style: italic; -} - -Comment { - display: block; -} - -ComputerOutput { - font-family: monospace; -} - -Copyright { - display: block; -} - -Para CorpAuthor { - display: inline; -} - -CorpAuthor { - display: block; -} - -Email { - font-style: italic; -} - -Editor { - display: block; -} - -Emphasis { - font-style: italic; -} - -ErrorType { - font-family: monospace; -} - -Example { - display: block; - margin-top: 10pt; - margin-bottom: 10pt; -} - -Example Title { - display: block; - font-weight: bold; - font-size: 14pt; -} - -Figure Title { - font-family: Arial; - font-size: 10pt; - font-style: italic; - font-weight: bold; - display: block; -} - -Filename { - font-style: italic; -} - -Figure { - display: block; - margin-top: 10pt; -} - -FirstTerm { - font-style: italic; -} - -ForeignPhrase { - font-style: italic; -} - -FormalPara { - display: block; -} - -FormalPara Title { - display: block; - font-weight: bold; -} - -FuncSynopsis { - display: block; -} - -FuncSynopsisInfo { - display: block; - white-space: pre; -} - -Function { - font-family: monospace; - white-space: pre; -} - -Glossary { - display: block; -} - -GlossDef { - display: block; - margin-left: 15pt; -} - -GlossList { - display: block; -} - -GlossSee { - display: block; - margin-left: 15pt; -} - -GlossTerm { - display: block; - font-weight: bold; -} - -InformalTable { - display: block; - margin-top: 10pt; - margin-bottom: 10pt; -} - -Interface { - font-family: Arial; -} - -ISBN { - display: block; - font-size: 10pt; -} - -ItemizedList { - display: block; - margin-top: 5pt; - margin-left: 20pt; -} - -LineAnnotation { - font-style: italic; -} - -Link { - color: blue; - text-decoration: underline; -} - -ListItem { - margin-left: 25pt; - display: list-item; -} - -Literal { - font-family: monospace; -} - -LiteralLayout { - whitespace: pre; - display: block; -} - -Member { - display: block; - margin-left: 15pt; -} - -OLink { - display: block; - font-size: 12pt; -} - -Option { - font-family: monospace; -} - -OrderedList { - top-margin: 5pt; - left-margin: 20pt; - bottom-margin: 10pt; - display: block; - list-style-type: decimal; -} - -OrderedList Para { - display: block; - margin-top: 15pt; -} - -Para OtherCredit { - display: inline; -} - -OtherCredit { - display: block; -} - -Para { - display: block; - margin-top: 8pt; -} - -Para LiteralLayout { - display: block; - margin-top: 4pt; - margin-left: 10pt; - white-space: pre; -} - -Para Screen { - top-margin: 7pt; - left-margin: 10pt; - bottom-margin: 7pt; - display: block; -} - -Parameter { - font-family: monospace; -} - -Part Title { - font-size: 24pt; - display: block; - font-weight: bold; -} - -Preface { - display: block; - margin-top: 10pt; -} - -PrintHistory { - display: block; -} - -Procedure { - display: block; -} - -ProgramListing { - display: block; - white-space: pre; - font-family: monospace; -} - -ProgramListingCO { - display: block; - white-space: pre; - font-family: monospace; -} - -PublisherName { - font-family: Times, New, Roman; - font-size: 20pt; - top-margin: 15pt; - bottom-margin: 15pt; - display: block; -} - -RefEntry { - display: block; -} - -RefEntryTitle { - display: block; - font-size: 20pt; - font-weight: bold; -} - -RefName { - font-weight: bold; -} - -RefNameDiv { - display: block; -} - -RefSect1 { - display: block; - margin-top: 10pt; -} - -RefSect1 Title { - font-size: 14pt; -} - -RefSect1Info { - display: block; - font-size: small; -} - -RefSect2 { - display: block; - margin-top: 10pt; -} - -RefSect2 Title { - font-size: 14pt; -} - -RefSect2Info { - display: block; - font-size: small; -} - -RefSect3 { - display: block; - margin-top: 10pt; -} - -RefSect3 Title { - font-size: 14pt; -} - -RefSect3Info { - display: block; - font-size: small; -} - -RefSynopsisDiv { - display: block; - margin-top: 15pt; -} - -RefSynopsisDiv Title { - display: block; - font-size: 18pt; -} - -Replaceable { - font-family: Arial; - font-style: italic; -} - -Screen { - display: block; - left-margin: 20pt; - bottom-margin: 10pt; - whitespace: pre; -} - -ScreenCO { - whitespace: pre; -} - -ScreenShot { - whitespace: pre; -} - -Sect1 { - display: block; - top-margin: 16pt; -} - -Sect1 Title { - font-family: Arial; - font-size: 20pt; - font-weight: bold; - display: block; -} - -Sect2 { - display: block; - top-margin: 15pt; -} - -Sect2 Title { - font-family: Arial; - font-size: 14pt; - font-weight: bold; - display: block; -} - -Sect3 { - display: block; - top-margin: 15pt; -} - -Sect3 Title { - font-family: Arial; - font-size: 14pt; - font-weight: bold; - display: block; -} - -SegListItem { - display: block; -} - -SegmentedList { - display: block; -} - -SegmentedList Title { - display: block; - font-weight: bold; -} - -Sidebar { - display: block; - margin-top: 15pt; - margin-left: 30pt; - font-family: Arial; - font-size: 9pt; -} - -Step { - display: block; -} - -Step Title { - display: block; - font-style: italic; -} - -Subscript { - font-size: 5pt; - vertical-align: sub; -} - -Subtitle { - font-family: Arial; - font-size: 20pt; - font-weight: bold; - display: block; - align: center; -} - -Superscript { - font-size: 5pt; - vertical-align: super; -} - -Synopsis { - display: block; - white-space: pre; -} - -SystemItem { - font-family: monospace; -} - -Table { - display: block; - margin-top: 10pt; -} - -Table Title { - font-family: Arial; - font-size: 10pt; - font-style: italic; - font-weight: bold; -} - -Term { - font-weight: bold; -} - -Title { - font-family: Arial; - font-size: 20pt; - font-weight: bold; - display: block; - align: center; -} - -TitleAbbrev { - font-family: Arial; - font-size: 14pt; - font-weight: bold; - display: block; -} - -ULink { - color: blue; - text-decoration: underline; -} - -UserInput { - font-family: monospace; - font-weight: bold; -} - -VariableList Title { - font-weight: bold; - display: block; -} - -VarListEntry { - display: block; - margin-top: 10pt; -} - -VarListEntry Term { - display: block; - font-style: italic; -} - -Warning { - prefix-format: "Warning:"; - font-weight: bold; - color: fuchsia; -} - -Year { - font-family: serif; - font-weight: bold; -} diff --git a/layout/xml/tests/docbooktest.xml b/layout/xml/tests/docbooktest.xml index 4423051dad6..340df932d98 100644 --- a/layout/xml/tests/docbooktest.xml +++ b/layout/xml/tests/docbooktest.xml @@ -59,12 +59,12 @@ tokenized attribute values. </Para> <Para>The following topics describe DOM attributes: </Para> <ItemizedList Mark="Bullet"> <ListItem> <Para> -<ULink - URL="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-637646024">Interface +<ULink xml:link="simple" show="replace" + href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-637646024">Interface Attr</ULink> </Para></ListItem> <ListItem> <Para> -<ULink - URL="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-745549614"> +<ULink xml:link="simple" show="new" + href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-745549614"> Interface Element</ULink> </Para></ListItem> </ItemizedList> </Sect1></Chapter> <Chapter Label="26" Role="funcref"> <Title><Anchor