Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report some bugs #29

Open
cg82616424 opened this issue May 3, 2017 · 1 comment
Open

Report some bugs #29

cg82616424 opened this issue May 3, 2017 · 1 comment

Comments

@cg82616424
Copy link

cg82616424 commented May 3, 2017

Hi @lexborisov
I think, may mycss be have some bugs.
I use css_low_level.c to parse and serialize some css string. after serialization, I find 2 problems.

  1. css string missed some content like:

@font-face {font-family: "iconfont"; src: url('/v2/iconfont/iconfont.eot'); /* IE9*/ src: url('/v2/iconfont/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('/v2/iconfont/iconfont.woff') format('woff'), /* chrome、firefox */ url('/v2/iconfont/iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('/v2/iconfont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */ }

  1. some characters can not serialize like:
    .icon-my:before { content: "\e686"; } .icon-cascades:before { content: "\e67c"; } .icon-share:before { content: "\e6f3"; } .icon-time:before { content: "\e65f"; } .icon-ttpodicon:before { content: "\e667"; } .icon-shujulaiyuan:before { content: "\e7d4"; }
    changed to
    .icon-more::before {content: ;} .icon-myfill::before {content: ;} .icon-my::before {content: ;} .icon-cascades::before {content: ;} .icon-share::before {content: ;} .icon-time::before {content: ;} .icon-ttpodicon::before {content: ;} .icon-shujulaiyuan::before {content: ;}

the source css is from m.sh.bendibao.com/mip/130913.html inside the mip-custom tag.

@lexborisov
Copy link
Owner

Hi @cg82616424 !
@font-face not yet implemented. This is not difficult to do.
Content is also not implemented.
All this is not difficult to do, but the CSS is big, and I'm alone.
I'm implementing everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants