Bug 44415

Summary: [Qt] Please expose CSS stylesheets to the API
Product: WebKit Reporter: Bernhard Rosenkraenzer <bero>
Component: WebKit QtAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Enhancement CC: benjamin, cmarcelo, eostroukhov
Priority: P4 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Bernhard Rosenkraenzer
Reported 2010-08-23 04:45:16 PDT
There are several use cases where it would be useful to see and manipulate CSS stylesheets directly from a QWebFrame or the likes (e.g. building an HTML editor, or adjusting an attribute on a CSS class based on an action that occurred in C++ code. Right now, the only way to achieve this seems to be through QWebFrame::evaluateJavaScript - it would be nice to have more direct access to the CSS bits.
Attachments
Benjamin Poulain
Comment 1 2011-01-14 07:22:39 PST
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs You can access style of elements via QWebElement. CSS is not directly accessible. What kind of API would you suggest for this?
Jocelyn Turcotte
Comment 2 2014-02-03 03:16:41 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at https://bugreports.qt-project.org and add a link to this issue. See http://qt-project.org/wiki/ReportingBugsInQt for additional guidelines.
Note You need to log in before you can comment on or make changes to this bug.