Summary: | [Qt] Implement textZoomIn() and textZoomOut() in DRT's EventSender and add results for passing new tests | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andras Becsi <abecsi> | ||||
Component: | New Bugs | Assignee: | Andras Becsi <abecsi> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | hausmann, kenneth, ossy, tonikitoo, vestbo | ||||
Priority: | P3 | Keywords: | Qt | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | PC | ||||||
OS: | Linux | ||||||
Attachments: |
|
Description
Andras Becsi
2010-02-19 08:43:34 PST
Created attachment 49082 [details]
proposed patch
LGTM Comment on attachment 49082 [details] proposed patch Looks good, but some comments > + [Qt] Implement textZoomIn() and textZoomOut() in DRT's EventSender, add results > + for passing new tests and unskip the passing ones from the Skiplist. It is called Skipped, not Skiplist > + QWebFrame* frame = m_page->mainFrame(); > + if (frame) > + frame->setTextSizeMultiplier(frame->textSizeMultiplier() * ZOOM_STEP); > +} Why not do if (QWebFrame* frame = m_page->mainFrame()) frame->setTextSizeMultiplier(frame->textSizeMultiplier() * ZOOM_STEP); ? Comment on attachment 49082 [details] proposed patch Updated patch committed in r55019. Closing bug. |