build: fix csstidy breaking css#8000
Conversation
ee9db57 to
836f621
Compare
css is broken by csstidy, like 788e470. add preserve_css to avoid this. Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
836f621 to
33479b0
Compare
|
Broken how, and where? |
new code added in 788e470#diff-c82ac665c416f2f417fc53e801e86b777bfedc9ff5c01e427f956d0103f79f3a: css after tidy Except .cbi-title div {}, all others are missing After adding preserve_css: |
I see. Thank you. It would be better to address the original CSS instead of amending csstidy parameters for many of those -moz and -webkit properties. Each of those 'invalid' properties is handled by browsers. E.g. the appearance property mentions the -moz and -webkit versions (as being old). Some messages appear to be misleading also:
Those properties don't disappear, they just appear elsewhere you don't expect.
Run this chunk through tidy - they all come through, just slightly modified. |
|
There is another issue. Network has been reduced a lot. With --preserve_css=true, cascade.css after tidy is the same as cascade.css without tidy, both are normal:
|
|
@systemcrash Do you have any thoughts on this issue? |
|
It's not a big deal, but if we can find which properties are responsible, they can be adjusted. |
|
@AndyChiang888: Good catch about "Network has been reduced a lot.". |


css is broken by csstidy, like 788e470. add preserve_css to avoid this.
Signed-off-by: <my@email.address>row (viagit commit --signoff)<package name>: titlefirst line subject for packagesPKG_VERSIONin the Makefile