2013-12-08 09:13:01 |
swizzle |
description |
The web preview is nothing else than a web kit preview. It could be smarter.
I think the best way would be to be able to preview the html file in different web browsers.
Usually a web developer needs to preview its web page in Firefox (Gecko), Chrome;Opera (Blink), Internet Explorer (Trident).
For Webkit testing the integrated window could be used.
So there should be a possibility to preview the webpage in Scratch itself (Webkit testing) or in one or multiple third party browsers.
Apropos the multiple browsers the proposed list could be fetched from the system. I don't know if it is possible to show installed web browsers in a list view. If not maybe a list with the major web browsers for Linux (Opera, Google Chrome, Chromium, Firefox) i think that would be enough. |
The web preview is nothing else than a webKit preview. It could be smarter.
I think the best way would be to preview the html file in different web browsers.
Usually a web developer needs to preview its web page in Firefox (Gecko), Chrome;Opera (Blink), Internet Explorer (Trident).
The integrated Webkit window should be used by default.
For previewing the web page in other browsers Scratch could do it like PhpStorm. Hovering the cursor (in the html document) at the top on the right would make a floating window appear.
http://www.readactor.com/wp-content/uploads/2011/02/phpstorm-ide-screenshot.png
This window should contain Chrome, Opera and Firefox. Clicking on one
browser icon would preview the actual html page you're working on.
Apropos the multiple browsers the proposed browser list could be fetched from the system. I don't know if it's possible to show only installed web browsers in the "floating window". If not maybe a list with the major web browsers for Linux (Opera, Google Chrome/Chromium, Firefox). |
|