JDK-8165516 : Fast/inline/out-of-flow-objects... test is failing
Type:Bug
Component:javafx
Sub-Component:web
Affected Version:8u112,9
Priority:P3
Status:Closed
Resolution:Duplicate
Submitted:2016-09-06
Updated:2017-08-07
Resolved:2017-08-07
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.
This test was introduced during 8u112 Webkit merge, and not present in older DRT workspace.
Test fails with 8u112 and 9.
RULE "fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline.html" any any
Comments
Not reproducible after JDK-8183292.
07-08-2017
As regression labeled and introduced in 8u or 9 -- targeted to 10
17-02-2017
Corner case. UR SQE OK to defer it from PSU16_04
12-09-2016
Approved by component triage team to defer
09-09-2016
Failure seen for 'span' element + line height less than 23. There won't be empty line .
i.e font: 12px/1, nameof-font; line height will be 23 pixel instead of 12 px.
Testing with <p> tag behaves as expected.
--------------
body > p {
display: inline-block;
font: 12px/1 Ahem;
}
<p id="id2" class="container-absolute" data-expected-height="12px">webkit.org/p/114311: The text should be inside the input controls. </p>
-------
id2 actual : 12 , expected 12.
09-09-2016
It's interesting how in the real life looks a paragraph set in regular 12 points font with a picture inside and a well, an empty inline.
SQE: JDK 9: OK to defer.
09-09-2016
Side effect of this defect is very minimal, Fails only if the computed 'line-height' is less than 23. for any higher value will not have this problem. Requesting for deferal.
Root cause : CSS style 'line-height' specified in 'font'
i.e "font: 20px/1 Ahem;"
Font should have 20 pixel (Works)
1 line-height (Ratio : 100 % of 20 pixel)
Ahem : Font name
Expected output should be 20 Pixel were as actual is 23 pixel. Its failing only for this ratio.
Any value other than 23 px of 'line-height' works as expected.
e.g
font : 20px/1, Ahem -- actual: 23 & expected 20 (Fails only if the line-height is less than 23)
font : 20px/1.2, Ahem -- actual : 24 & expected 24
font : 20px/1.5, Ahem -- actual: 30 & expected 30
font : 20px/2, Ahem -- actual: 40 & expected 40
09-09-2016
8u102 : Renders without any Failure.
8u112 : Test fails
position: absolute; for <span> and <label> rendering differs.