Skip to content

Commit eca6a74

Browse files
committed
don't inherit font-size, font-weight and font-style properties for table
Related to the issue #233
1 parent b3a42c2 commit eca6a74

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

include/litehtml/master_css.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ table {
181181
border-left-color:gray;
182182
border-bottom-color:black;
183183
border-right-color:black;
184+
font-size: medium;
185+
font-weight: normal;
186+
font-style: normal;
184187
}
185188
186189
tbody, tfoot, thead {

test/render/test9.htm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
<h1>BIG WORDS.<br> <font size=-1 style="background-color: green">WORDS<br>MORE<br>AAA</font>
2+
<table border=1><tr><td>MORE WORDS.</td></tr></table></h1>

test/render/test9.htm.png

140 Bytes
Loading

0 commit comments

Comments
 (0)