简体   繁体   English

iOS 3中的UIWebView是否不支持Webkit列布局?

[英]Does UIWebView in iOS 3 not support webkit column layout?

I am using -webkit-column- ... css properties to accomplish nice line breaks in my UIWebView: 我正在使用-webkit-column- ... css属性在UIWebView中完成漂亮的换行符:

   #content {
    height: 460px;
    -webkit-column-width: 320px;
    -webkit-column-gap: 0px;
    }

This way text lines wraps from page to page without being cut off in the middle (book style). 这样,文本行可以在页面之间换行,而不会在中间被截断(书本样式)。

It works perfectly from the iOS 4.x, but not in iOS 3.x (3.0, 3.1). 它可以从iOS 4.x完美运行,但不能在iOS 3.x(3.0,3.1)中运行。 Where can I find detailed UIWebView changelog of supported css attributes? 在哪里可以找到支持的CSS属性的详细UIWebView更改日志?

经过测试后,再次检查并使用iOS 4运行相同的样式-看来此CSS属性仅从4.x起得到支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM