Bug 44415 - [Qt] Please expose CSS stylesheets to the API
Summary: [Qt] Please expose CSS stylesheets to the API
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P4 Enhancement
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2010-08-23 04:45 PDT by Bernhard Rosenkraenzer
Modified: 2014-02-03 03:16 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Rosenkraenzer 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.
Comment 1 Benjamin Poulain 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?
Comment 2 Jocelyn Turcotte 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.