Index: trunk/phase3/skins/chick/main.css |
— | — | @@ -415,8 +415,7 @@ |
416 | 416 | background:#eeeeee; |
417 | 417 | font-size: smaller; |
418 | 418 | } |
419 | | -ins.diffchange { color: red; text-decoration: none; } |
420 | | -del.diffchange { color: red; text-decoration: none; } |
| 419 | +.diffchange { color: red; text-decoration: none; } |
421 | 420 | |
422 | 421 | a.external { color: #3366bb; } |
423 | 422 | |
Index: trunk/phase3/skins/monobook/handheld.css |
— | — | @@ -559,7 +559,7 @@ |
560 | 560 | background: #eee; |
561 | 561 | font-size: smaller; |
562 | 562 | } |
563 | | -span.diffchange { |
| 563 | +.diffchange { |
564 | 564 | color: red; |
565 | 565 | font-weight: bold; |
566 | 566 | } |
Index: trunk/phase3/skins/monobook/main.css |
— | — | @@ -591,16 +591,11 @@ |
592 | 592 | background: #eee; |
593 | 593 | font-size: smaller; |
594 | 594 | } |
595 | | -ins.diffchange { |
| 595 | +.diffchange { |
596 | 596 | color: red; |
597 | 597 | font-weight: bold; |
598 | 598 | text-decoration: none; |
599 | 599 | } |
600 | | -del.diffchange { |
601 | | - color: red; |
602 | | - font-weight: bold; |
603 | | - text-decoration: none; |
604 | | -} |
605 | 600 | |
606 | 601 | /* |
607 | 602 | ** keep the whitespace in front of the ^=, hides rule from konqueror |
Index: trunk/phase3/skins/common/common.css |
— | — | @@ -125,16 +125,11 @@ |
126 | 126 | background:#eeeeee; |
127 | 127 | font-size: 94%; |
128 | 128 | } |
129 | | -ins.diffchange { |
| 129 | +.diffchange { |
130 | 130 | color: red; |
131 | 131 | font-weight: bold; |
132 | 132 | text-decoration: none; |
133 | 133 | } |
134 | | -del.diffchange { |
135 | | - color: red; |
136 | | - font-weight: bold; |
137 | | - text-decoration: none; |
138 | | -} |
139 | 134 | |
140 | 135 | img { border: none; } |
141 | 136 | img.tex { vertical-align: middle; } |
Index: trunk/phase3/skins/common/commonPrint.css |
— | — | @@ -283,13 +283,8 @@ |
284 | 284 | background:#eeeeee; |
285 | 285 | font-size: smaller; |
286 | 286 | } |
287 | | -ins.diffchange { |
| 287 | +.diffchange { |
288 | 288 | color: silver; |
289 | 289 | font-weight: bold; |
290 | 290 | text-decoration: underline; |
291 | 291 | } |
292 | | -del.diffchange { |
293 | | - color: silver; |
294 | | - font-weight: bold; |
295 | | - text-decoration: underline; |
296 | | -} |
Index: trunk/phase3/skins/simple/main.css |
— | — | @@ -268,8 +268,7 @@ |
269 | 269 | background-color: #f8ffaa; |
270 | 270 | } |
271 | 271 | |
272 | | -ins.diffchange { background-color: #FFCDF3; text-decoration: none; } |
273 | | -del.diffchange { background-color: #FFCDF3; text-decoration: none; } |
| 272 | +.diffchange { background-color: #FFCDF3; text-decoration: none; } |
274 | 273 | .autocomment { color: grey; } |
275 | 274 | #pagehistory span.user { |
276 | 275 | margin-left: 1.4em; |
Index: trunk/phase3/includes/SpecialRecentchanges.php |
— | — | @@ -691,7 +691,7 @@ |
692 | 692 | 'diff-addedline' => 'background: #cfc; font-size: smaller;', |
693 | 693 | 'diff-deletedline' => 'background: #ffa; font-size: smaller;', |
694 | 694 | 'diff-context' => 'background: #eee; font-size: smaller;', |
695 | | - 'diffchange' => 'color: red; font-weight: bold;', |
| 695 | + 'diffchange' => 'color: red; font-weight: bold; text-decoration: none;', |
696 | 696 | ); |
697 | 697 | |
698 | 698 | foreach( $styles as $class => $style ) { |
Index: trunk/phase3/includes/normal/RandomTest.php |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | $formatter = new TableDiffFormatter(); |
71 | 71 | $funky = $formatter->format( $diffs ); |
72 | 72 | $matches = array(); |
73 | | - preg_match_all( '/<(?:ins|del) class="diffchange">(.*?)<\/span>/', $funky, $matches ); |
| 73 | + preg_match_all( '/<(?:ins|del) class="diffchange">(.*?)<\/(?:ins|del)>/', $funky, $matches ); |
74 | 74 | foreach( $matches[1] as $bit ) { |
75 | 75 | $hex = bin2hex( $bit ); |
76 | 76 | echo "\t$hex\n"; |