Bug 760954 - Fix the performance regression in the View Source windows; r=ehsan
authorSimon Montagu <smontagu@smontagu.org>
Sun, 03 Jun 2012 05:00:01 -0700
changeset 96167 42f8002ca13b68015a0737aa6a4c8fe2fcd404a2
parent 96166 5ee7f5d526649eded4d4fb4b4cb8b8f115295acf
child 96168 43e3d0333d30c7aa660f56d88ea1e203028fda71
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersehsan
bugs760954
milestone15.0a1
Bug 760954 - Fix the performance regression in the View Source windows; r=ehsan
layout/style/viewsource.css
--- a/layout/style/viewsource.css
+++ b/layout/style/viewsource.css
@@ -80,16 +80,19 @@ span[id]:after {
  color: blue;
  font-weight: normal;
 }
 .markupdeclaration {
  color: steelblue;
  font-style: italic;
 }
 span:not(.error), a:not(.error) {
+ unicode-bidi: embed;
+}
+span[id] {
  unicode-bidi: -moz-isolate;
 }
 .error, 
 .error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi,
                    .entity, .attribute-name, .attribute-value) {
   color: red;
   font-weight: bold;
 }