Changeset 19431 in webkit


Ignore:
Timestamp:
Feb 6, 2007 8:46:49 AM (17 years ago)
Author:
brmorris
Message:

yongjzha, Reviewed by Zalan.

DESC: enable drawing 1px transparent image with EGray256 mask
http://bugs.webkit.org/show_bug.cgi?id=12621

Location:
S60/branches/3.1m
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • S60/branches/3.1m/WebCore/ChangeLog

    r19430 r19431  
     1yongjzha, Reviewed by Zalan.
     2
     3        DESC: 1. don't apply outline style to image inside <A> element
     4        http://bugs.webkit.org/show_bug.cgi?id=12621
     5
     6        * khtml/css/html4.css:
     7
    18vbradley, reviewed by Yongjun.
    29        DESC: Fixed the stack size and pcre stack overflow ALAA-6XSF7U
  • S60/branches/3.1m/WebCore/khtml/css/html4.css

    r18193 r19431  
    429429:focus img  { outline: auto 2px #aaaaff; outline-offset: 2px }
    430430a:-khtml-any-link:hover     { outline: auto 4px #aaaaff; outline-offset: 2px }
    431 a:-khtml-any-link:hover img { outline: auto 4px #aaaaff; outline-offset: 2px }
    432 
    433431
    434432object:hover    { outline: auto 4px #aaaaff}
  • S60/branches/3.1m/WebKit/BrowserCore/Renderers/src/ImageRenderer.cpp

    r18346 r19431  
    292292            // small masked scaled bitmaps at all. These are usually fully transparent.
    293293            // this avoid ugly pixels showing up in wrong places
     294            // Update: DrawBitmapMasked works with transparent 1 pix image if mask color mode
     295            // is EGray256.
    294296            TSize s(iParent->iBitmap->SizeInPixels());
    295             if (iParent->iBitmap->HasMask() && (s.iWidth==1&&s.iHeight==1))
     297            if (iParent->iBitmap->HasMask() && iParent->iBitmap->Mask().DisplayMode() == EGray2 && (s.iWidth==1&&s.iHeight==1))
    296298                {
    297299                return;
  • S60/branches/3.1m/WebKit/ChangeLog

    r19430 r19431  
     1yongjzha, Reviewed by Zalan.
     2        DESC: enable drawing 1px transparent image with EGray256 mask
     3        http://bugs.webkit.org/show_bug.cgi?id=12621
     4
     5        * BrowserCore/Renderers/src/ImageRenderer.cpp:
     6        (CImageRenderer::DrawImageInRect):
     7
    18vbradley, reviewed by Yongjun.
    29        DESC: Fixed the stack size and pcre stack overflow ALAA-6XSF7U
Note: See TracChangeset for help on using the changeset viewer.