PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › 9 CSS hack in stylesheet – entire stylesheet ignored › Re: Re: 9 CSS hack in stylesheet – entire stylesheet ignored
The CSS hack problem can be solved in a third-party open-source library “CSS Parser project”, PD4ML relies on. I took quick a look on it – it is quite simply to suppress the exception, but a correct processing of “0px9” syntax would require to update JavaCC CSS grammar, which is relatively tricky.
JavaCC code edits have another drawback: by .NET port of it we would need to convert not JavaCC src, but semi-readable auto-generated Java code. So we implement patches to ss_ccs2.jar unwillingly.