Summary: | incorrect font size when css font shorthand property is set to 'initial' | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Andrea Iacovitti <aiacovitti> |
Component: | khtml | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.13.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdelibs/5833f849c2d262463bf9f6b25d6282a50b9cbe37 | Version Fixed In: | 4.13.3 |
Sentry Crash Report: | |||
Attachments: | testcase |
Git commit 5833f849c2d262463bf9f6b25d6282a50b9cbe37 by Andrea Iacovitti. Committed on 01/07/2014 at 17:32. Pushed by aiacovitti into branch 'KDE/4.13'. Set initial font size as FontDef() constructor initialize it to 0. (I think a more correct fix here would be to explicitly set to 'initial' each shorthand subproperty at parsing time and let the selector applies them individually) FIXED-IN: 4.13.3 M +2 -2 khtml/css/cssstyleselector.cpp http://commits.kde.org/kdelibs/5833f849c2d262463bf9f6b25d6282a50b9cbe37 |
Created attachment 87503 [details] testcase Incorrect font size when css font shorthand property is set to 'initial'