[webkit-dev] bit field error on wince

Adam Roben aroben at apple.com
Tue Jan 22 06:49:22 PST 2008


On Jan 22, 2008, at 1:35 AM, ledwinka wrote:

> this problem is the ASR instruction. If _effectiveDisplay contain a  
> value
> big than 0x0f, such as 0x1x, the ASR instruction will cause the high  
> bits
> fill with 1 , for example, if _effectiveDisplay equal EDisplay::NONE  
> or
> EDisplay::INLINEBOX,  EDisplay dis will EQUALS -14 or -13, not a valid
> value.
>
> How to solve this problem? thanks a lot!

Oliver Hunt has already fixed this problem in a few places in WebCore.  
For one example, see <http://trac.webkit.org/projects/webkit/changeset/25329/trunk/WebCore/dom/Node.h 
 >. Something similar will probably work here. Filing a bug and  
posting a patch on <http://bugs.webkit.org/> would be much appreciated!

-Adam



More information about the webkit-dev mailing list