WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
33657
[Qt] Printing a page with a div tag that has a specific width/height set does not respect the settings
https://bugs.webkit.org/show_bug.cgi?id=33657
Summary
[Qt] Printing a page with a div tag that has a specific width/height set does...
qt-info
Reported
2010-01-14 01:16:31 PST
The following minimal HTML when viewed and then printed from the demo browser shows that the area is not in fact 100mm wide or high as indicated. It is in fact 80mmx80mm instead. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd
"> <html> <head> </head> <body> <div style="width:100mm;height:100mm;background-color:yellow;border-color:black;border-style:solid"> </div> </body> </html>
Attachments
Inline test case saved and attached
(244 bytes, text/html)
2010-03-16 11:09 PDT
,
Jocelyn Turcotte
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tor Arne Vestbø
Comment 1
2010-03-10 06:38:56 PST
Please follow the QtWebKit bug reporting guidelines when reporting bugs. See
http://trac.webkit.org/wiki/QtWebKitBugs
Specifically: - The 'QtWebKit' component should only be used for bugs/features in the public QtWebKit API layer, not to signify that the bug is specific to the Qt port of WebKit
http://trac.webkit.org/wiki/QtWebKitBugs#Component
- Add the keyword 'Qt' to signal that it's a Qt-related bug
http://trac.webkit.org/wiki/QtWebKitBugs#Keywords
Jocelyn Turcotte
Comment 2
2010-03-16 11:07:55 PDT
Reproduced on Windows with Qt 4.6 + QtWebKit
r56049
. Looked at the print preview which should show the square about half the width of the page but it's about 2/3 of that. The firefox print preview shows the square the expected size.
Jocelyn Turcotte
Comment 3
2010-03-16 11:09:06 PDT
Created
attachment 50809
[details]
Inline test case saved and attached
Jocelyn Turcotte
Comment 4
2010-04-26 03:57:53 PDT
***
Bug 35668
has been marked as a duplicate of this bug. ***
Rion
Comment 5
2012-10-24 00:51:31 PDT
probably this bug should be renamed to "Qt webkit does not respect DPI settings while printing" and probably its somehow related to
Bug 18001
Jocelyn Turcotte
Comment 6
2014-02-03 03:16:06 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.
Top of Page
Format For Printing
XML
Clone This Bug