Bug 150574
| Summary: | Weird rendering behavior with base_uri | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jan <EvilTwin1> |
| Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, EvilTwin1, mcatanzaro |
| Priority: | P2 | ||
| Version: | Other | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Jan
I display a html-string in a webview. Usually the text is rendered first and then all the images are loaded afterwards.
However, if I specify a base_uri and save all the images locally (and modify the html code accordingly), the rendering is done in a different order.
First the images are rendered together with what looks like all the underlines of the links. Then after a few moments the text is rendered.
This behavior looks kinda broken.
Here are a few pictures of articles I loaded into the webview. 1st and 3rd picture is the state right after loading. 2nd and 4th picture is the fully rendered articles after a few moments.
http://imgur.com/a/DQEFH#0
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Jan
Turns out there were some relative paths to fonts in the CSS (not written by me) that caused the behavior.
Big thx to KaL from #webkitgtk+