/* Colors */
{"goodbye <span style=\"COLOR: rgb(64,64,64)\">cruel</span>"
"<span>world</span>", "goodbye cruelworld"},
+ /* Font-size propagation */
+ {"<p style=\"font-size: 11pt;line-height:22px\">goodbye <span style=\"font-size:0px\">cruel</span>world</p>",
+ "goodbye world\n"},
/* Newline before tag -> must be space */
{"goodbye <span style=\"COLOR: rgb(64,64,64)\">cruel</span>\n"
"<span>world</span>", "goodbye cruel world"},
* 5) Parent size is undefined and our size is < 0 - tricky stuff, assume some defaults
*/
auto size_prop = [&](auto mask_val, auto &our_val, auto other_val, auto default_val) constexpr -> void {
- if (!(mask & mask_val)) {
+ if ((mask & mask_val)) {
/* We have our value */
if (our_val < 0) {
if (other.mask & mask_val) {