<Swing Dev> [13] RFR JDK-8213781:web page background renders blue in JEditorPane

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Feb 26 01:21:24 UTC 2019


Looks fine.

On 21/02/2019 09:52, Prasanta Sadhukhan wrote:
> Thanks Sergey for the pointer. I have modified the test not to use google.com.
> 
> http://cr.openjdk.java.net/~psadhukhan/8213781/webrev.2/
> 
> Regards
> Prasanta
> On 21-Feb-19 10:53 PM, Sergey Bylokhov wrote:
>> It can be done using CSS style for the body tag, like this:
>>
>> <!DOCTYPE html>
>> <html lang="en">
>> <style>
>> body {
>>     background: #0FF;
>> }
>> </style>
>> <head>
>>   <meta charset="UTF-8">
>>   <title>Title</title>
>> </head>
>> <body>
>>
>> </body>
>> </html>
>>
>> On 21/02/2019 09:14, Prasanta Sadhukhan wrote:
>>>
>>>
>>> On 21-Feb-19 10:39 PM, Sergey Bylokhov wrote:
>>>> Why is is impossible to create such page by the test?
>>>>
>>> I am not sure how to create such page with #fff as its bg-color setting. If you are aware, please give a pointer.
>>>
>>> Regards
>>> Prasanta
>>>> On 21/02/2019 09:03, Prasanta Sadhukhan wrote:
>>>>>> You should not set a proxy and access the google.com. The test should run w/o dependency on the external resource.
>>>>> But the bug manifest itself only for some webpage and I only know of google.com as mentioned in bug report, so I have to access google.com. I will  try to send proxyHost,proxyPort via jtreg if that is fine with you.
>>>>>
>>>>> Regards
>>>>> Prasanta
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list