Comments (12)
Not that I also use svg {height: 100%;}
in my css.
from decktape.
In fact viewBox
is used but it seems that width
and height
attributes of the SVG file are used in priority over the viewBox
because when I remove the SVG attributes width
and height
then the SVG is correctly rendered as in browser.
Any idea to make it a permanent fix ? Should I open an issue for phantomjs ?
from decktape.
A suggested in #4, that may be better to directly report this point in Qt issue tracker directly:
https://bugreports.qt.io/browse/QTBUG
from decktape.
Removing width
and height
attributes does not work well. Qt Webkit needs to be fixed. I filled an issue there : https://bugreports.qt.io/browse/QTBUG-46986
from decktape.
@astefanutti I'd like to test it with Qt 5.5. Is the best way replace phantomjs/src/qt
source code with Qt 5.5 ? Nothing more to do ?
from decktape.
Sounds like a good idea. You can replace the phantomjs/src/qt
. An other approach would be to apply the diff between 5.4.1
and 5.5.0
.
There may be some PhantomJS build resources to update like:
ariya/phantomjs@68ca7c3#diff-d6d9dd3e06474412f0bb613c0b88248bR2
Let me know how it goes.
from decktape.
Well since Qt example browser give the same result as with phantomjs/decktape I won't bother switch phantomjs to 5.5
. Instead I will build qt 5.5
from source with browser example and do the test from the browser example.
from decktape.
Great idea, that'd be much easier.
from decktape.
I confirm the bug is still present in 5.5.1
, tested with examples/webkitwidgets/browser
.
from decktape.
OK, thanks for head up.
from decktape.
The issue does not appear using QtWebEngine (tested with examples/webengine/quicknanobrowser/quicknanobrowser
). And after reading some posts about QtWebKit/QtWebEngine, I saw that QtWebKit is not supported anymore... So I guess the best is to wait PhantomJS to move to QtWebEngine as they said there : ariya/phantomjs#12931
from decktape.
I close since it depends on QtWebkit.
from decktape.
Related Issues (20)
- Audit warnings when installing decktape
- Add some e2e tests HOT 1
- Would you be open to financial contributions? HOT 2
- Reveal remove transition HOT 1
- Table layouts are not preserved, text boxes get combined in odd ways HOT 6
- Dependencies are not hoisted HOT 3
- Docker image error HOT 8
- Crashes with "Unable to write GSUB: script latn has no default language system" HOT 3
- Add a 2D navigation support to generic plugin
- puppeteer_dev_chrome_profile-x HOT 2
- Emojis are missing from bold text and headings in PDF HOT 1
- Images not shown in PDF output (but are correct in PNG and browser) HOT 1
- How I was able to do a multi-architecture container image build (to support ARM ... M1 macbooks) HOT 2
- Remark custom styles not applied on PDF HOT 2
- Unable to transform reveal slides usign reveal.js-menu with docker HOT 2
- Updating to decktape 3.11 caused panic HOT 3
- Converting a jupyterlab_rise presentation
- homebrew package
- Text overlaps with border on Mermaid.js diagrams in a Reveal.js presentation HOT 1
- DeckTape Container Font Bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decktape.