Bug 44415
Summary: | [Qt] Please expose CSS stylesheets to the API | ||
---|---|---|---|
Product: | WebKit | Reporter: | Bernhard Rosenkraenzer <bero> |
Component: | WebKit Qt | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
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
=== 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.