diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-02-27 23:51:49 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-03-02 20:47:59 +0100 |
commit | f5a0b6030c2001e5a0fcacf8139afa800643eb47 (patch) | |
tree | d3246c688104af7a6cedbe7cbeb98e0b76c57d51 /src/decode.h | |
parent | eed15beb109cf83af1d1c66cc77c85430b405f78 (diff) |
Ignore percent width td attributes in tables
The width attribute in tr and td tags is deprecated in HTML 4.01 and
obsolete in HTML 5. However, we should still support it when loading the
page in the transitional mode.
Currently, the relative values of the width attribute are transformed
into CSS values. They cause the available text width to be computed by
applying the relative value to the cell width, which causes an
unintended effect.
The workaround for now is to simply ignore the value when it is
specified as a percent.
Diffstat (limited to 'src/decode.h')
0 files changed, 0 insertions, 0 deletions