[Rev 02] RFR: 8208169: can not print selected pages of web page

Arun Joseph ajoseph at openjdk.java.net
Mon Jun 15 04:52:51 UTC 2020


On Sun, 14 Jun 2020 19:13:41 GMT, Bhawesh Choudhary <github.com+4208131+bhaweshkc at openjdk.org> wrote:

>> Print function of WebEngine.java ignores page range setting and prints given number of pages starting from first page,
>> which is the root cause of this issue. To fix it, put check for page ranges and if it available, use it for printing
>> pages otherwise print all pages as usual.
>
> Bhawesh Choudhary has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Replaced webpage with locally generated html content in test

tests/manual/printing/PrintPageRangeTest.java line 80:

> 79:
> 80:     static final String initialURL = "https://en.wikipedia.org/wiki/Java_version_history";
> 81:

initialURL is no longer required

-------------

PR: https://git.openjdk.java.net/jfx/pull/222


More information about the openjfx-dev mailing list