Changeset 824 for trunk/src/org/expeditee/io/WebParser.java
- Timestamp:
- 02/04/14 16:20:02 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/io/WebParser.java
r816 r824 48 48 import org.expeditee.items.Picture; 49 49 import org.expeditee.items.Text; 50 import org.expeditee.items.widgets.JfxBrowser; 50 51 import org.w3c.dom.Node; 51 52 import org.w3c.dom.html.HTMLBodyElement; … … 281 282 * The Expeditee frame to output the converted page to 282 283 */ 283 public static void parsePageSimple( final WebEngine webEngine, final WebView webView, final Frame frame) {284 public static void parsePageSimple(JfxBrowser browserWidget, final WebEngine webEngine, final WebView webView, final Frame frame) { 284 285 try { 286 browserWidget.setOverlayVisible(true); 287 285 288 final Object notifier = new Object(); 286 289 … … 633 636 } 634 637 635 638 browserWidget.setOverlayVisible(false); 636 639 637 640 } … … 1179 1182 bounds = (JSObject) ((JSObject) currentNode.getParentNode()).call("getBoundingClientRect", new Object[] {}); 1180 1183 1181 // TODO: This doesn't check if an element or any of its parent elements have position:fixed set - the only way to check seems to be to walking through the element's parents until the document root is reached (or a recursive function) 1184 // TODO: This doesn't check if an element or any of its parent elements have position:fixed set - the only way to check seems to 1185 // be to walking through the element's parents until the document root is reached (or a recursive function) 1182 1186 float x = Float.valueOf(bounds.getMember("left").toString()); 1183 1187 float y = Float.valueOf(bounds.getMember("top").toString());
Note:
See TracChangeset
for help on using the changeset viewer.