JDK-8157145 : DRT crash at fast/css-generated-content/initial-letter-basic.html
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
DRT intermittent crash for fast/css-generated-content/initial-letter-basic.html
WebView crash (On Windows) while loading fast/css-generated-content/initial-letter-basic.html
date: Wed May 25 13:37:00 2016 +0530
summary: 8157145: DRT crash at fast/css-generated-content/initial-letter-basic.html
webrev : http://cr.openjdk.java.net/~ghb/8157145/webrev.00/
Root cause :
1. Missing implementation of setCapHeight
2. Due to FontMetrics::m_capHeight wasn't initialized to default value in its constructor and it was expected to be set from platform specific implementation from "Font::platformInit()". FontCascade::floatWidthForSimpleText was returning infinite value "1.#INF00"
Solution : r173217 "Letters size to a specified number of paragraph lines, and align to the cap-height of the first line and the baseline of the last line.". Added the setCapHeight from PrismContext (WCFont). GTK has implemented in http://trac.webkit.org/changeset/174002. (By setting the cap height)
Test : executed the DRT (fast/css-generated-content/initial-letter-basic.html) for ~10 times (windows x64) and same content from in HelloWebView 10 times didn't see any crash.
I ran the specific test case on Mac and wasn't able to reproduce the crash. I can reproduce it intermittently on Windows x64.