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

Prasanta Sadhukhan prasanta.sadhukhan at oracle.com
Mon Feb 25 08:01:02 UTC 2019


Hi Sergey,

Any more comments on this?

Regards
Prasanta
On 21-Feb-19 11:22 PM, 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
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>



More information about the swing-dev mailing list