Bug 114498

Summary: [BlackBerry][CSS Filters] Non-image content disappears when filter applied
Product: WebKit Reporter: Arvid Nilsson <anilsson>
Component: WebKit BlackBerryAssignee: Arvid Nilsson <anilsson>
Status: RESOLVED FIXED    
Severity: Normal CC: anlo, cgarcia, commit-queue, jpetsovits, mifenton, rwlbuis, tonikitoo, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Arvid Nilsson
Reported 2013-04-12 02:07:52 PDT
For example: <div>Hello, world!</div> Applying style="-webkit-filter: blur(1px);" to this div makes it disappear. Sometimes it flickers into view or shows up depending on the order of rendering. PR 325051
Attachments
Patch (2.63 KB, patch)
2013-04-12 03:00 PDT, Arvid Nilsson
no flags
Patch (2.92 KB, patch)
2013-04-15 01:44 PDT, Arvid Nilsson
no flags
Arvid Nilsson
Comment 1 2013-04-12 03:00:50 PDT
Arvid Nilsson
Comment 2 2013-04-12 03:03:11 PDT
I have been considering whether to add a new layout test that tries to apply a filter to some text. However, there's no reason to believe that other ports would fail to do that - being able to apply filters to images and rectangles means they will be able to apply them to anything. A test like that would just be duplication of already tested functionality to all other ports, and thus contribute nothing of value. Also, the BlackBerry port doesn't have pixel tests up and running yet, so such a test would not actually prevent regression of this fix.
Arvid Nilsson
Comment 3 2013-04-12 03:03:47 PDT
For these reasons I decided against adding a new layout test. For other ports, this is really already covered by existing layout tests.
Carlos Garcia Campos
Comment 4 2013-04-12 03:06:28 PDT
Comment on attachment 197739 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=197739&action=review > Source/WebCore/platform/graphics/blackberry/LayerFilterRenderer.cpp:712 > + glVertexAttribPointer(m_positionLocation, 2, GL_FLOAT, GL_FALSE, 0, &layer->getTransformedBounds() ); There's an extra space between &layer->getTransformedBounds() and the last parentheses.
Arvid Nilsson
Comment 5 2013-04-12 03:37:05 PDT
(In reply to comment #4) > (From update of attachment 197739 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=197739&action=review > > > Source/WebCore/platform/graphics/blackberry/LayerFilterRenderer.cpp:712 > > + glVertexAttribPointer(m_positionLocation, 2, GL_FLOAT, GL_FALSE, 0, &layer->getTransformedBounds() ); > > There's an extra space between &layer->getTransformedBounds() and the last parentheses. Thank you, I'll fix that before landing =)
Arvid Nilsson
Comment 6 2013-04-15 01:44:56 PDT
WebKit Commit Bot
Comment 7 2013-04-15 02:17:02 PDT
Comment on attachment 198034 [details] Patch Clearing flags on attachment: 198034 Committed r148423: <http://trac.webkit.org/changeset/148423>
WebKit Commit Bot
Comment 8 2013-04-15 02:17:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.