Jump to content
Server Maintenance This Week. ×

Strange Web Viewer bug with WebDirect, Chrome, Data URLs and background colours


jaboda

This topic is 1877 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

This is a peculiar bug which seems to have appeared with a recent Chrome update.

Create a Web Viewer control with the following content:

"data:text/html,<html><body bgcolor=\"#EEEEEE\">HELLO</body></html>"

Then view the layout in WebDirect in Chrome. You'll notice it doesn't display anything. Remove the bgcolor and it works as expected. It also works in FileMaker.

There are numerous workarounds but I can't find out how to fix it.

 

Anyone else experienced this?

Link to comment
Share on other sites

I should've mentioned I'd also tried using CSS (as you suggested) and it didn't work. Just tested again to make sure and it's the same.

11 hours ago, comment said:

I am not in a position to test this, but you might try making your code HTML5 compliant:


<html><body style='background-color: #EEEEEE';>HELLO</body></html>

 

 

Link to comment
Share on other sites

This topic is 1877 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.