kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2010-06-28 07:48 pm

[dw-nonfree] Additional elements should be wrapped in a heading tag

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/0a76e0eb96f3]

http://bugs.dwscoalition.org/show_bug.cgi?id=989

Comment subject accessibility formatting for nonfree layouts. This CSS makes
sure the new h4 tags inherit the existing styles.

Patch by [personal profile] deborah.

Files modified:
  • bin/upgrading/s2layers/sundaymorning/layout.s2
  • bin/upgrading/s2layers/transmogrified/layout.s2
--------------------------------------------------------------------------------
diff -r 701698321e60 -r 0a76e0eb96f3 bin/upgrading/s2layers/sundaymorning/layout.s2
--- a/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon Jun 28 15:57:45 2010 +0800
+++ b/bin/upgrading/s2layers/sundaymorning/layout.s2	Mon Jun 28 14:48:13 2010 -0500
@@ -572,6 +572,13 @@ q { font-style: italic;
 .entry .userpic img, .comment .userpic img {
     border: none;
 }
+
+.comment-title h4 {
+    font-size: inherit;
+    font-weight: inherit;
+    margin: inherit;
+    padding: inherit;
+}
 .entry-title, .comment-title {
     padding: 0.2em;
 }
diff -r 701698321e60 -r 0a76e0eb96f3 bin/upgrading/s2layers/transmogrified/layout.s2
--- a/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Jun 28 15:57:45 2010 +0800
+++ b/bin/upgrading/s2layers/transmogrified/layout.s2	Mon Jun 28 14:48:13 2010 -0500
@@ -621,6 +621,13 @@ function Page::print_default_stylesheet 
     }
     .entry .userpic img, .comment .userpic img {
         border: none;
+    }
+
+    .comment-title h4 {
+        font-size: inherit;
+        font-weight: inherit;
+        margin: inherit;
+        padding: inherit;
     }
     .entry-title, .comment-title {
         padding: 0.2em;
--------------------------------------------------------------------------------