Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 11, 15, 17
-
Fix Version/s: 17
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Introduced In Build:b06
-
Introduced In Version:
-
Resolved In Build:b10
Description
After the JDK-8257664 fix, the font size inherited from body is different from the font size from inline style declaration.
The bug is only reproducible when JEditorPane.W3C_LENGTH_UNITS is in effect and when the CSS properties are added to StyleSheet from HTMLEditorKit.
If the font-size property is declared in <style> element of the HTML or in style attribute of <body> element, it works as expected.
The bug is only reproducible when JEditorPane.W3C_LENGTH_UNITS is in effect and when the CSS properties are added to StyleSheet from HTMLEditorKit.
If the font-size property is declared in <style> element of the HTML or in style attribute of <body> element, it works as expected.
Attachments
Issue Links
- relates to
-
JDK-8231286 HTML font size too large with high-DPI scaling and W3C_LENGTH_UNITS
-
- Resolved
-
-
JDK-8257664 HTMLEditorKit: Wrong CSS relative font sizes
-
- Resolved
-