Styling issue when error page is displayed inside an iframe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Confirmed
|
Undecided
|
gue5t gue5t |
Bug Description
If the page is shown while starting midori the css is missing.
And there are other issues too:
gue5t gue5t (gue5t) wrote on 2013-08-09: #
Interesting indeed. I also notice that the page scrolls to the iframe when it loads: this is noticeable if you use a test page that looks like this:
<style>p{height: 100%}</style>
<p></p>
<iframe src="http://
I'll try to figure out and fix these issues.
Reply
gue5t gue5t (gue5t) wrote on 2013-08-09: #
The page scrolls to the iframe because our error template has the "autofocus" attribute on its button. We'll have to change that to something interpolated into the template only for main-frame error pages.
Reply
gue5t gue5t (gue5t) wrote on 2013-08-09: #
The CSS is missing because midori_
/* Only apply custom URIs to special pages for security purposes */
if (!midori_
return;
This checks if the entire tab is an error page, and since it isn't, doesn't allow the frame which needs an error page to load res://about.css. :(
I'll see what can be done.
Changed in midori: | |
status: | New → Confirmed |
milestone: | none → 0.5.6 |
Changed in midori: | |
assignee: | nobody → gue5t gue5t (gue5t) |
tags: | added: error-page |
Changed in midori: | |
milestone: | 0.5.6 → 0.5.7 |
Changed in midori: | |
milestone: | 0.5.7 → garage |