[Webkit-unassigned] [Bug 43187] New: [Qt] -webkit-text-fill-color / text-shadow problems

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 29 05:28:01 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43187

           Summary: [Qt] -webkit-text-fill-color / text-shadow problems
           Product: WebKit
           Version: 420+
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: j at corwin.co.uk


I'm not sure if I should be reporting this here, or in a PyQt bugtracker, or somewhere else. So apologies if I've picked the wrong one to try first.

I'm using PyQt 4.7.4 and working with a QWebView. I'm having a problem displaying the second example on this page:
http://webkit.org/blog/85/introducing-text-stroke/

Although I'm specifying a -webkit-text-fill-color and a text-shadow, neither are appearing. All I'm seeing is the webkit-text-stroke part of the rendering (i.e. thick red letters) with no shadow. I've tried replacing the transparent with yellow, just in case this was the cause, but with no joy.

Here is the python code

import sys
from PyQt4 import QtGui, QtWebKit

app = QtGui.QApplication(sys.argv)
main = QtGui.QMainWindow()
web = QtWebKit.QWebView(main)
main.setCentralWidget(web)
web.setHtml("<html><body><div style='font-size:64px; " \
    "text-shadow: 5px 5px 5px black; " \
    "-webkit-text-fill-color: yellow; " \
    "-webkit-text-stroke:3px red'>" \
    "Test</div></body></html>")
main.show()
sys.exit(app.exec_())

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list