Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Commented Unassigned: Anchors with style display: block don't work [9033]

$
0
0
Hello,

I replaced a component that previously inherited from the `WebBrowser` control and irritated me in various ways with a `HtmlPanel`. After making a couple of minor changes so that it would compile, I fired it up and it worked pretty nicely. There's some rendering issues where the underline of hyperlinks are sometimes offset by a pixel or two (unrelated to this particular issue as I've seen it in another project I was trialling the control in), plus some unexpected truncation of the top of some images, but otherwise it looks fine.

However, what isn't working are the hyperlinks themselves. Some of them work, some of them don't. By don't, I mean they render as hyperlinks, but when one moves the mouse over then, no cursor updates occur, and clicking them doesn't raise any events.

I found that the ones that didn't work are those which have a CSS attribute of `display: block`. Which I think is a perfectly valid attribute to use. As soon as I remove that attribute they work fine however.

I haven't gone digging into the code yet (I use pre-built binaries as my code formatting is somewhat different to yours and I don't want a cleanup action to reformat all your code :)) so I wanted to raise it here first in case it was something you were already aware of (or had deliberately done) before I either "fix" it or revert back to the awful `WebBrowser`.

Regards;
Richard Moss
Comments: A bug indeed, fixed it, will be available in next minor release (in a few days) no need to use WebBrowser :) any bug you find please provide a simple html sample that I can reproduce it with, 95% of layout/rendering bugs is easy to fix with a proper repro. as you see I'm very responsive to issues :)

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>