]> granicus.if.org Git - clang/commitdiff
Adjust HTML diagnostics CSS to not use "smaller" for font size and instead use
authorTed Kremenek <kremenek@apple.com>
Tue, 10 Mar 2009 05:14:32 +0000 (05:14 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 10 Mar 2009 05:14:32 +0000 (05:14 +0000)
specific point sizes.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66523 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Rewrite/HTMLRewrite.cpp

index fc6475b480e4aa246f2173e4f6c4ad16750bb898..380f7da7438007379f3ed49cae20571066c1bdcc 100644 (file)
@@ -303,13 +303,13 @@ void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
              // Macros are position: relative to provide base for expansions.
              " position: relative }\n"
       " .num { width:2.5em; padding-right:2ex; background-color:#eeeeee }\n"
-      " .num { text-align:right; font-size: smaller }\n"
+      " .num { text-align:right; font-size:8pt }\n"
       " .num { color:#444444 }\n"
       " .line { padding-left: 1ex; border-left: 3px solid #ccc }\n"
       " .line { white-space: pre }\n"
       " .msg { -webkit-box-shadow:1px 1px 7px #000 }\n"
       " .msg { -webkit-border-radius:5px }\n"
-      " .msg { font-family:Helvetica, sans-serif; font-size: smaller }\n"
+      " .msg { font-family:Helvetica, sans-serif; font-size:8pt }\n"
       " .msg { float:left }\n"
       " .msg { padding:0.25em 1ex 0.25em 1ex }\n"
       " .msg { margin-top:10px; margin-bottom:10px }\n"