From c76d70cf49780238f416ffd2259633ea51864e84 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 1 Nov 2023 19:14:51 +0000 Subject: [PATCH] Highlight changed functions in the ToCs and headings --- specifications/css/xpath-functions-40.css | 17 +++++++++++++++++ .../style/merge-function-specs.xsl | 7 +++++++ .../style/xpath-functions.xsl | 10 ++++++++++ 3 files changed, 34 insertions(+) diff --git a/specifications/css/xpath-functions-40.css b/specifications/css/xpath-functions-40.css index 964747f30..b2e320318 100644 --- a/specifications/css/xpath-functions-40.css +++ b/specifications/css/xpath-functions-40.css @@ -125,3 +125,20 @@ div.new-function h4::before { span.content.new-function::after { content: " 🆕"; } + +div.changed-function h2, +div.changed-function h3, +div.changed-function h4 { + text-indent: -1.5rem; +} + +div.changed-function h2::before, +div.changed-function h3::before, +div.changed-function h4::before { + content: "🆙 "; + width: 1.5rem; +} + +span.content.changed-function::after { + content: " 🆙"; +} diff --git a/specifications/xpath-functions-40/style/merge-function-specs.xsl b/specifications/xpath-functions-40/style/merge-function-specs.xsl index fb216cf25..783c01824 100644 --- a/specifications/xpath-functions-40/style/merge-function-specs.xsl +++ b/specifications/xpath-functions-40/style/merge-function-specs.xsl @@ -21,6 +21,8 @@ + @@ -78,6 +80,11 @@ + + + + diff --git a/specifications/xpath-functions-40/style/xpath-functions.xsl b/specifications/xpath-functions-40/style/xpath-functions.xsl index fda06094d..e94cca31e 100644 --- a/specifications/xpath-functions-40/style/xpath-functions.xsl +++ b/specifications/xpath-functions-40/style/xpath-functions.xsl @@ -63,6 +63,9 @@ + +